SPECS: tcb.spec - corrected build scripts and %files
aredridel
aredridel at pld-linux.org
Sun Sep 3 20:58:11 CEST 2006
Author: aredridel Date: Sun Sep 3 18:58:11 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- corrected build scripts and %files
---- Files affected:
SPECS:
tcb.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/tcb.spec
diff -u SPECS/tcb.spec:1.1 SPECS/tcb.spec:1.2
--- SPECS/tcb.spec:1.1 Fri Aug 25 14:40:21 2006
+++ SPECS/tcb.spec Sun Sep 3 20:58:06 2006
@@ -1,5 +1,9 @@
# $Revision$, $Date$
#
+# TODO
+# - Integrate crypt_blowfish into glibc (or an external lib?)
+# - Depend on the new glibc or external lib
+#
Summary: the alternative to shadow
Name: tcb
Version: 1.0
@@ -18,6 +22,20 @@
available separately from Owl primarily for use by other
distributions.
+%package devel
+Summary: Headers for libtcb
+Group: Development/Libraries
+
+%description devel
+Headers for libtcb.
+
+%package static
+Summary: Static library for libtcb
+Group: Development/Libraries
+
+%description static
+Static library for libtcb.
+
%package -n pam-pam_tcb
Summary: TCB module for PAM
Group: Base
@@ -53,22 +71,42 @@
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ LIBEXECDIR=%{_libexecdir} \
+ MANDIR=%{_mandir}
+
+mv $RPM_BUILD_ROOT%{_libexecdir}/chkpwd/tcb_chkpwd $RPM_BUILD_ROOT/sbin
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/chsh
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/passwd
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/useradd
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/shadow
-%exclude %{_mandir}/man8/pam_rpasswd.8*
+%attr(755,root,root) /lib/libtcb.so.0.9.8
+%attr(755,root,root) /sbin/tcb_convert
+%attr(755,root,root) /sbin/tcb_unconvert
+%attr(755,root,root) /sbin/tcb_chkpwd
+%{_mandir}/man5/tcb.5*
+%{_mandir}/man8/tcb_convert.8*
+%{_mandir}/man8/tcb_unconvert.8
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/tcb.h
+
+%files static
+%defattr(644,root,root,755)
+%{_prefix}/lib/libtcb.a
+
+#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/chsh
+#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/passwd
+#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/useradd
+#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/shadow
+#%exclude %{_mandir}/man8/pam_rpasswd.8*
%files -n nss_tcb
%defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/xxx
+%attr(755,root,root) /%{_lib}/libnss*.so.*
%files -n pam-pam_tcb
%defattr(644,root,root,755)
@@ -81,6 +119,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/09/03 18:58:06 aredridel
+- corrected build scripts and %files
+
Revision 1.1 2006/08/25 12:40:21 arekm
- raw
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/tcb.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list