1 Summary: libhome - a configurable getpwnam(3) emulator
2 Summary(pl.UTF-8): libhome - konfigurowalny emulator funkcji getpwnam(3)
8 Source0: http://dl.sourceforge.net/pll/%{name}-%{version}.tar.gz
9 # Source0-md5: fe0b4e581c62bc64eb13295eb7f2b0e5
10 Patch0: %{name}-DESTDIR.patch
11 URL: http://pll.sourceforge.net/
12 BuildRequires: automake
14 BuildRequires: db-devel
15 BuildRequires: mysql-devel
16 BuildRequires: openldap-devel >= 2.4.6
17 BuildRequires: pam-devel
18 BuildRequires: postgresql-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 It supports MySQL, Open LDAP or system /etc/passwd frontend.
24 It's intended to replace getpwnam within system daemons who need user
25 authentification or identification when the users are listed on
28 %description -l pl.UTF-8
29 Biblioteka obsługuje MySQL, Open LDAP lub plik /etc/passwd.
31 Jej zadaniem jest zamiana wywołania getpwnam w demonach systemowych,
32 które potrzebują uwierzytelnienia lub identyfikacji użytkownika w
33 oparciu o dane z obcych serwerów.
36 Summary: Header files for libhome library
37 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libhome
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
42 Requires: openldap-devel >= 2.4.6
44 Requires: postgresql-devel
47 Header files for libhome library.
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe biblioteki libhome.
53 Summary: Static libhome library
54 Summary(pl.UTF-8): Statyczna biblioteka libhome
55 Group: Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
59 Static libhome library.
61 %description static -l pl.UTF-8
62 Statyczna biblioteka libhome.
69 cp -f /usr/share/automake/config.* .
71 --with-db4=%{_includedir} \
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT%{_sysconfdir}
83 DESTDIR=$RPM_BUILD_ROOT \
86 includedir=%{_includedir} \
89 install home.conf $RPM_BUILD_ROOT%{_sysconfdir}
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/home_*
101 %attr(755,root,root) %{_sbindir}/home_*
102 %attr(755,root,root) %{_bindir}/libhome.sh
103 %attr(755,root,root) %{_libdir}/lib*home*.so.*.*.*
104 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/home.conf
105 %{_mandir}/man5/home.conf.5*
106 %{_mandir}/man8/home_proxy.8*
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/lib*home*.so
111 %{_libdir}/lib*home*.la
115 %defattr(644,root,root,755)
116 %{_libdir}/lib*home*.a