/[CvsGraph]/cvsgraph/cvsgraph.spec
ViewVC logotype

Annotate of /cvsgraph/cvsgraph.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations)
Thu Aug 5 09:23:07 2004 UTC (13 years, 3 months ago) by bertho
Branch: MAIN
Changes since 1.6: +5 -3 lines
Up the version number now so I don't forget it like last time...
1 %define confdir %{_sysconfdir}/cvsgraph
2
3 Name: cvsgraph
4 Version: 1.4.2
5 Release: 1
6 Summary: Create graphs of branches and revisions for files in a CVS repository
7 License: GPL
8 URL: http://www.akhphd.au.dk/~bertho/cvsgraph/
9 Group: Applications/Publishing
10 Source0: http://www.akhphd.au.dk/~bertho/cvsgraph/%{name}-%{version}.tar.gz
11 BuildRoot: %{_tmppath}/%{name}-root
12 BuildRequires: gd freetype libjpeg libpng zlib
13 Requires: gd freetype libjpeg libpng zlib
14
15 %description
16 CvsGraph is a utility to make a graphical representation of all revisions
17 and branches of a file in a CVS/RCS repository. It has been inspired by
18 the 'graph' option in WinCVS, but I could not find a stand-alone version
19 of this graph code. So, it was time to write one.
20
21 %prep
22 [ "$RPM_BUILD_ROOT" != "/" ] && /bin/rm -rf $RPM_BUILD_ROOT
23
24 %setup
25
26 %build
27 ./configure --sysconfdir=%{confdir}
28 make
29
30 %install
31 install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
32 install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/{man1,man5}
33 install -d -m 755 $RPM_BUILD_ROOT%{confdir}
34 install -m 755 $RPM_BUILD_DIR/%{name}-%{version}/%{name} $RPM_BUILD_ROOT%{_bindir}
35 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.conf $RPM_BUILD_ROOT%{confdir}
36 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
37 install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/%{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
38
39 %clean
40 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(-,root,root)
44 %config(noreplace) %{confdir}/%{name}.conf
45 %dir %{confdir}
46 %{_bindir}/%{name}
47 %{_mandir}/man1/*
48 %{_mandir}/man5/*
49 %doc ChangeLog cvsgraphwrapper.php3 LICENSE mkimage.php3 README
50
51 %changelog
52 * Thu Aug 05 2004 Bertho Stultiens <cvsgraph@akhphd.au.dk>
53 - Up the version number for upcoming release
54 * Mon Jul 19 2004 Bertho Stultiens <cvsgraph@akhphd.au.dk>
55 - Update for version 1.4.1 and fix the version number
56 * Wed Mar 19 2003 Jason Corley <jason.corley@borland.com>
57 - Documentation and other aesthetic related fixes
58 * Mon Mar 17 2003 Bertho Stultiens <cvsgraph@akhphd.au.dk>
59 - Update for version 1.4.0
60 * Mon Feb 24 2003 Jason Corley <jason.corley@borland.com>
61 - Initial creation

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0