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 +- reenable helper scripts + * Mon Nov 17 2014 Rex Dieter 0.3.0-3 - enable sse only in %%ix86 x86_64, sse2 on x86_64, disable elsewhere