update to 0.3.3 [release 0.3.3-1mamba;Thu Mar 09 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 04:58:03 +01:00
parent fbd0f9042e
commit ab97206872

View File

@ -1,13 +1,14 @@
Name: liblensfun
Version: 0.3.95
Release: 2mamba
Epoch: 1
Version: 0.3.3
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.sourceforge.net/
Source: http://downloads.sourceforge.net/project/lensfun/%{version}/lensfun-%{version}.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://lensfun.sourceforge.net/
Source: https://github.com/lensfun/lensfun.git/v%{version}/lensfun-%{version}.tar.bz2
Patch0: liblensfun-0.2.6-pkgconfig.patch
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -17,7 +18,8 @@ BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
License: LGPL
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Provides: liblensfun1
Obsoletes: liblensfun1 < 0.3.33
%description
The goal of the lensfun library is to provide a open source database of photographic lenses and their characteristics.
@ -27,6 +29,8 @@ The lensfun library not only provides a way to read the database and search for
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: liblensfun1-devel
Obsoletes: liblensfun1-devel < 0.3.33
%description devel
The goal of the lensfun library is to provide a open source database of photographic lenses and their characteristics.
@ -37,6 +41,8 @@ This package contains static libraries and header files need for development.
Group: Applications/Databases
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: liblensfun1-tools
Obsoletes: liblensfun1-tools < 0.3.33
%description tools
This package contains utility applications for %{name}.
@ -50,8 +56,14 @@ Requires: python3
%description -n python-lensfun
This package contains the python binding for %{name}.
%debug_package
%prep
%setup -q -n lensfun-%{version}
if [ "%{version}" == "0.3.95" ]; then
echo "ERROR: lensfun 0.3.95 is an old version packaged as liblensfun2, will not update liblensfun package."
exit 1
fi
%build
%cmake -d build \
@ -89,17 +101,20 @@ This package contains the python binding for %{name}.
%files -n python-lensfun
%defattr(-,root,root)
%{python3_sitelib}/lensfun-%{version}-py*.egg-info
%{python3_sitelib}/lensfun/*
%{python3_sitelib}/lensfun-%{version}-py*.egg
#%{python3_sitelib}/lensfun/*
%files tools
%defattr(-,root,root)
%{_bindir}/g-lensfun-update-data
%{_bindir}/lensfun-add-adapter
%{_bindir}/lensfun-update-data
%{_bindir}/lensfun-convert-lcp
#%{_bindir}/lensfun-convert-lcp
%changelog
* Thu Mar 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.3-1mamba
- update to 0.3.3
* Mon Feb 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.95-2mamba
- liblensfun: require lliblensfun-tools