rcs/rcs.spec

129 lines
3.4 KiB
RPMSpec
Raw Normal View History

Name: rcs
Version: 5.10.1
Release: 1mamba
Summary: The GNU Revision Control System (RCS) file version management tools
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/rcs/
Source: https://ftp.gnu.org/gnu/rcs/rcs-%{version}.tar.lz
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
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: autoconf
BuildRequires: ed
BuildRequires: groff
BuildRequires: ghostscript
# TODO BuildRequires: sendmail
Requires: diffutils
Requires(post):%{__install_info}
%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.
%debug_package
%prep
%setup -q
# 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}
:
%preun
%uninstall_info %{name}
:
%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*
%{_mandir}/man5/*.5*
%doc COPYING
# CREDITS
#%doc ChangeLog NEWS
#%doc README REFS rcs_func.pdf rcs.pdf
%changelog
* Sat May 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.1-1mamba
- update to 5.10.1
* Sat Oct 24 2020 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
- automatic version update by autodist
* Fri Jan 23 2015 Automatic Build System <autodist@mambasoft.it> 5.9.4-1mamba
- automatic version update by autodist
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 5.9.3-1mamba
- automatic version update by autodist
* Sat Nov 30 2013 Automatic Build System <autodist@mambasoft.it> 5.9.2-1mamba
- automatic version update by autodist
* Fri Oct 04 2013 Automatic Build System <autodist@mambasoft.it> 5.9.1-1mamba
- automatic update by autodist
* Mon Jun 10 2013 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- update to 5.9.0
* Fri Apr 05 2013 Automatic Build System <autodist@mambasoft.it> 5.8.2-1mamba
- automatic version update by autodist
* Sat Jan 26 2013 Automatic Build System <autodist@mambasoft.it> 5.8.1-1mamba
- automatic version update by autodist
* Mon Apr 23 2012 Automatic Build System <autodist@mambasoft.it> 5.8-1mamba
- automatic version update by autodist
* Thu Feb 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 5.7-2mamba
- rebuilt in devel
* Tue Oct 05 2010 gil <puntogil@libero.it> 5.7-1mamba
- package created by autospec