From 7db89270de2c630bc1cecdec757bfcf09b7c7fb2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:54:47 +0100 Subject: [PATCH] install /etc/termcap [release 2.0.8-7mamba;Sun Apr 05 2020] --- libtermcap.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libtermcap.spec b/libtermcap.spec index bf6d440..16b3fd9 100644 --- a/libtermcap.spec +++ b/libtermcap.spec @@ -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 +Packager: Silvan Calarco 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 2.0.8-7mamba +- install /etc/termcap + * Fri Mar 04 2011 Silvan Calarco 2.0.8-6mamba - install symlink libtermcap.so.2