forked from pool/libgphoto2
This commit is contained in:
parent
0cfce219f5
commit
2fab051ed4
@ -143,6 +143,10 @@ pushd packaging/generic
|
||||
fi
|
||||
install -m 0755 -d $RPM_BUILD_ROOT%{_udevrulesdir}
|
||||
./print-camera-list udev-rules version 175 > $RPM_BUILD_ROOT%{_udevrulesdir}/40-libgphoto2.rules
|
||||
if [ -d /usr/lib/udev/hwdb.d ] ; then
|
||||
install -m 0755 -d $RPM_BUILD_ROOT/usr/lib/udev/hwdb.d/
|
||||
./print-camera-list hwdb > $RPM_BUILD_ROOT/usr/lib/udev/hwdb.d/20-gphoto.conf.
|
||||
fi
|
||||
popd
|
||||
# udev helpers not used here.
|
||||
rm $RPM_BUILD_ROOT/usr/%_lib/udev/check-ptp-camera
|
||||
@ -166,6 +170,7 @@ find "%buildroot/%_libdir" -type f -name "*.la" -delete
|
||||
%{_mandir}/man3/libgphoto2.3*
|
||||
%{_mandir}/man3/libgphoto2_port.3*
|
||||
%{_udevrulesdir}/40-libgphoto2.rules
|
||||
/usr/lib/udev/hwdb.d/20-gphoto.conf.
|
||||
|
||||
%files -n libgphoto2-%{major}-lang -f libgphoto2-all.lang
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user