summaryrefslogtreecommitdiff
path: root/packaging/rpm
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2002-04-22 17:54:07 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2002-04-22 17:54:07 +0000
commit90667fec0052fa8c3ddf6e9f60c8ac45d7cd6daa (patch)
treed496e88830cf9daf50232f4d4a2dcd34c52dfe13 /packaging/rpm
parent59d8f5b05fbea0718935ad9b786c19c4d1b96532 (diff)
downloadlibgphoto2-90667fec0052fa8c3ddf6e9f60c8ac45d7cd6daa.tar.gz
reflect changed file locations
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4468 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'packaging/rpm')
-rw-r--r--packaging/rpm/package.spec.in23
1 files changed, 14 insertions, 9 deletions
diff --git a/packaging/rpm/package.spec.in b/packaging/rpm/package.spec.in
index 7beb5e788..82c64ab76 100644
--- a/packaging/rpm/package.spec.in
+++ b/packaging/rpm/package.spec.in
@@ -122,10 +122,11 @@ install
# we should move that into the proper Makefile.am eventually
install -d -m755 %{buildroot}/etc/hotplug/usb/
-install -m755 packaging/usbcam.console %{buildroot}/etc/hotplug/usb/usbcam
+install -m755 packaging/linux-hotplug/usbcam.console %{buildroot}/etc/hotplug/usb/usbcam
# build file list
-find %{buildroot} -type f -or -type l | sed 's!^%{buildroot}!!' | sort > %{name}-%{version}.files
+find %{buildroot} -type f -or -type l \
+ | sed 's!^%{buildroot}!!' | sort > %{name}-%{version}.allfiles
find %{buildroot} \( -type f -or -type l \) -and -name '*.so*' \
| sed 's!^%{buildroot}!!' | sort > %{name}-%{version}.sofiles
@@ -141,7 +142,7 @@ echo "%docdir ${htmldir}" > %{name}-%{version}.docfiles
####################################
%clean
-rm -rf "${RPM_BUILD_ROOT}"
+# rm -rf "${RPM_BUILD_ROOT}"
########################################################################
# file list and installation for main package
@@ -152,15 +153,19 @@ rm -rf "${RPM_BUILD_ROOT}"
%defattr(-,root,root)
%{_bindir}/gphoto2
%doc doc/gphoto2.txt doc/gphoto2-cli.txt
-%doc AUTHORS README COPYING
+%doc AUTHORS README COPYING doc/FAQ
+%doc packaging/linux-hotplug/usbcam.console
+%doc packaging/linux-hotplug/usbcam.user
+%doc packaging/linux-hotplug/usbcam.group
+%doc frontends/command-line/gphoto2.1
+%doc frontends/command-line/gphoto2.3
+%{_datadir}/locale/*/LC_MESSAGES/*
+%{_libdir}/pkgconfig/*.pc
+/etc/hotplug/usb/usbcam
+%{_datadir}/gphoto2/konica/*
# -f #{name}-#{version}.docfiles
#docdir doc/api/html
#docdir libgphoto2_port/doc/html
-%{_libdir}/gphoto2portConf.sh
-%{_datadir}/locale/de/LC_MESSAGES/*
-%{_libdir}/pkgconfig/libgphoto-2.0.pc
-/etc/hotplug/usb/usbcam
-%{_datadir}/gphoto2/konica/*
####################################
%post