1 |
Name: rcs |
2 |
Summary: Revision Control System (RCS) file version management tools |
3 |
Version: 5.8 |
4 |
Release: %mkrel 1 |
5 |
License: GPLv3+ |
6 |
Group: Development/Other |
7 |
URL: http://www.gnu.org/software/rcs/rcs.html |
8 |
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz |
9 |
Patch0: %{name}-%{version}-fdr-include-man-page-for-rcsfreeze.patch |
10 |
Patch1: %{name}-%{version}-fdr-new-svns-syntax.patch |
11 |
Patch2: %{name}-%{version}-fdr-same-user-locks.patch |
12 |
|
13 |
BuildRequires: autoconf |
14 |
BuildRequires: groff |
15 |
|
16 |
Requires: diffutils |
17 |
|
18 |
%description |
19 |
The Revision Control System (RCS) is a system for managing multiple |
20 |
versions of files. RCS automates the storage, retrieval, logging, |
21 |
identification and merging of file revisions. RCS is useful for text |
22 |
files that are revised frequently (for example, programs, |
23 |
documentation, graphics, papers and form letters). |
24 |
|
25 |
The rcs package should be installed if you need a system for managing |
26 |
different versions of files. |
27 |
|
28 |
|
29 |
%prep |
30 |
%setup -q |
31 |
%patch0 -p1 -b .build-tweaks |
32 |
%patch1 -p1 -b .sameuserlocks |
33 |
%patch2 -p1 -b .newsvnsyntax |
34 |
|
35 |
%build |
36 |
autoconf |
37 |
%configure |
38 |
|
39 |
%make |
40 |
|
41 |
%install |
42 |
%makeinstall |
43 |
install -m 755 src/rcsfreeze %{buildroot}%{_bindir} |
44 |
|
45 |
rm -f %{buildroot}%{_infodir}/dir |
46 |
|
47 |
%check |
48 |
%make check |
49 |
|
50 |
%post |
51 |
%_install_info %{name}.info |
52 |
|
53 |
%postun |
54 |
%_remove_install_info %{name}.info |
55 |
|
56 |
%files |
57 |
%doc ChangeLog COPYING THANKS NEWS README |
58 |
%{_bindir}/* |
59 |
%{_infodir}/* |
60 |
%{_mandir}/man[15]/* |