SPECS: hal-gphoto.spec (NEW) - separated from hal.spec

qboosh qboosh at pld-linux.org
Sat May 26 17:38:41 CEST 2007


Author: qboosh                       Date: Sat May 26 15:38:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated from hal.spec

---- Files affected:
SPECS:
   hal-gphoto.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/hal-gphoto.spec
diff -u /dev/null SPECS/hal-gphoto.spec:1.1
--- /dev/null	Sat May 26 17:38:41 2007
+++ SPECS/hal-gphoto.spec	Sat May 26 17:38:36 2007
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+Summary:	Userspace support for digital cameras
+Summary(pl.UTF-8):	Wsparcie dla kamer cyfrowych w przestrzeni użytkownika
+Name:		hal-gphoto
+# XXX: update versioning to follow gphoto2 version which data supports?
+Version:	0.5.9
+Release:	2
+# ?
+License:	GPL v2
+Group:		Applications/System
+Source0:	%{name}-libgphoto2.fdi
+Source1:	%{name}-libgphoto_udev.rules
+Requires:	hal >= 0.5.9-2
+Requires:	libusb >= 0.1.10a
+Requires:	udev >= 1:089
+Provides:	udev-digicam
+Obsoletes:	hotplug-digicam
+Obsoletes:	udev-digicam
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Set of Udev rules and HAL device information file to handle digital
+cameras in userspace.
+
+%description -l pl.UTF-8
+Zestaw reguł Udev i plik z informacjami o urządzeniach HAL-a do
+obsługi kamer cyfrowych w przestrzeni użytkownika.
+
+%prep
+
+%install
+install -d $RPM_BUILD_ROOT{%{_datadir}/hal/fdi/information,%{_sysconfdir}/udev/rules.d}
+
+install %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/%{name}/fdi/information/10freedesktop/10-gphoto.fdi
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/52-udev-gphoto.rules
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%service -q haldaemon restart
+%banner %{name} -e << EOF
+WARNING!
+ hal-gphoto NO LONGER uses special "digicam" group.
+ Please add yourself to more common "usb" group instead.
+
+EOF
+
+%files
+%defattr(644,root,root,755)
+%{_sysconfdir}/udev/rules.d/52-udev-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.1  2007/05/26 15:38:36  qboosh
+- separated from hal.spec
================================================================


More information about the pld-cvs-commit mailing list