Summary: Revision Control System (RCS) file version management tools Name: rcs Version: 5.8 Release: 1 License: GPLv3+ Group: Development/Tools URL: http://www.gnu.org/software/rcs/ Source0: ftp://ftp.gnu.org/gnu/rcs/%{name}-%{version}.tar.gz Source1: ftp://ftp.gnu.org/gnu/rcs/%{name}-%{version}.tar.gz.sig Patch0: %{name}-%{version}-build-tweaks.patch Patch1: %{name}-%{version}-sameuserlocks.patch Patch2: %{name}-%{version}-newsvnsyntax.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: autoconf BuildRequires: groff BuildRequires: ghostscript BuildRequires: patch BuildRequires: gcc >= 4.2.3-2 Requires: diffutils %description The Revision Control System (RCS) is a system for managing multiple versions of files. RCS automates the storage, retrieval, logging, identification and merging of file revisions. RCS is useful for text files that are revised frequently (for example, programs, documentation, graphics, papers and form letters). The rcs package should be installed if you need a system for managing different versions of files. %prep %setup -q export PATH=/opt/freeware/bin:$PATH %patch0 -p1 -b .build-tweaks %patch1 -p1 -b .sameuserlocks %patch2 -p1 -b .newsvnsyntax autoconf %build export CC="gcc -pthread" export CFLAGS="-DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include" export LDFLAGS="-L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000" export PATH=/opt/freeware/bin:$PATH ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --enable-threads=posix make %{?_smp_mflags} SOELIM=gsoelim PIC="gpic -n" %install export PATH=/opt/freeware/bin:$PATH [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} cp src/rcsfreeze ${RPM_BUILD_ROOT}%{_bindir} chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/* /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir gzip --best ${RPM_BUILD_ROOT}%{_infodir}/* cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc ChangeLog COPYING THANKS NEWS README %{_bindir}/* %{_mandir}/man?/* %{_infodir}/* /usr/bin/* %changelog * Mon Sep 12 2011 Michael Perzl - 5.8-1 - first version for AIX V5.1 and higher