rpms/openct/devel openct.spec,1.8,1.9
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Mon Mar 6 15:50:50 UTC 2006
Author: scop
Update of /cvs/extras/rpms/openct/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27827
Modified Files:
openct.spec
Log Message:
* Mon Mar 6 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.6-5
- Rebuild with new pcsc-lite.
Index: openct.spec
===================================================================
RCS file: /cvs/extras/rpms/openct/devel/openct.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- openct.spec 15 Feb 2006 07:31:39 -0000 1.8
+++ openct.spec 6 Mar 2006 15:50:50 -0000 1.9
@@ -1,6 +1,8 @@
+%define dropdir %(pkg-config libpcsclite --variable=usbdropdir)
+
Name: openct
Version: 0.6.6
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Middleware framework for smart card terminals
Group: System Environment/Libraries
@@ -14,7 +16,7 @@
Patch0: %{name}-0.6.6-rpath64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: pcsc-lite-devel
+BuildRequires: pcsc-lite-devel >= 1.3.0
BuildRequires: libusb-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: sed
@@ -64,7 +66,7 @@
%configure \
--disable-dependency-tracking \
--disable-static \
- --with-bundle-dir=%{_libdir}/pcsc/drivers
+ --with-bundle-dir=%{dropdir}
make %{?_smp_mflags}
@@ -76,7 +78,7 @@
%{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/60-openct.rules
ln -sf %{_libdir}/openct-ifd.so \
- $RPM_BUILD_ROOT%{_libdir}/pcsc/drivers/openct-ifd.bundle/Contents/*/
+ $RPM_BUILD_ROOT%{dropdir}/openct-ifd.bundle/Contents/*/
install -pm 644 etc/openct.conf $RPM_BUILD_ROOT%{_sysconfdir}/openct.conf
install -Dpm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/openct
@@ -148,10 +150,13 @@
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/reader.conf.d/%{name}.conf
%{_libdir}/openct-ifd.so
-%{_libdir}/pcsc/drivers/openct-ifd.bundle/
+%{dropdir}/openct-ifd.bundle/
%changelog
+* Mon Mar 6 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.6-5
+- Rebuild with new pcsc-lite.
+
* Wed Feb 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6.6-4
- Avoid standard rpaths on lib64 archs.
More information about the fedora-extras-commits
mailing list