summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-12-31 09:24:42 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-12-31 09:24:42 +0000
commitd0832a674e666ef35c43d4d3c86372967fa175b5 (patch)
tree4e56e11b3e2bbab27e6a05ff04cbf489e795cf1f
parent0567198e697c642a476c459072154f63bed43f63 (diff)
commit librfid SPEC file for fedora (Kushal Das)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1950 e0336214-984f-0b4b-a45f-81c69e1f0ede
-rw-r--r--librfid.spec73
1 files changed, 73 insertions, 0 deletions
diff --git a/librfid.spec b/librfid.spec
new file mode 100644
index 0000000..3823bf6
--- /dev/null
+++ b/librfid.spec
@@ -0,0 +1,73 @@
+Name: librfid
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: The librfid is a Free Software RFID library
+
+Group: System Environment/Libraries
+License: GPL
+URL: http://www.openmrtd.org/projects/librfid/
+Source0: http://www.openmrtd.org/projects/librfid/files/%{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: libusb-devel
+
+
+%description
+librfid is a Free Software RFID library. It implements the PCD (reader)
+side protocol stack of ISO 14443 A, ISO 14443 B, ISO 15693,
+Mifare Ultralight and Mifare Classic. Support for iCODE and
+other 13.56MHz based transponders is planned.
+
+
+%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
+
+
+%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 README TODO
+%{_libdir}/*.so.*
+%{_bindir}/librfid-tool
+%{_bindir}/mifare-tool
+%{_bindir}/send_script
+
+%files devel
+%defattr(-,root,root,-)
+%doc COPYING README TODO
+%{_includedir}/*
+%{_libdir}/*.so
+
+
+%changelog
+* Sat Dec 30 2006 Kushal Das <kushal@openpcd.org> 0.1.0-1
+- Initial release
personal git repositories of Harald Welte. Your mileage may vary