update to 0.3.0 [release 0.3.0-1mamba;Thu Oct 16 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 04:58:02 +01:00
parent 62683b47a4
commit 0f7d4a6f7c

View File

@ -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 <davide.madrisan@gmail.com>
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 <silvan.calarco@mambasoft.it> 0.3.0-1mamba
- update to 0.3.0
* Fri Dec 06 2013 Automatic Build System <autodist@mambasoft.it> 0.2.8-1mamba
- automatic version update by autodist