]>
Commit | Line | Data |
---|---|---|
1 | Summary: Create graphs of branches and revisions for files in a CVS repository | |
2 | Summary(pl.UTF-8): Tworzenie grafów rozgałęzień i rewizji dla plików w repozytorium CVS | |
3 | Name: cvsgraph | |
4 | Version: 1.7.0 | |
5 | Release: 3 | |
6 | License: GPL | |
7 | Group: Applications/Publishing | |
8 | Source0: http://www.akhphd.au.dk/~bertho/cvsgraph/release/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 8194c0c6f6837fcfa3ad0fab5dfc0597 | |
10 | Patch0: %{name}-config.patch | |
11 | URL: http://www.akhphd.au.dk/~bertho/cvsgraph/ | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: bison | |
14 | BuildRequires: flex | |
15 | BuildRequires: gd-devel >= 2.0.28 | |
16 | Requires: gd >= 2.0.28 | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %define _sysconfdir /etc/%{name} | |
20 | ||
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 | ||
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ć. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | %patch0 -p1 | |
36 | ||
37 | %build | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__automake} | |
41 | %configure | |
42 | ||
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5},%{_sysconfdir}} | |
48 | ||
49 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
50 | install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir} | |
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) | |
59 | %doc ChangeLog README contrib/ | |
60 | %attr(755,root,root) %{_bindir}/%{name} | |
61 | %{_mandir}/man?/* | |
62 | %dir %{_sysconfdir} | |
63 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf |