SPECS: openct.spec - rel 3; add hal subpkg; fix udev
arekm
arekm at pld-linux.org
Sun Nov 16 23:14:37 CET 2008
Author: arekm Date: Sun Nov 16 22:14:37 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 3; add hal subpkg; fix udev
---- Files affected:
SPECS:
openct.spec (1.43 -> 1.44)
---- Diffs:
================================================================
Index: SPECS/openct.spec
diff -u SPECS/openct.spec:1.43 SPECS/openct.spec:1.44
--- SPECS/openct.spec:1.43 Sun Sep 7 21:10:25 2008
+++ SPECS/openct.spec Sun Nov 16 23:14:32 2008
@@ -4,7 +4,7 @@
Summary(pl.UTF-8): OpenCT - biblioteka dostępu do terminali kart procesorowych
Name: openct
Version: 0.6.15
-Release: 2
+Release: 3
License: LGPL v2.1+
Group: Applications/System
Source0: http://www.opensc-project.org/files/openct/%{name}-%{version}.tar.gz
@@ -34,6 +34,19 @@
funkcjonalność dla portów szeregowych i USB, włącznie z podłączaniem
urządzeń USB w locie (hotplug).
+%package -n hal-openct
+Summary: hal integration for OpenCT
+Summary(pl.UTF-8): Integracja OpenCT z hal
+Group: Applications/System
+Requires: %{name} = %{version}-%{release}
+Requires: udev-core
+
+%description -n hal-openct
+hal integration for OpenCT.
+
+%description -n hal-openct -l pl.UTF-8
+Integracja OpenCT z hal.
+
%package -n udev-openct
Summary: udev integration for OpenCT
Summary(pl.UTF-8): Integracja OpenCT z udevem
@@ -120,17 +133,21 @@
--with-apidocdir \
--with-bundle=%{_libdir}/pcsc/drivers \
--with-ifddir \
- --with-udev=/%{_lib}/udev
+ --with-udev=/lib/udev
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/var/run/openct,/etc/rc.d/init.d}
+install -d $RPM_BUILD_ROOT{/var/run/openct,/etc/{rc.d/init.d,udev/rules.d},/usr/share/hal/fdi/information/10freedesktop}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install etc/openct.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install etc/openct.fdi $RPM_BUILD_ROOT%{_datadir}/hal/fdi/information/10freedesktop/10-usb-openct.fdi
+install etc/openct.hald $RPM_BUILD_ROOT%{_bindir}/hald-addon-openct
+install etc/openct.udev $RPM_BUILD_ROOT/etc/udev/rules.d/50-openct.rules
+
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/openct
rm -f $RPM_BUILD_ROOT%{_libdir}/openct-*.{a,la}
@@ -171,9 +188,15 @@
%files -n udev-openct
%defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/udev/openct_pcmcia
-%attr(755,root,root) /%{_lib}/udev/openct_serial
-%attr(755,root,root) /%{_lib}/udev/openct_usb
+%attr(755,root,root) /lib/udev/openct_pcmcia
+%attr(755,root,root) /lib/udev/openct_serial
+%attr(755,root,root) /lib/udev/openct_usb
+%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/50-openct.rules
+
+%files -n hal-openct
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/hald-addon-openct
+%{_datadir}/hal/fdi/information/10freedesktop/10-usb-openct.fdi
%files -n pcsc-driver-openct
%defattr(644,root,root,755)
@@ -211,6 +234,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.44 2008/11/16 22:14:32 arekm
+- rel 3; add hal subpkg; fix udev
+
Revision 1.43 2008/09/07 19:10:25 adamg
- release 2 (against libltdl-2.2.6-1)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openct.spec?r1=1.43&r2=1.44&f=u
More information about the pld-cvs-commit
mailing list