rcs/rcs.spec

76 lines
1.9 KiB
RPMSpec
Raw Normal View History

Summary: Revision Control System (RCS) file version management tools
Name: rcs
2023-10-27 14:14:25 +08:00
Version: 5.10.1
Release: 1
License: GPLv3+
URL: http://www.gnu.org/software/rcs/
2023-10-27 14:14:25 +08:00
Source: https://ftp.gnu.org/gnu/rcs/rcs-%{version}.tar.lz
Patch0: rcs-5.8-build-tweaks.patch
Provides: bundled(gnulib)
2023-10-27 14:14:25 +08:00
BuildRequires: gcc autoconf groff ghostscript ed texinfo lzip
Requires: diffutils
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
%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.
%package_help
%prep
2021-06-23 11:43:05 +08:00
%autosetup -n %{name}-%{version} -p1
autoconf
%build
%if "%{version}" <= "5.9.4"
CFLAGS="${RPM_OPT_FLAGS} -std=c99"
%endif
%configure --with-diffutils
%make_build
%install
2023-10-27 14:14:25 +08:00
%make_install DESTDIR=$RPM_BUILD_ROOT
install -m 755 src/rcsfreeze $RPM_BUILD_ROOT%{_bindir}
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
%check
make check XFAIL_TESTS="`tests/known-failures %{version}`"
%post
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir 2>/dev/null || :
%postun
if [ $1 -eq 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir 2>/dev/null || :
fi
%files
%doc ChangeLog COPYING THANKS NEWS README
%{_bindir}/*
%{_infodir}/*
%files help
%{_mandir}/man[15]/*
%changelog
2023-10-27 14:14:25 +08:00
* Wed Oct 18 2023 wulei <wu_lei@hoperun.com> - 5.10.1-1
- Update to 5.10.1
2021-08-10 15:58:02 +08:00
* Tue Aug 10 2021 shixuantong <shixuantong@huawei.com> - 5.9.4-13
- fix build fail for SIGSTKSZ
2021-06-23 11:43:05 +08:00
* Mon Jun 28 2021 shangyibin <shangyibin1@openeuler.org> - 5.9.4-12
- %perp no longer patched with git
* Wed Feb 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.9.4-11
- Package init