Name: rcs Version: 5.10.0 Release: 1mamba Summary: The GNU Revision Control System (RCS) file version management tools Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Automatic Build System URL: http://www.gnu.org/software/rcs/ Source: ftp://ftp.gnu.org/gnu/rcs/rcs-%{version}.tar.xz Patch0: rcs-5.7-build-tweaks.patch Patch1: rcs-5.7-security.patch Patch2: rcs-5.7-sameuserlocks.patch Patch3: rcs-5.7-option.patch Patch4: rcs-5.7-newsvnsyntax.patch Patch5: rcs-5.7-DESTDIR.patch License: GPL BuildRequires: autoconf BuildRequires: ed BuildRequires: groff BuildRequires: ghostscript # TODO BuildRequires: sendmail Requires: diffutils Requires(post):%{__install_info} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The Revision Control System (RCS) manages multiple revisions of files. RCS automates the storing, retrieval, logging, identification, and merging of revisions. RCS is useful for text that is revised frequently, including source code, programs, documentation, graphics, papers, and form letters. %prep %setup -q #%patch0 -p1 #%patch1 -p1 #%patch2 -p1 #%patch3 -p1 #%patch4 -p1 #%patch5 -p1 #autoconf # https://lists.gnu.org/archive/html/grub-devel/2012-07/msg00051.html sed -i -e '/gets is a security/d' lib/stdio.in.h %build %configure \ --with-diffutils %make for f in rcs rcs_func ; do groff -p -Tps -ms $f.ms | ps2pdf - $f.pdf done %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall #% check ##sed -i -e 's|"%{_bindir}/co"|"co"|' src/conf.h #%make -C src #PATH="`pwd`/src:${PATH}" make installdebug ##sed -i -e 's|"co"|"%{_bindir}/co"|' src/conf.h %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post %install_info %{name} exit 0 %preun %uninstall_info %{name} exit 0 %files %defattr(-,root,root) %{_bindir}/ci %{_bindir}/co %{_bindir}/ident %{_bindir}/merge %{_bindir}/rcs %{_bindir}/rcsclean %{_bindir}/rcsdiff #%{_bindir}/rcsfreeze %{_bindir}/rcsmerge %{_bindir}/rlog %{_infodir}/rcs.info* %{_mandir}/man1/*.1.gz %{_mandir}/man5/*.5.gz %doc COPYING # CREDITS #%doc ChangeLog NEWS #%doc README REFS rcs_func.pdf rcs.pdf %changelog * Sat Oct 24 2020 Automatic Build System 5.10.0-1mamba - automatic version update by autodist * Fri Jan 23 2015 Automatic Build System 5.9.4-1mamba - automatic version update by autodist * Thu Sep 18 2014 Automatic Build System 5.9.3-1mamba - automatic version update by autodist * Sat Nov 30 2013 Automatic Build System 5.9.2-1mamba - automatic version update by autodist * Fri Oct 04 2013 Automatic Build System 5.9.1-1mamba - automatic update by autodist * Mon Jun 10 2013 Automatic Build System 5.9.0-1mamba - update to 5.9.0 * Fri Apr 05 2013 Automatic Build System 5.8.2-1mamba - automatic version update by autodist * Sat Jan 26 2013 Automatic Build System 5.8.1-1mamba - automatic version update by autodist * Mon Apr 23 2012 Automatic Build System 5.8-1mamba - automatic version update by autodist * Thu Feb 24 2011 Silvan Calarco 5.7-2mamba - rebuilt in devel * Tue Oct 05 2010 gil 5.7-1mamba - package created by autospec