reenable helper scripts

This commit is contained in:
Nils Philippsen 2014-11-19 19:11:30 +01:00
parent b35aa81f35
commit 14c1678b91

View File

@ -45,6 +45,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
This package contains library and header files needed to build applications This package contains library and header files needed to build applications
using lensfun. 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 %prep
%setup %setup
@ -60,7 +68,6 @@ pushd %{_target_platform}
-DBUILD_DOC:BOOL=ON \ -DBUILD_DOC:BOOL=ON \
-DBUILD_TESTS:BOOL=OFF \ -DBUILD_TESTS:BOOL=OFF \
-DCMAKE_BUILD_TYPE=STRING=Release \ -DCMAKE_BUILD_TYPE=STRING=Release \
-DINSTALL_HELPER_SCRIPTS:BOOL=OFF \
%{?sse} %{?sse2} %{?sse} %{?sse2}
popd popd
@ -74,6 +81,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
## unpackaged files ## unpackaged files
# omit cmake-installed doxygen docs, we handle that manually # omit cmake-installed doxygen docs, we handle that manually
rm -rfv %{buildroot}%{_docdir}/%{name}-%{version}* 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 %post -p /sbin/ldconfig
@ -92,8 +102,15 @@ rm -rfv %{buildroot}%{_docdir}/%{name}-%{version}*
%{_libdir}/liblensfun.so %{_libdir}/liblensfun.so
%{_libdir}/pkgconfig/lensfun.pc %{_libdir}/pkgconfig/lensfun.pc
%files tools
%{_bindir}/*
%{_mandir}/man1/*
%changelog %changelog
* Wed Nov 19 2014 Nils Philippsen <nils@redhat.com>
- reenable helper scripts
* Mon Nov 17 2014 Rex Dieter <rdieter@fedoraproject.org> 0.3.0-3 * Mon Nov 17 2014 Rex Dieter <rdieter@fedoraproject.org> 0.3.0-3
- enable sse only in %%ix86 x86_64, sse2 on x86_64, disable elsewhere - enable sse only in %%ix86 x86_64, sse2 on x86_64, disable elsewhere