]> git.pld-linux.org Git - SPECS.git/blob - libtermcap.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libtermcap.spec
1 Summary:        Library for accessing the termcap database
2 Summary(de.UTF-8):      Library zum Zugriff auf die termcap-Datenbank
3 Summary(es.UTF-8):      Biblioteca para acceder a base de datos termcap
4 Summary(fr.UTF-8):      Librairie pour accéder à la base de données termcap
5 Summary(pl.UTF-8):      Biblioteki dostępu do bazy danych termcap
6 Summary(pt_BR.UTF-8):   Biblioteca para acessar a base de dados termcap
7 Summary(tr.UTF-8):      termcap veri tabanına erişim kitaplığı
8 Name:           libtermcap
9 Version:        2.0.8
10 Release:        4
11 License:        LGPL
12 Group:          Libraries
13 Source0:        ftp://sunsite.unc.edu/pub/Linux/GCC/termcap-%{version}.tar.gz
14 # Source0-md5:  b9256cccfd4ddf725e20bf100f8c001a
15 Patch0:         %{name}-setuid.patch
16 Patch1:         %{name}-glibc21.patch
17 Patch2:         %{name}-xref.patch
18 Patch3:         %{name}-fix-tc.patch
19 Patch4:         %{name}-ignore-p.patch
20 Patch5:         %{name}-bufsize.patch
21 Patch6:         %{name}-colon.patch
22 Patch7:         %{name}-buffer.patch
23 Patch8:         %{name}-aaargh.patch
24 BuildRequires:  texinfo
25 Requires:       /etc/termcap
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 This is the library for accessing the termcap database.
30
31 %description -l de.UTF-8
32 Dies ist die Library zum Zugriff auf die termcap-Datenbank.
33
34 %description -l es.UTF-8
35 Esta es la biblioteca para acceso al banco de datos termcap.
36
37 %description -l fr.UTF-8
38 Bibliothèque pour accéder à la base de données termcap.
39
40 %description -l pl.UTF-8
41 Biblioteki dostępu do bazy danych termcap.
42
43 %description -l pt_BR.UTF-8
44 Esta é a biblioteca para acesso ao banco de dados termcap.
45
46 %description -l tr.UTF-8
47 Bu paket termcap veri tabanına ulaşım kitaplığını içerir.
48
49 %package devel
50 Summary:        Development libraries and header files for termcap library
51 Summary(de.UTF-8):      Entwicklungs-Libraries und Header-Dateien für die termcap-Library
52 Summary(es.UTF-8):      Biblioteca para desarrollo y archivos de inclusión para biblioteca
53 Summary(fr.UTF-8):      Librairies de développement et fichiers d'en-tête pour la termcap
54 Summary(pl.UTF-8):      Biblioteki i pliki nagłówkowe dla termcap
55 Summary(pt_BR.UTF-8):   Biblioteca para desenvolvimento e arquivos de inclusão para biblioteca termcap
56 Summary(tr.UTF-8):      termcap kitaplığını kullanan geliştirmek için gerekli dosyalar
57 Group:          Development/Libraries
58 Requires:       %{name} = %{version}-%{release}
59 %if "%{_includedir}" == "/usr/include"
60 Conflicts:      ncurses-devel
61 %endif
62
63 %description devel
64 This is the package containing the development libaries and header
65 files for writing programs that access the termcap database. It may be
66 necessary to build some other packages as well.
67
68 %description devel -l pl.UTF-8
69 Pakiet ten zawiera biblioteki i pliki nagłówkowe dla programistów.
70
71 %description devel -l de.UTF-8
72 Dies ist ein Paket mit Entwicklungs-Libraries und Header-Dateien zum
73 Schreiben von Programmen, die auf die termcap-Datenbank zugreifen.
74 Eventuell müssen noch ein paar andere Pakete gebaut werden.
75
76 %description devel -l es.UTF-8
77 Este es el paquete que contiene las bibliotecas y archivos de
78 inclusión para la escritura de programas que acceden al banco de datos
79 termcap. Puede ser necesario también para construir otros paquetes.
80
81 %description devel -l fr.UTF-8
82 Ceci est le package contenant les bibliothéques de développement et
83 les fichiers d'en-tête pour écrire des programmes accédant à la base
84 de données termcap. Cela peut être nécessaire pour construire certains
85 autres packages.
86
87 %description devel -l pt_BR.UTF-8
88 Este é o pacote que contém as bibliotecas e arquivos de inclusão para
89 a escrita de programas que acessam o banco de dados termcap. Ele pode
90 ser necessário para construir outros pacotes também.
91
92 %description devel -l tr.UTF-8
93 Bu paket, termcap veri tabanını kullanan programlar geliştirmek için
94 gereken başlık dosyaları ve kitaplıkları içerir.
95
96 %package static
97 Summary:        Static termcap library
98 Summary(pl.UTF-8):      Statyczna Biblioteka termcap
99 Summary(pt_BR.UTF-8):   Bibliotecas estáticas para desenvolvimento com termcap
100 Group:          Development/Libraries
101 Requires:       %{name}-devel = %{version}-%{release}
102
103 %description static
104 Static termcap library.
105
106 %description static -l pl.UTF-8
107 Statyczna biblioteka termcap.
108
109 %description static -l pt_BR.UTF-8
110 Bibliotecas estáticas para desenvolvimento com termcap
111
112 %prep
113 %setup -q -n termcap-%{version}
114 %patch0 -p1
115 %patch1 -p1
116 %patch2 -p1
117 %patch3 -p1
118 %patch4 -p1
119 %patch5 -p1
120 %patch6 -p1
121 %patch7 -p1
122 %patch8 -p1
123
124 %build
125 cat > config.h <<EOF
126 #include <string.h>
127 #include <stdlib.h>
128 #include <unistd.h>
129 EOF
130
131 %{__make} CFLAGS="%{rpmcflags} -DHAVE_CONFIG_H -I."
132 %{__make} info
133
134 %install
135 rm -rf $RPM_BUILD_ROOT
136 install -d $RPM_BUILD_ROOT{/lib,%{_libdir},%{_includedir},%{_infodir}}
137
138 install *.so.* $RPM_BUILD_ROOT/lib
139 install libtermcap.a $RPM_BUILD_ROOT%{_libdir}/libtermcap.a
140 install termcap.h $RPM_BUILD_ROOT%{_includedir}/termcap.h
141 install termcap.info* $RPM_BUILD_ROOT%{_infodir}
142
143 ln -sf ../../lib/libtermcap.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtermcap.so
144
145 %post   -p /sbin/ldconfig
146 %postun -p /sbin/ldconfig
147
148 %post devel     -p      /sbin/postshell
149 -/usr/sbin/fix-info-dir -c %{_infodir}
150
151 %postun devel   -p      /sbin/postshell
152 -/usr/sbin/fix-info-dir -c %{_infodir}
153
154 %clean
155 rm -rf $RPM_BUILD_ROOT
156
157 %files
158 %defattr(644,root,root,755)
159 %attr(755,root,root) /lib/*.so.*.*
160
161 %files devel
162 %defattr(644,root,root,755)
163 %doc README ChangeLog
164 %attr(755,root,root) %{_libdir}/*.so
165 %{_includedir}/*.h
166 %{_infodir}/*.info*
167
168 %files static
169 %defattr(644,root,root,755)
170 %{_libdir}/*.a
This page took 1.00836 seconds and 3 git commands to generate.