1 Summary: libhome - a configurable getpwnam(3) emulator
2 Summary(pl.UTF-8): libhome - konfigurowalny emulator funkcji getpwnam(3)
8 Source0: http://downloads.sourceforge.net/pll/%{name}-%{version}.tar.gz
9 # Source0-md5: f7129ae34d3c44d38ac785e7a1f7d509
10 Patch0: %{name}-DESTDIR.patch
11 Patch1: %{name}-db53.patch
12 URL: http://pll.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: db-devel
17 BuildRequires: libtool
18 BuildRequires: mysql-devel
19 BuildRequires: openldap-devel >= 2.4.6
20 BuildRequires: pam-devel
21 BuildRequires: postgresql-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 It supports MySQL, Open LDAP or system /etc/passwd frontend.
27 It's intended to replace getpwnam within system daemons who need user
28 authentification or identification when the users are listed on
31 %description -l pl.UTF-8
32 Biblioteka obsługuje MySQL, Open LDAP lub plik /etc/passwd.
34 Jej zadaniem jest zamiana wywołania getpwnam w demonach systemowych,
35 które potrzebują uwierzytelnienia lub identyfikacji użytkownika w
36 oparciu o dane z obcych serwerów.
39 Summary: Header files for libhome library
40 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libhome
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
45 Requires: openldap-devel >= 2.4.6
47 Requires: postgresql-devel
50 Header files for libhome library.
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe biblioteki libhome.
56 Summary: Static libhome library
57 Summary(pl.UTF-8): Statyczna biblioteka libhome
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 Static libhome library.
64 %description static -l pl.UTF-8
65 Statyczna biblioteka libhome.
77 # no automake call needed, automake is not in use here
79 --with-db4=%{_includedir} \
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT%{_sysconfdir}
92 DESTDIR=$RPM_BUILD_ROOT \
95 includedir=%{_includedir} \
98 install home.conf $RPM_BUILD_ROOT%{_sysconfdir}
101 rm -rf $RPM_BUILD_ROOT
103 %post -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
107 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_bindir}/home_finger
110 %attr(755,root,root) %{_bindir}/home_su
111 %attr(755,root,root) %{_bindir}/libhome.sh
112 %attr(755,root,root) %{_sbindir}/home_proxy
113 %attr(755,root,root) %{_libdir}/libhome.so.*.*.*
114 %attr(755,root,root) %ghost %{_libdir}/libhome.so.1
115 %attr(755,root,root) %{_libdir}/libnss_home_proxy.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libnss_home_proxy.so.2
117 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/home.conf
118 %{_mandir}/man5/home.conf.5*
119 %{_mandir}/man8/home_proxy.8*
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/libhome.so
124 %attr(755,root,root) %{_libdir}/libnss_home_proxy.so
125 %{_libdir}/libhome.la
126 %{_libdir}/libnss_home_proxy.la
130 %defattr(644,root,root,755)
132 %{_libdir}/libnss_home_proxy.a