Compare commits

...

No commits in common. 'c9' and 'cs10' have entirely different histories.
c9 ... cs10

@ -1,9 +1,15 @@
%global python_support 1
%if 0%{?rhel} && 0%{?rhel} >= 10
%global python_support 0
%endif
Name: libiptcdata
Version: 1.0.5
Release: 9%{?dist}
Release: 20%{?dist}
Summary: IPTC tag library
License: LGPLv2+
License: LGPL-2.0-only
URL: https://github.com/ianw/%{name}
Source0: https://github.com/ianw/%{name}/releases/download/%{name}-%{version}.tar.gz
@ -14,7 +20,10 @@ BuildRequires: gettext
BuildRequires: gettext-devel
BuildRequires: libtool
BuildRequires: gtk-doc
%if 0%{?python_support}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%endif
%description
@ -24,6 +33,7 @@ as captions, titles, locations, etc. in the headers of an image file.
libiptcdata also includes a command-line utility for modifying the
metadata.
%if 0%{?python_support}
%package -n python3-%{name}
Summary: Python bindings for libiptcdata
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -34,6 +44,7 @@ BuildRequires: make
The libiptcdata-python package contains a Python module that allows Python
applications to use the libiptcdata API for reading and writing IPTC
metadata in images.
%endif
%package devel
Summary: Headers and libraries for libiptcdata application development
@ -53,9 +64,13 @@ autoreconf -fiv
%build
#configure --enable-gtk-doc --disable-python --disable-static
%if 0%{?python_support}
export PYTHON_VERSION=%python3_version
%configure --enable-gtk-doc --enable-python --disable-static
%else
%configure --enable-gtk-doc --disable-python --disable-static
%endif
%make_build
@ -71,10 +86,12 @@ find %{buildroot} -name "*.la" -exec rm -f {} \;
%{_bindir}/*
%{_libdir}/lib*.so.*
%if 0%{?python_support}
%files -n python3-%{name}
%doc python/README
%doc python/examples/*
%{python3_sitearch}/*.so
%endif
%files devel
%{_libdir}/lib*.so
@ -84,12 +101,47 @@ find %{buildroot} -name "*.la" -exec rm -f {} \;
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.5-9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.0.5-20
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Aug 05 2024 Tomas Popela <tpopela@redhat.com> - 1.0.5-19
- Disable python support. This package is only in RHEL 10, because
tracker-miners requires it and it doesn't need the Python bits.
- Resolves: RHEL-52843
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.0.5-18
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.0.5-14
- Rebuilt for Python 3.12
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.5-11
- Rebuilt for Python 3.11
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.5-8
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.5-8
- Rebuilt for Python 3.10
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save