move udev helper scripts to /lib/udev (#644552)

This commit is contained in:
Jindrich Novy 2010-10-20 05:31:48 +02:00
parent 15ca3bee67
commit 94d08348d7

View File

@ -1,7 +1,7 @@
Summary: Library for accessing digital cameras Summary: Library for accessing digital cameras
Name: libgphoto2 Name: libgphoto2
Version: 2.4.10 Version: 2.4.10
Release: 2%{?dist} Release: 3%{?dist}
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2 # GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
License: GPLv2+ and GPLv2 License: GPLv2+ and GPLv2
Group: Development/Libraries Group: Development/Libraries
@ -84,6 +84,7 @@ sed 's/Name: gphoto2/Name: gphoto2-port/' < gphoto2.pc.in > gphoto2-port.pc.in
%build %build
%configure \ %configure \
udevscriptdir='/lib/udev' \
--with-drivers=all \ --with-drivers=all \
--with-doc-dir=%{_docdir}/%{name} \ --with-doc-dir=%{_docdir}/%{name} \
--disable-static \ --disable-static \
@ -146,8 +147,8 @@ rm -rf "${RPM_BUILD_ROOT}"
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_datadir}/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi %{_datadir}/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi
/lib/udev/rules.d/40-libgphoto2.rules /lib/udev/rules.d/40-libgphoto2.rules
%{_libdir}/udev/check-ptp-camera /lib/udev/check-ptp-camera
%{_libdir}/udev/check-mtp-device /lib/udev/check-mtp-device
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -165,6 +166,9 @@ rm -rf "${RPM_BUILD_ROOT}"
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Oct 20 2010 Jindrich Novy <jnovy@redhat.com> 2.4.10-3
- move udev helper scripts to /lib/udev (#644552)
* Tue Sep 06 2010 Jindrich Novy <jnovy@redhat.com> 2.4.10-2 * Tue Sep 06 2010 Jindrich Novy <jnovy@redhat.com> 2.4.10-2
- BR: gd-devel because of ax203 and st2205 camlibs (#630570) - BR: gd-devel because of ax203 and st2205 camlibs (#630570)