From 1febf50d1cafca1cccd5f4bd1d264cdf5f5a756e Mon Sep 17 00:00:00 2001 From: Pierre-YvesChibon Date: Tue, 4 Dec 2007 07:24:55 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + libfprint.spec | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 78 insertions(+) create mode 100644 libfprint.spec diff --git a/.cvsignore b/.cvsignore index e69de29..ae13fae 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libfprint-0.0.4.tar.bz2 diff --git a/libfprint.spec b/libfprint.spec new file mode 100644 index 0000000..f047c60 --- /dev/null +++ b/libfprint.spec @@ -0,0 +1,76 @@ +Name: libfprint +Version: 0.0.4 +Release: 3%{?dist} +Summary: Tool kit for fingerprint scanner + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://www.reactivated.net/fprint/wiki/Main_Page +Source0: http://downloads.sourceforge.net/fprint/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libusb-devel ImageMagick-devel glib2-devel + +%description +The fprint project aims to plug a gap in the Linux desktop: support for +consumer fingerprint reader devices. +This project provides the drivers for the fingerprint scanner including +the ones with a usb id 08ff:2580 + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc COPYING INSTALL NEWS TODO THANKS AUTHORS +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%doc HACKING +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc + +%changelog +* Sat Dec 01 2007 Pingou 0.0.4-3 +- Changes on the Requires + +* Sun Nov 25 2007 Pingou 0.0.4-2 +- Changes on the Requires + +* Sat Nov 24 2007 Pingou 0.0.4-1 +- First release diff --git a/sources b/sources index e69de29..4fb1eb9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4ca061913b1fe9ad8c16ec71d9f39a9f libfprint-0.0.4.tar.bz2