SPECS: pam-pam_bioapi.spec - cleanup
qboosh
qboosh at pld-linux.org
Tue Mar 11 21:18:12 CET 2008
Author: qboosh Date: Tue Mar 11 20:18:12 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cleanup
---- Files affected:
SPECS:
pam-pam_bioapi.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/pam-pam_bioapi.spec
diff -u SPECS/pam-pam_bioapi.spec:1.7 SPECS/pam-pam_bioapi.spec:1.8
--- SPECS/pam-pam_bioapi.spec:1.7 Fri Sep 14 12:29:19 2007
+++ SPECS/pam-pam_bioapi.spec Tue Mar 11 21:18:06 2008
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+# TODO:
+# - wrong (and unnecessary) pam modules paths in pam.d files
+# - wrong (not lib64-aware) libbirdb_sqlite3 path in birdb.conf
+# (maybe this module should be moved to /usr/%{_lib} as it uses libsqlite3 from /usr?)
%define modulename pam_bioapi
Summary: PAM BioAPI module
Summary(pl.UTF-8): Moduł PAM BioAPI
@@ -6,12 +10,11 @@
Version: 0.4.0
Release: 0.2
Epoch: 0
-License: GPL v2
+License: GPL v2+
Group: Applications/System
Source0: http://pam-bioapi.googlecode.com/files/%{modulename}-%{version}.tar.gz
# Source0-md5: 0896c6549be3720d358b1e8507c36a4d
URL: http://www.qrivy.net/~michael/blua/
-Requires: sqlite3
BuildRequires: bioapi-devel
BuildRequires: pam-devel
BuildRequires: sqlite3-devel
@@ -34,7 +37,7 @@
# 2. libdir is set to /lib to allow pam to find modules in /lib/security.
# However, this package requires sqlite3, which is located under /usr.
%configure \
- --prefix='' \
+ --prefix='' \
--libdir=/%{_lib}
%{__make}
@@ -46,20 +49,37 @@
install -d $RPM_BUILD_ROOT%{_sysconfdir}/bioapi/pam
+rm $RPM_BUILD_ROOT/%{_lib}/*.la $RPM_BUILD_ROOT/%{_lib}/security/*.la
+
+%find_lang tfmessbsp
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f tfmessbsp.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README NEWS
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_sbindir}/*
-%attr(755,root,root) /%{_lib}/security/pam*.so*
-%attr(755,root,root) /%{_lib}/libbirdb*.so*
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/birdbtest
+%attr(755,root,root) %{_bindir}/test_enroll-pam_bioapi
+%attr(755,root,root) %{_bindir}/test_verify-pam_bioapi
+# suid?
+%attr(755,root,root) %{_sbindir}/bioapi_chbird
+# -avoid-version is missing for this module
+%attr(755,root,root) /%{_lib}/security/pam_bioapi.so*
+%attr(755,root,root) /%{_lib}/libbirdb.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libbirdb.so.0
+# -avoid-version is missing for this module
+%attr(755,root,root) /%{_lib}/libbirdb_sqlite3.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libbirdb_sqlite3.so.0
+%attr(755,root,root) /%{_lib}/libbirdb_sqlite3.so
%dir %{_sysconfdir}/bioapi
-%{_sysconfdir}/bioapi/*
-%{_sysconfdir}/pam.d/*
-%{_mandir}/man8/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bioapi/birdb.conf
+%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/bioapi_chbird
+%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/test-pam_bioapi
+%{_mandir}/man8/pam_bioapi.8*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -67,6 +87,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2008-03-11 20:18:06 qboosh
+- cleanup
+
Revision 1.7 2007-09-14 10:29:19 emes
- minor fixes in config files
- works4me
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pam-pam_bioapi.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list