1 Summary: Password Database Library
2 Summary(de.UTF-8): Passwortdatenbank-Library
3 Summary(fr.UTF-8): Bibliothèque de la base de données des mots de passe
4 Summary(pl.UTF-8): Biblioteka danych o użytkownikach
5 Summary(tr.UTF-8): Parola veri tabanı arşivi
11 Source0: http://pkgs.fedoraproject.org/repo/pkgs/compat-pwdb/pwdb-0.62.tar.gz/1a1fd0312040ef37aa741d09465774b4/%{name}-%{version}.tar.gz
12 # Source0-md5: 1a1fd0312040ef37aa741d09465774b4
13 Patch0: %{name}-pld.patch
14 BuildRequires: libnsl-devel
15 BuildRequires: libtirpc-devel
16 BuildRequires: pkgconfig
17 BuildRequires: sgml-tools
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 The pwdb package contains libpwdb, the password database library.
22 Libpwdb is a library which implements a generic user information
23 database. Libpwdb was specifically designed to work with Linux's PAM
24 (Pluggable Authentication Modules). Libpwdb allows configurable access
25 to and management of security tools like /etc/passwd, /etc/shadow and
26 network authentication systems including NIS and Radius.
28 %description -l de.UTF-8
29 Das pwdb-Paket enthält libpwdb, die Passwortdatenbank-Library. Libpwdb
30 ist eine Library, die eine Userinformations-Datenbank implementiert,
31 und mit Linux-PAM (Pluggable Authentication Modules) zusammenarbeited.
32 Libpwdb erlaubt konfigurierbaren Zugriff auf /etc/passwd, /etc/shadow
33 und Netzwerkauthentifizierungssysteme wie NIS und Radius.
35 %description -l fr.UTF-8
36 pwdb (Password Database Library) permet un accès configurable à (et la
37 gestion de) /etc/passwd, /etc/shadow ainsi que des systèmes
38 d'authentification réseau, dont NIS et Radius.
40 %description -l pl.UTF-8
41 Pwdb (Password Database Library) zapewnia spójny interfejs dostępu do
42 zarządzania bazami danych o użytkownikach. Biblioteka zwalnia
43 aplikacje z konieczności samodzielnego przetwarzania baz danych oraz
44 daje administratorowi możliwość wyboru poprzez prosty plik
45 konfiguracyjny, czy dane będą pochodzić z /etc/passwd, /etc/shadow czy
46 baz sieciowych, takich jak NIS lub RADIUS.
48 %description -l tr.UTF-8
49 pwdb, /etc/passwd ve /etc/shadow dosyalarının yönetimine ve erişimine,
50 NIS ve Radius içeren sistemlerde ağ doğrulamasına izin verir.
53 Summary: PWDB header files
54 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki PWDB
55 Group: Development/Libraries
56 Requires: %{name} = %{version}-%{release}
59 Header files for developing PWDB based applications.
61 %description devel -l pl.UTF-8
62 Pliki nagłówkowe biblioteki PWDB, przeznaczone do tworzenia aplikacji
66 Summary: PWDB static library
67 Summary(pl.UTF-8): Biblioteka statyczna PWDB
68 Group: Development/Libraries
69 Requires: %{name}-devel = %{version}-%{release}
74 %description static -l pl.UTF-8
75 Biblioteka statyczna PWDB.
82 ln -sf defs/pld.defs default.defs
86 OPTIMIZE="%{rpmcflags} $(pkg-config --cflags libtirpc libnsl)"
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_includedir}/pwdb,%{_libdir}}
95 INCLUDED=$RPM_BUILD_ROOT%{_includedir}/pwdb \
96 LIBDIR=$RPM_BUILD_ROOT/%{_lib}
98 cp -p conf/pwdb.conf $RPM_BUILD_ROOT%{_sysconfdir}/pwdb.conf
100 %{__mv} $RPM_BUILD_ROOT/%{_lib}/libpwdb.a $RPM_BUILD_ROOT%{_libdir}
102 %{__rm} $RPM_BUILD_ROOT/%{_lib}/libpwdb.so
103 ln -sf /%{_lib}/libpwdb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libpwdb.so
104 /sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
113 %defattr(644,root,root,755)
114 %doc CHANGES CREDITS Copyright README doc/pwdb.txt doc/html/*.html
115 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pwdb.conf
116 %attr(755,root,root) /%{_lib}/libpwdb.so.*.*
117 %attr(755,root,root) %ghost /%{_lib}/libpwdb.so.0
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/libpwdb.so
125 %defattr(644,root,root,755)