[lensfun] reenable helper scripts
Nils Philippsen
nphilipp at fedoraproject.org
Wed Nov 19 18:16:52 UTC 2014
commit 14c1678b91f63a29ec26af4e31137972775e6662
Author: Nils Philippsen <nils at redhat.com>
Date: Wed Nov 19 19:11:30 2014 +0100
reenable helper scripts
lensfun.spec | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/lensfun.spec b/lensfun.spec
index 83a65a6..c342460 100644
--- a/lensfun.spec
+++ b/lensfun.spec
@@ -45,6 +45,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
This package contains library and header files needed to build applications
using lensfun.
+%package tools
+Summary: Tools for managing %{name} data
+License: LGPLv3
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%description tools
+This package contains tools to fetch lens database updates and manage lens
+adapters in lensfun.
+
%prep
%setup
@@ -60,7 +68,6 @@ pushd %{_target_platform}
-DBUILD_DOC:BOOL=ON \
-DBUILD_TESTS:BOOL=OFF \
-DCMAKE_BUILD_TYPE=STRING=Release \
- -DINSTALL_HELPER_SCRIPTS:BOOL=OFF \
%{?sse} %{?sse2}
popd
@@ -74,6 +81,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
## unpackaged files
# omit cmake-installed doxygen docs, we handle that manually
rm -rfv %{buildroot}%{_docdir}/%{name}-%{version}*
+# omit g-lensfun-update-data because it needs gksudo which we don't ship
+rm -fv %{buildroot}%{_bindir}/g-lensfun-update-data \
+ %{buildroot}%{_mandir}/man1/g-lensfun-update-data.*
%post -p /sbin/ldconfig
@@ -92,8 +102,15 @@ rm -rfv %{buildroot}%{_docdir}/%{name}-%{version}*
%{_libdir}/liblensfun.so
%{_libdir}/pkgconfig/lensfun.pc
+%files tools
+%{_bindir}/*
+%{_mandir}/man1/*
+
%changelog
+* Wed Nov 19 2014 Nils Philippsen <nils at redhat.com>
+- reenable helper scripts
+
* Mon Nov 17 2014 Rex Dieter <rdieter at fedoraproject.org> 0.3.0-3
- enable sse only in %%ix86 x86_64, sse2 on x86_64, disable elsewhere
More information about the scm-commits
mailing list