]>
Commit | Line | Data |
---|---|---|
7da20c0f | 1 | Summary: Create graphs of branches and revisions for files in a CVS repository |
b2f23a1c | 2 | Summary(pl.UTF-8): Tworzenie grafów rozgałęzień i rewizji dla plików w repozytorium CVS |
7da20c0f | 3 | Name: cvsgraph |
9c34062c | 4 | Version: 1.6.1 |
7da20c0f AM |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications/Publishing | |
8 | Source0: http://www.akhphd.au.dk/~bertho/cvsgraph/release/%{name}-%{version}.tar.gz | |
9c34062c | 9 | # Source0-md5: 2f3da8e85de67d0690b120b33304f966 |
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 | |
f4ca55c6 | 38 | %{__autoconf} |
94a78150 JB |
39 | %configure |
40 | ||
7da20c0f AM |
41 | %{__make} |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
94a78150 | 45 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5},%{_sysconfdir}} |
7da20c0f | 46 | |
94a78150 JB |
47 | install %{name} $RPM_BUILD_ROOT%{_bindir} |
48 | install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir} | |
7da20c0f AM |
49 | install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
50 | install %{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5 | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
552745c7 | 57 | %doc ChangeLog README contrib/ |
7da20c0f AM |
58 | %attr(755,root,root) %{_bindir}/%{name} |
59 | %{_mandir}/man?/* | |
94a78150 | 60 | %dir %{_sysconfdir} |
cbe7647e | 61 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf |