install /etc/termcap [release 2.0.8-7mamba;Sun Apr 05 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:54:47 +01:00
parent dc13873bcf
commit 7db89270de

View File

@ -1,18 +1,18 @@
Name: libtermcap
Version: 2.0.8
Release: 6mamba
Release: 7mamba
Summary: A basic system library for accessing the termcap database
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@openmamba.org>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: ftp://metalab.unc.edu/pub/Linux/GCC/
Source: termcap-%{version}.tar.gz
Patch: termcap-fix-glibc-2.2.patch.bz2
Patch0: termcap-fix-glibc-2.2.patch.bz2
License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
## AUTOBUILDREQ-END
%description
@ -30,6 +30,8 @@ This package includes the libraries and header files necessary for developing pr
If you need to develop programs which will access the termcap database, you'll need to install this package.
You'll also need to install the libtermcap package.
%debug_package
%prep
%setup -q -n termcap-%{version}
%patch0 -p0
@ -48,6 +50,8 @@ install -d %{buildroot}%{_includedir}
ln -sf %{name}.so.%{version} %{buildroot}%{_libdir}/%{name}.so
ln -sf %{name}.so.%{version} %{buildroot}%{_libdir}/%{name}.so.2
install -D -m0644 termcap.src %{buildroot}%{_sysconfdir}/termcap
rm -f %{buildroot}%{_includedir}/termcap.h
%clean
@ -58,6 +62,7 @@ rm -f %{buildroot}%{_includedir}/termcap.h
%files
%defattr(-,root,root)
%attr(-,bin,bin) %{_sysconfdir}/termcap
%attr(-,bin,bin) %{_libdir}/libtermcap.so.*
%files devel
@ -66,6 +71,9 @@ rm -f %{buildroot}%{_includedir}/termcap.h
%{_libdir}/libtermcap.so
%changelog
* Sun Apr 05 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.8-7mamba
- install /etc/termcap
* Fri Mar 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.8-6mamba
- install symlink libtermcap.so.2