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ığı
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)
29 This is the library for accessing the termcap database.
31 %description -l de.UTF-8
32 Dies ist die Library zum Zugriff auf die termcap-Datenbank.
34 %description -l es.UTF-8
35 Esta es la biblioteca para acceso al banco de datos termcap.
37 %description -l fr.UTF-8
38 Bibliothèque pour accéder à la base de données termcap.
40 %description -l pl.UTF-8
41 Biblioteki dostępu do bazy danych termcap.
43 %description -l pt_BR.UTF-8
44 Esta é a biblioteca para acesso ao banco de dados termcap.
46 %description -l tr.UTF-8
47 Bu paket termcap veri tabanına ulaşım kitaplığını içerir.
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
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.
68 %description devel -l pl.UTF-8
69 Pakiet ten zawiera biblioteki i pliki nagłówkowe dla programistów.
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.
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.
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
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.
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.
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}
104 Static termcap library.
106 %description static -l pl.UTF-8
107 Statyczna biblioteka termcap.
109 %description static -l pt_BR.UTF-8
110 Bibliotecas estáticas para desenvolvimento com termcap
113 %setup -q -n termcap-%{version}
131 %{__make} CFLAGS="%{rpmcflags} -DHAVE_CONFIG_H -I."
135 rm -rf $RPM_BUILD_ROOT
136 install -d $RPM_BUILD_ROOT{/lib,%{_libdir},%{_includedir},%{_infodir}}
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}
143 ln -sf ../../lib/libtermcap.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtermcap.so
145 %post -p /sbin/ldconfig
146 %postun -p /sbin/ldconfig
148 %post devel -p /sbin/postshell
149 -/usr/sbin/fix-info-dir -c %{_infodir}
151 %postun devel -p /sbin/postshell
152 -/usr/sbin/fix-info-dir -c %{_infodir}
155 rm -rf $RPM_BUILD_ROOT
158 %defattr(644,root,root,755)
159 %attr(755,root,root) /lib/*.so.*.*
162 %defattr(644,root,root,755)
163 %doc README ChangeLog
164 %attr(755,root,root) %{_libdir}/*.so
169 %defattr(644,root,root,755)