SPECS: hal.spec - as suggested by udev maintainer digital cameras ...

freetz freetz at pld-linux.org
Wed Jan 11 00:33:42 CET 2006


Author: freetz                       Date: Tue Jan 10 23:33:42 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- as suggested by udev maintainer digital cameras should be handled here
  added hal-gphoto subpkg, work in progress

---- Files affected:
SPECS:
   hal.spec (1.102 -> 1.103) 

---- Diffs:

================================================================
Index: SPECS/hal.spec
diff -u SPECS/hal.spec:1.102 SPECS/hal.spec:1.103
--- SPECS/hal.spec:1.102	Sat Jan  7 02:52:00 2006
+++ SPECS/hal.spec	Wed Jan 11 00:33:36 2006
@@ -8,7 +8,7 @@
 Summary(pl):	HAL - abstrakcyjna warstwa dostępu do sprzętu
 Name:		hal
 Version:	0.5.5.1
-Release:	2
+Release:	2.1
 License:	AFL v2.0 or GPL v2
 Group:		Libraries
 Source0:	http://freedesktop.org/~david/dist/%{name}-%{version}.tar.gz
@@ -17,6 +17,8 @@
 Source2:	%{name}d.sysconfig
 Source3:	%{name}-device-manager.desktop
 Source4:	%{name}.rules
+Source5:	%{name}-libgphoto2.fdi
+Source6:	%{name}-libgphoto_udev.rules
 Patch0:		%{name}-device_manager.patch
 Patch1:		%{name}-link.patch
 Patch2:		%{name}-pld_policy.patch
@@ -117,6 +119,24 @@
 %description device-manager -l pl
 Program dla GNOME wyświetlający urządzenia wykryte przez HAL.
 
+%package gphoto
+Summary:	Userspace support for digital cameras
+Summary(pl):	Wsparcie dla kamer cyfrowych w przestrzeni użytkownika
+Group:		Applications/System
+Requires:	%{name} = %{version}-%{release}
+Requires:	libusb >= 0.1.10-2
+Requires:	udev >= 1:079-2
+Obsoletes:	hotplug-digicam
+Obsoletes:	udev-digicam
+
+%description gphoto
+Set of Udev rules and HAL device information file to handle digital
+cameras in userspace.
+
+%description gphoto -l pl
+Zestaw reguł Udev i plik z informacjami o urządzeniach HALa do
+obsługi kamer cyfrowych w przestrzeni użytkownika.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -163,6 +183,10 @@
 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/hal.rules
 
+# hal-gphoto
+install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}/fdi/information/10freedesktop/10-gphoto.fdi
+install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/gphoto.rules
+
 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/hotplug.d
 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sl{_SI,}
 
@@ -240,12 +264,21 @@
 %attr(755,root,root) %{_datadir}/%{name}/device-manager/hal-device-manager
 %{_desktopdir}/*.desktop
 
+%files gphoto
+%defattr(644,root,root,755)
+%{_sysconfdir}/udev/rules.d/gphoto.rules
+%{_datadir}/%{name}/fdi/information/10freedesktop/10-gphoto.fdi
+
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.103  2006/01/10 23:33:36  freetz
+- as suggested by udev maintainer digital cameras should be handled here
+  added hal-gphoto subpkg, work in progress
+
 Revision 1.102  2006/01/07 01:52:00  freetz
 - rel.2 for fixed pld-policy patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hal.spec?r1=1.102&r2=1.103&f=u



More information about the pld-cvs-commit mailing list