install /etc/termcap [release 2.0.8-7mamba;Sun Apr 05 2020]
This commit is contained in:
parent
dc13873bcf
commit
7db89270de
@ -1,18 +1,18 @@
|
|||||||
Name: libtermcap
|
Name: libtermcap
|
||||||
Version: 2.0.8
|
Version: 2.0.8
|
||||||
Release: 6mamba
|
Release: 7mamba
|
||||||
Summary: A basic system library for accessing the termcap database
|
Summary: A basic system library for accessing the termcap database
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: 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/
|
URL: ftp://metalab.unc.edu/pub/Linux/GCC/
|
||||||
Source: termcap-%{version}.tar.gz
|
Source: termcap-%{version}.tar.gz
|
||||||
Patch: termcap-fix-glibc-2.2.patch.bz2
|
Patch0: termcap-fix-glibc-2.2.patch.bz2
|
||||||
License: LGPL
|
License: LGPL
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
%description
|
%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.
|
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.
|
You'll also need to install the libtermcap package.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n termcap-%{version}
|
%setup -q -n termcap-%{version}
|
||||||
%patch0 -p0
|
%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
|
||||||
ln -sf %{name}.so.%{version} %{buildroot}%{_libdir}/%{name}.so.2
|
ln -sf %{name}.so.%{version} %{buildroot}%{_libdir}/%{name}.so.2
|
||||||
|
|
||||||
|
install -D -m0644 termcap.src %{buildroot}%{_sysconfdir}/termcap
|
||||||
|
|
||||||
rm -f %{buildroot}%{_includedir}/termcap.h
|
rm -f %{buildroot}%{_includedir}/termcap.h
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -58,6 +62,7 @@ rm -f %{buildroot}%{_includedir}/termcap.h
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%attr(-,bin,bin) %{_sysconfdir}/termcap
|
||||||
%attr(-,bin,bin) %{_libdir}/libtermcap.so.*
|
%attr(-,bin,bin) %{_libdir}/libtermcap.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -66,6 +71,9 @@ rm -f %{buildroot}%{_includedir}/termcap.h
|
|||||||
%{_libdir}/libtermcap.so
|
%{_libdir}/libtermcap.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Mar 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.8-6mamba
|
||||||
- install symlink libtermcap.so.2
|
- install symlink libtermcap.so.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user