]> git.pld-linux.org Git - packages/cvsgraph.git/blobdiff - cvsgraph.spec
- up to 1.6.0
[packages/cvsgraph.git] / cvsgraph.spec
index d872ec534d70cf44153aad82c37d124f66ee2e7e..a70175490e189e3ba39cf17b39588c0cef88933c 100644 (file)
@@ -1,16 +1,22 @@
 Summary:       Create graphs of branches and revisions for files in a CVS repository
 Summary(pl):   Tworzenie grafów rozga³êzieñ i rewizji dla plików w repozytorium CVS
 Name:          cvsgraph
-Version:       1.3.0
+Version:       1.6.0
 Release:       1
 License:       GPL
 Group:         Applications/Publishing
 Source0:       http://www.akhphd.au.dk/~bertho/cvsgraph/release/%{name}-%{version}.tar.gz
+# Source0-md5: d8919dc9617ab4cf8bf658b7fbd1df0e
+Patch0:                %{name}-config.patch
 URL:           http://www.akhphd.au.dk/~bertho/cvsgraph/
+BuildRequires: autoconf        
 BuildRequires: bison
 BuildRequires: flex
-BuildRequires: gd-devel
-BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: gd-devel >= 2.0.28
+Requires:      gd >= 2.0.28
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sysconfdir     /etc/%{name}
 
 %description
 CvsGraph is a utility to make a graphical representation of all
@@ -26,18 +32,20 @@ samodzielnej wersji tego kodu, uzna
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%configure2_13 \
-       --sysconfdir=%{_sysconfdir}/%{name}
+%{__autoconf}
+%configure
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d -m 755 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5},%{_sysconfdir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5},%{_sysconfdir}}
 
-install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
-install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}
 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
 install %{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
 
@@ -46,8 +54,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README cvsgraphwrapper.php3 mkimage.php3
+%doc ChangeLog README contrib/
 %attr(755,root,root) %{_bindir}/%{name}
 %{_mandir}/man?/*
-%dir %{_sysconfdir}/%{name}
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/%{name}/%{name}.conf
+%dir %{_sysconfdir}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
This page took 0.107977 seconds and 4 git commands to generate.