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: sgml-tools
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 The pwdb package contains libpwdb, the password database library.
19 Libpwdb is a library which implements a generic user information
20 database. Libpwdb was specifically designed to work with Linux's PAM
21 (Pluggable Authentication Modules). Libpwdb allows configurable access
22 to and management of security tools like /etc/passwd, /etc/shadow and
23 network authentication systems including NIS and Radius.
25 %description -l de.UTF-8
26 Das pwdb-Paket enthält libpwdb, die Passwortdatenbank-Library. Libpwdb
27 ist eine Library, die eine Userinformations-Datenbank implementiert,
28 und mit Linux-PAM (Pluggable Authentication Modules) zusammenarbeited.
29 Libpwdb erlaubt konfigurierbaren Zugriff auf /etc/passwd, /etc/shadow
30 und Netzwerkauthentifizierungssysteme wie NIS und Radius.
32 %description -l fr.UTF-8
33 pwdb (Password Database Library) permet un accès configurable à (et la
34 gestion de) /etc/passwd, /etc/shadow ainsi que des systèmes
35 d'authentification réseau, dont NIS et Radius.
37 %description -l pl.UTF-8
38 Pwdb (Password Database Library) zapewnia spójny interfejs dostępu do
39 zarządzania bazami danych o użytkownikach. Biblioteka zwalnia
40 aplikacje z konieczności samodzielnego przetwarzania baz danych oraz
41 daje administratorowi możliwość wyboru poprzez prosty plik
42 konfiguracyjny, czy dane będą pochodzić z /etc/passwd, /etc/shadow czy
43 baz sieciowych, takich jak NIS lub RADIUS.
45 %description -l tr.UTF-8
46 pwdb, /etc/passwd ve /etc/shadow dosyalarının yönetimine ve erişimine,
47 NIS ve Radius içeren sistemlerde ağ doğrulamasına izin verir.
50 Summary: PWDB header files
51 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki PWDB
52 Group: Development/Libraries
53 Requires: %{name} = %{version}-%{release}
56 Header files for developing PWDB based applications.
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe biblioteki PWDB, przeznaczone do tworzenia aplikacji
63 Summary: PWDB static library
64 Summary(pl.UTF-8): Biblioteka statyczna PWDB
65 Group: Development/Libraries
66 Requires: %{name}-devel = %{version}-%{release}
71 %description static -l pl.UTF-8
72 Biblioteka statyczna PWDB.
79 ln -sf defs/pld.defs default.defs
83 OPTIMIZE="%{rpmcflags}"
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_includedir}/pwdb,%{_libdir}}
92 INCLUDED=$RPM_BUILD_ROOT%{_includedir}/pwdb \
93 LIBDIR=$RPM_BUILD_ROOT/%{_lib}
95 cp -p conf/pwdb.conf $RPM_BUILD_ROOT%{_sysconfdir}/pwdb.conf
97 mv -f $RPM_BUILD_ROOT/%{_lib}/libpwdb.a $RPM_BUILD_ROOT%{_libdir}
99 %{__rm} $RPM_BUILD_ROOT/%{_lib}/libpwdb.so
100 ln -sf /%{_lib}/libpwdb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libpwdb.so
101 /sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}
104 rm -rf $RPM_BUILD_ROOT
106 %post -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
110 %defattr(644,root,root,755)
111 %doc CHANGES CREDITS Copyright README doc/pwdb.txt doc/html/*.html
112 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pwdb.conf
113 %attr(755,root,root) /%{_lib}/libpwdb.so.*.*
114 %attr(755,root,root) %ghost /%{_lib}/libpwdb.so.0
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/libpwdb.so
122 %defattr(644,root,root,755)