| 1 | Summary: Linux-PAM (Pluggable Authentication Modules for Linux) |
|---|
| 2 | Name: Linux-PAM |
|---|
| 3 | Version: 1.1.0 |
|---|
| 4 | Release: 2 |
|---|
| 5 | Group: System Environment/Base |
|---|
| 6 | License: GPLv2 |
|---|
| 7 | Distribution: LightCube OS |
|---|
| 8 | Vendor: LightCube Solutions |
|---|
| 9 | URL: http://www.kernel.org/pub/linux/%{_lib}s/pam/ |
|---|
| 10 | Source: http://dev.lightcube.us/~jhuntwork/sources/%{name}/%{name}-%{version}.tar.bz2 |
|---|
| 11 | |
|---|
| 12 | Requires: base-layout, glibc, cracklib |
|---|
| 13 | |
|---|
| 14 | %description |
|---|
| 15 | Linux-PAM (Pluggable Authentication Modules for Linux) is a suite of shared |
|---|
| 16 | libraries that enable the local system administrator to choose how |
|---|
| 17 | applications authenticate users. |
|---|
| 18 | |
|---|
| 19 | %package devel |
|---|
| 20 | Summary: Libraries, headers and documentation for developing with %{_name} |
|---|
| 21 | Requires: %{_name} |
|---|
| 22 | Group: Development/Libs |
|---|
| 23 | |
|---|
| 24 | %description devel |
|---|
| 25 | Libaries, headers and documentation for developing with %{_name} |
|---|
| 26 | |
|---|
| 27 | %prep |
|---|
| 28 | %setup -q |
|---|
| 29 | |
|---|
| 30 | %build |
|---|
| 31 | ./configure --prefix=/usr --libdir=/%{_lib} --sbindir=/%{_lib}/security \ |
|---|
| 32 | --enable-securedir=/%{_lib}/security --enable-read-both-confs |
|---|
| 33 | make |
|---|
| 34 | |
|---|
| 35 | %install |
|---|
| 36 | make DESTDIR=%{buildroot} install |
|---|
| 37 | find %{buildroot} -name "*.la" -exec rm -vf '{}' \; |
|---|
| 38 | install -dv %{buildroot}/etc/pam.d |
|---|
| 39 | %find_lang %{name} |
|---|
| 40 | |
|---|
| 41 | %clean |
|---|
| 42 | rm -rf %{buildroot} |
|---|
| 43 | |
|---|
| 44 | %files -f %{name}.lang |
|---|
| 45 | %defattr(-,root,root) |
|---|
| 46 | %dir /etc/environment |
|---|
| 47 | %dir /etc/pam.d |
|---|
| 48 | /etc/security |
|---|
| 49 | /%{_lib}/libpam.so.0 |
|---|
| 50 | /%{_lib}/libpam.so.0.82.1 |
|---|
| 51 | /%{_lib}/libpam_misc.so.0 |
|---|
| 52 | /%{_lib}/libpam_misc.so.0.82.0 |
|---|
| 53 | /%{_lib}/libpamc.so.0 |
|---|
| 54 | /%{_lib}/libpamc.so.0.82.1 |
|---|
| 55 | /%{_lib}/security |
|---|
| 56 | /usr/share/doc/Linux-PAM |
|---|
| 57 | /usr/share/man/man5/* |
|---|
| 58 | /usr/share/man/man8/* |
|---|
| 59 | |
|---|
| 60 | %files devel |
|---|
| 61 | %defattr(-,root,root) |
|---|
| 62 | /%{_lib}/libpamc.so |
|---|
| 63 | /%{_lib}/libpam_misc.so |
|---|
| 64 | /%{_lib}/libpam.so |
|---|
| 65 | /usr/include/security |
|---|
| 66 | /usr/share/man/man3/* |
|---|
| 67 | |
|---|
| 68 | %changelog |
|---|
| 69 | * Sun Nov 01 2009 Jeremy Huntwork <jhuntwork@lightcubesolutions.com> - 1.1.0-2 |
|---|
| 70 | - Added the /etc/pam.d directory |
|---|
| 71 | |
|---|
| 72 | * Sat Oct 25 2009 Jeremy Huntwork <jhuntwork@lightcubesolutions.com> - 1.1.0-1 |
|---|
| 73 | - Initial version |
|---|