Name: bioapi Version: 1.2.2 Release: 1%{?dist} Summary: Biometrics library for Linux Group: System Environment/Libraries License: BSD URL: http://www.qrivy.net/~michael/blua/bioapi/ Source0: http://www.qrivy.net/~michael/blua/bioapi/bioapi-1.2.2.tar.bz2 Patch1: bioapi-c++.patch Patch2: bioapi-rename.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: qt-devel Requires: qt %description This package contains the BioAPI reference implementation for Linux. %package tools Summary: Miscellaneous tools for %{name} Group: Applications/System Requires: %{name} = %{version}-%{release} %description tools The %{name}-tools package contains some tools. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch1 -p1 -b .cpp %patch2 -p1 -b .rename %build %configure \ --disable-static \ --includedir=%{_includedir}/%{name} \ --with-Qt-dir=/usr/lib/qt-3.3/ \ --with-mds=/var/lip make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT install -m644 include/bioapi_util.h $RPM_BUILD_ROOT/%{_includedir}/%{name} install -m644 include/installdefs.h $RPM_BUILD_ROOT/%{_includedir}/%{name} install -m644 imports/cdsa/v2_0/inc/cssmtype.h $RPM_BUILD_ROOT/%{_includedir}/%{name} find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' #rm -f $RPM_BUILD_ROOT/%{_bindir}/BioAPITest #rm -f $RPM_BUILD_ROOT/%{_bindir}/Sample %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc Disclaimer README 00_License.htm 09_Manifest.htm 11_Install.htm 20_Todo.htm 31_Contributors.htm 01_Readme.htm 10_Build.htm 12_Use.htm 30_History.htm 32_Contacts.htm %{_libdir}/*.so.* %{_libdir}/*.so %files tools %defattr(-,root,root,-) %doc %{_bindir}/MdsEdit %{_bindir}/BioAPICUI %{_bindir}/BioAPIGUI %{_bindir}/BioAPITest %{_bindir}/mds_install %{_bindir}/mod_install %files devel %defattr(-,root,root,-) %doc %{_includedir}/%{name}/*.h %changelog * Fri Jun 23 2006 Satoru SATOH 1.2.2-1 - Initial RPM release