diff --git a/liblensfun.spec b/liblensfun.spec index 6495923..c791704 100644 --- a/liblensfun.spec +++ b/liblensfun.spec @@ -1,13 +1,13 @@ Name: liblensfun -Version: 0.2.8 +Version: 0.3.0 Release: 1mamba Summary: A library to rectify the defects introduced by your photographic equipment Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan -URL: http://lensfun.berlios.de/ -Source: http://download.berlios.de/lensfun/lensfun-%{version}.tar.bz2 +URL: http://lensfun.sourceforge.net/ +Source: https://downloads.sourceforge.net/project/lensfun/%{version}/lensfun-%{version}.tar.bz2 Patch0: liblensfun-0.2.6-pkgconfig.patch ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -32,20 +32,25 @@ The goal of the lensfun library is to provide a open source database of photogra The lensfun library not only provides a way to read the database and search for specific things in it, but also provides a set of algorithms for correcting images based on detailed knowledge of lens properties. This package contains static libraries and header files need for development. +%package tools +Group: Applications/Databases +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + %prep %setup -q -n lensfun-%{version} -#%patch0 -p0 %build -#./configure \ -# --cflags="${CFLAGS:-%optflags}" \ -# --cxxflags="${CXXFLAGS:-%optflags}" \ -# --prefix=%{_prefix} \ -# --target=..generic \ -#%ifarch arm -# --vectorization= -#%endif -%cmake -d build +%cmake -d build \ +\ +%ifarch arm + -DBUILD_FOR_SSE=OFF \ + -DBUILD_FOR_SSE2=OFF +%endif + %make %install @@ -67,15 +72,20 @@ This package contains static libraries and header files need for development. %files devel %defattr(-,root,root) -%{_bindir}/example -%{_bindir}/tfun -%{_bindir}/trwxml %dir %{_includedir}/lensfun %{_includedir}/lensfun/lensfun.h %{_libdir}/liblensfun.so %{_libdir}/pkgconfig/lensfun.pc +%files tools +%{_bindir}/g-lensfun-update-data +%{_bindir}/lensfun-add-adapter +%{_bindir}/lensfun-update-data + %changelog +* Thu Oct 16 2014 Silvan Calarco 0.3.0-1mamba +- update to 0.3.0 + * Fri Dec 06 2013 Automatic Build System 0.2.8-1mamba - automatic version update by autodist