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 Name: liblensfun
Version: 0.3.95 Epoch: 1
Release: 2mamba Version: 0.3.3
Release: 1mamba
Summary: A library to rectify the defects introduced by your photographic equipment Summary: A library to rectify the defects introduced by your photographic equipment
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://lensfun.sourceforge.net/ URL: https://lensfun.sourceforge.net/
Source: http://downloads.sourceforge.net/project/lensfun/%{version}/lensfun-%{version}.tar.gz Source: https://github.com/lensfun/lensfun.git/v%{version}/lensfun-%{version}.tar.bz2
Patch0: liblensfun-0.2.6-pkgconfig.patch Patch0: liblensfun-0.2.6-pkgconfig.patch
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -17,7 +18,8 @@ BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
License: LGPL License: LGPL
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root Provides: liblensfun1
Obsoletes: liblensfun1 < 0.3.33
%description %description
The goal of the lensfun library is to provide a open source database of photographic lenses and their characteristics. 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 Group: Development/Libraries
Summary: Static libraries and headers for %{name} Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: liblensfun1-devel
Obsoletes: liblensfun1-devel < 0.3.33
%description devel %description devel
The goal of the lensfun library is to provide a open source database of photographic lenses and their characteristics. 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 Group: Applications/Databases
Summary: Utility applications for %{name} Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: liblensfun1-tools
Obsoletes: liblensfun1-tools < 0.3.33
%description tools %description tools
This package contains utility applications for %{name}. This package contains utility applications for %{name}.
@ -50,8 +56,14 @@ Requires: python3
%description -n python-lensfun %description -n python-lensfun
This package contains the python binding for %{name}. This package contains the python binding for %{name}.
%debug_package
%prep %prep
%setup -q -n lensfun-%{version} %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 %build
%cmake -d build \ %cmake -d build \
@ -89,17 +101,20 @@ This package contains the python binding for %{name}.
%files -n python-lensfun %files -n python-lensfun
%defattr(-,root,root) %defattr(-,root,root)
%{python3_sitelib}/lensfun-%{version}-py*.egg-info %{python3_sitelib}/lensfun-%{version}-py*.egg
%{python3_sitelib}/lensfun/* #%{python3_sitelib}/lensfun/*
%files tools %files tools
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/g-lensfun-update-data %{_bindir}/g-lensfun-update-data
%{_bindir}/lensfun-add-adapter %{_bindir}/lensfun-add-adapter
%{_bindir}/lensfun-update-data %{_bindir}/lensfun-update-data
%{_bindir}/lensfun-convert-lcp #%{_bindir}/lensfun-convert-lcp
%changelog %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 * Mon Feb 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.95-2mamba
- liblensfun: require lliblensfun-tools - liblensfun: require lliblensfun-tools