SPECS: bioapi.spec - moved /var/bioapi to FHS-compliant /var/lib/b...
qboosh
qboosh at pld-linux.org
Wed Aug 9 22:07:36 CEST 2006
Author: qboosh Date: Wed Aug 9 20:07:36 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- moved /var/bioapi to FHS-compliant /var/lib/bioapi
- killed static modules and -qt dependency in -devel
- release 0.3
---- Files affected:
SPECS:
bioapi.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/bioapi.spec
diff -u SPECS/bioapi.spec:1.4 SPECS/bioapi.spec:1.5
--- SPECS/bioapi.spec:1.4 Mon Apr 10 20:05:45 2006
+++ SPECS/bioapi.spec Wed Aug 9 22:07:29 2006
@@ -1,16 +1,15 @@
# $Revision$, $Date$
# TODO:
# - change code to do not require *.so libs and use *.so.X.X.X
-# - create qt-devel (if necessary), kill -qt R: in -devel
#
# Conditional build:
-%bcond_without qt
+%bcond_without qt # don't build qtpwbsp module
#
Summary: Framework for biometric-based authentication
Summary(pl): Szkielet do uwierzytelniania opartego o biometrykę
Name: bioapi
Version: 1.2.2
-Release: 0.2
+Release: 0.3
License: BSD
Group: Applications/Networking
Source0: http://www.qrivy.net/~michael/blua/bioapi/%{name}-%{version}.tar.bz2
@@ -21,6 +20,9 @@
BuildRequires: xorg-lib-libX11-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# to get /var/lib/bioapi instead of /var/bioapi
+%define _localstatedir /var/lib
+
%description
BioAPI reference implementation for Unix-based platforms. The
Unix-based reference implementation was developed by the Convergent
@@ -94,7 +96,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
+install -d $RPM_BUILD_ROOT{%{_includedir}/%{name},/var/lib/bioapi}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -111,6 +113,9 @@
mv $RPM_BUILD_ROOT%{_bindir}/QSample $RPM_BUILD_ROOT%{_bindir}/BioAPI-QSample
%endif
+# modules to dlopen
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib{bioapi_dummy100,pwbsp,qtpwbsp}.{la,a}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -134,27 +139,39 @@
%attr(755,root,root) %{_bindir}/BioAPI-Sample
%attr(755,root,root) %{_bindir}/BioAPI-*_*
%attr(755,root,root) %{_bindir}/BioAPITest
-%{?with_qt:%exclude %{_libdir}/libqtpwbsp.so*}
-%attr(755,root,root) %{_libdir}/lib*.so*
+%attr(755,root,root) %{_libdir}/libbioapi100.so.*.*.*
+%attr(755,root,root) %{_libdir}/libbioapi_dummy100.so.*.*.*
+%attr(755,root,root) %{_libdir}/libbioapi_mds300.so.*.*.*
+%attr(755,root,root) %{_libdir}/libmds_util.so.*.*.*
+%attr(755,root,root) %{_libdir}/libpwbsp.so.*.*.*
+%attr(755,root,root) %{_libdir}/libbioapi100.so
+%attr(755,root,root) %{_libdir}/libbioapi_dummy100.so
+%attr(755,root,root) %{_libdir}/libbioapi_mds300.so
+%attr(755,root,root) %{_libdir}/libmds_util.so
+%attr(755,root,root) %{_libdir}/libpwbsp.so
+%dir /var/lib/bioapi
%files devel
%defattr(644,root,root,755)
+# *.so needed in main package (maybe except libmds_util.so?)
+%{_libdir}/libbioapi100.la
+%{_libdir}/libbioapi_mds300.la
+%{_libdir}/libmds_util.la
%{_includedir}/%{name}
-%{_libdir}/lib*.la
-# *.so needed in main package
-#%{?with_qt:%exclude %{_libdir}/libqtpwbsp.so.*}
-#%attr(755,root,root) %{_libdir}/lib*.so
%files static
%defattr(644,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/libbioapi100.a
+%{_libdir}/libbioapi_mds300.a
+%{_libdir}/libmds_util.a
%if %{with qt}
%files qt
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/BioAPI-MdsEdit
%attr(755,root,root) %{_bindir}/BioAPI-QSample
-%attr(755,root,root) %{_libdir}/libqtpwbsp.so*
+%attr(755,root,root) %{_libdir}/libqtpwbsp.so.*.*.*
+%attr(755,root,root) %{_libdir}/libqtpwbsp.so
%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -163,6 +180,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2006/08/09 20:07:29 qboosh
+- moved /var/bioapi to FHS-compliant /var/lib/bioapi
+- killed static modules and -qt dependency in -devel
+- release 0.3
+
Revision 1.4 2006/04/10 18:05:45 qboosh
- pl
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/bioapi.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list