]>
Commit | Line | Data |
---|---|---|
7da20c0f | 1 | Summary: Create graphs of branches and revisions for files in a CVS repository |
3818043c | 2 | Summary(pl.UTF-8): Tworzenie grafów rozgałęzień i rewizji dla plików w repozytorium CVS |
7da20c0f | 3 | Name: cvsgraph |
6886c971 | 4 | Version: 1.7.0 |
8c7c3283 | 5 | Release: 3 |
7da20c0f AM |
6 | License: GPL |
7 | Group: Applications/Publishing | |
8 | Source0: http://www.akhphd.au.dk/~bertho/cvsgraph/release/%{name}-%{version}.tar.gz | |
6886c971 | 9 | # Source0-md5: 8194c0c6f6837fcfa3ad0fab5dfc0597 |
f4ca55c6 | 10 | Patch0: %{name}-config.patch |
7da20c0f | 11 | URL: http://www.akhphd.au.dk/~bertho/cvsgraph/ |
bae1df07 | 12 | BuildRequires: autoconf |
7da20c0f | 13 | BuildRequires: bison |
304befe5 | 14 | BuildRequires: flex |
94a78150 JB |
15 | BuildRequires: gd-devel >= 2.0.28 |
16 | Requires: gd >= 2.0.28 | |
a47f39d7 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7da20c0f | 18 | |
94a78150 JB |
19 | %define _sysconfdir /etc/%{name} |
20 | ||
7da20c0f AM |
21 | %description |
22 | CvsGraph is a utility to make a graphical representation of all | |
23 | revisions and branches of a file in a CVS/RCS repository. It has been | |
24 | inspired by the 'graph' option in WinCVS, but I could not find a | |
25 | stand-alone version of this graph code. So, it was time to write one. | |
26 | ||
b2f23a1c JR |
27 | %description -l pl.UTF-8 |
28 | CvsGraph to narzędzie do tworzenia graficznej reprezentacji wszystkich | |
29 | rewizji i rozgałęzień pliku w repozytorium CVS/RCS. Jest zainspirowane | |
30 | opcją 'graph' w programie WinCVS - ponieważ autor nie mógł znaleźć | |
31 | samodzielnej wersji tego kodu, uznał, że czas taką napisać. | |
304befe5 | 32 | |
7da20c0f AM |
33 | %prep |
34 | %setup -q | |
f4ca55c6 | 35 | %patch0 -p1 |
7da20c0f AM |
36 | |
37 | %build | |
6886c971 | 38 | %{__aclocal} |
f4ca55c6 | 39 | %{__autoconf} |
8c7c3283 | 40 | %{__automake} |
94a78150 JB |
41 | %configure |
42 | ||
7da20c0f AM |
43 | %{__make} |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
94a78150 | 47 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5},%{_sysconfdir}} |
7da20c0f | 48 | |
94a78150 JB |
49 | install %{name} $RPM_BUILD_ROOT%{_bindir} |
50 | install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir} | |
7da20c0f AM |
51 | install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
52 | install %{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5 | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
552745c7 | 59 | %doc ChangeLog README contrib/ |
7da20c0f AM |
60 | %attr(755,root,root) %{_bindir}/%{name} |
61 | %{_mandir}/man?/* | |
94a78150 | 62 | %dir %{_sysconfdir} |
cbe7647e | 63 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf |