]> git.pld-linux.org Git - packages/cvsgraph.git/blob - cvsgraph.spec
- initial pld release
[packages/cvsgraph.git] / cvsgraph.spec
1 Summary:        Create graphs of branches and revisions for files in a CVS repository
2 Name:           cvsgraph
3 Version:        1.3.0
4 Release:        1
5 License:        GPL
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/
9 BuildRequires:  flex
10 BuildRequires:  bison
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)
17
18 %description
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.
23
24 %prep
25 %setup -q
26
27 %build
28 %configure2_13 \
29         --sysconfdir=%{_sysconfdir}/%{name}
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d -m 755 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5},%{_sysconfdir}/%{name}}
35
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
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc ChangeLog README cvsgraphwrapper.php3 mkimage.php3
47 %attr(755,root,root) %{_bindir}/%{name}
48 %{_mandir}/man?/*
49 %dir %{_sysconfdir}/%{name}
50 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/%{name}/%{name}.conf
This page took 0.043306 seconds and 3 git commands to generate.