1 Summary: Create graphs of branches and revisions for files in a CVS repository
6 Group: Applications/Publishing
7 Source0: http://www.akhphd.au.dk/~bertho/cvsgraph/release/%{name}-%{version}.tar.gz
8 URL: http://www.akhphd.au.dk/~bertho/cvsgraph/
11 BuildRequires: gd-devel
12 BuildRequires: freetype-devel
13 BuildRequires: libjpeg-devel
14 BuildRequires: libpng-devel
15 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 CvsGraph is a utility to make a graphical representation of all
20 revisions and branches of a file in a CVS/RCS repository. It has been
21 inspired by the 'graph' option in WinCVS, but I could not find a
22 stand-alone version of this graph code. So, it was time to write one.
29 --sysconfdir=%{_sysconfdir}/%{name}
33 rm -rf $RPM_BUILD_ROOT
34 install -d -m 755 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5},%{_sysconfdir}/%{name}}
36 install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
37 install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
38 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
39 install %{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc ChangeLog README cvsgraphwrapper.php3 mkimage.php3
47 %attr(755,root,root) %{_bindir}/%{name}
49 %dir %{_sysconfdir}/%{name}
50 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/%{name}/%{name}.conf