|
|
|
@ -1,33 +1,20 @@
|
|
|
|
|
%if 0%{?rhel} > 7
|
|
|
|
|
# Disable python2 build by default
|
|
|
|
|
%bcond_with python2
|
|
|
|
|
%else
|
|
|
|
|
%bcond_without python2
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: libgexiv2
|
|
|
|
|
Version: 0.10.8
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.12.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://wiki.gnome.org/Projects/gexiv2
|
|
|
|
|
Source0: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
Patch0: libgexiv2-build-against-exiv-027.patch
|
|
|
|
|
Source0: https://download.gnome.org/sources/gexiv2/0.12/gexiv2-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: exiv2-devel
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python2-gobject-base
|
|
|
|
|
%endif # with python2
|
|
|
|
|
BuildRequires: meson
|
|
|
|
|
BuildRequires: vala
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-gobject-base
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
libgexiv2 is a GObject-based wrapper around the Exiv2 library.
|
|
|
|
@ -41,90 +28,130 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
%package -n python2-gexiv2
|
|
|
|
|
Summary: Python2 bindings for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: python-gobject-base%{?_isa}
|
|
|
|
|
# For upgrade path from F24
|
|
|
|
|
Provides: libgexiv2-python2 = %{name}-%{version}
|
|
|
|
|
Obsoletes: libgexiv2-python2 < 0.10.4
|
|
|
|
|
|
|
|
|
|
%description -n python2-gexiv2
|
|
|
|
|
This package contains the python2 bindings for %{name}
|
|
|
|
|
%endif # with python2
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
%package -n python3-gexiv2
|
|
|
|
|
Summary: Python3 bindings for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: python3-gobject-base%{?_isa}
|
|
|
|
|
# For upgrade path from F24
|
|
|
|
|
Provides: libgexiv2-python3 = %{name}-%{version}
|
|
|
|
|
Obsoletes: libgexiv2-python3 < 0.10.4
|
|
|
|
|
|
|
|
|
|
%description -n python3-gexiv2
|
|
|
|
|
This package contains the python3 bindings for %{name}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n gexiv2-%{version}
|
|
|
|
|
|
|
|
|
|
%patch0 -p1 -b .build-against-exiv-027
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-introspection --enable-static=no --enable-shared=yes
|
|
|
|
|
%make_build
|
|
|
|
|
%meson \
|
|
|
|
|
-Dgtk_doc=true \
|
|
|
|
|
-Dpython3_girdir=%{python3_sitearch}/gi/overrides \
|
|
|
|
|
%{nil}
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS THANKS README
|
|
|
|
|
%{_libdir}/libgexiv2.so.2*
|
|
|
|
|
%dir %{_libdir}/girepository-1.0
|
|
|
|
|
%{_libdir}/girepository-1.0/GExiv2-0.10.typelib
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/gexiv2/
|
|
|
|
|
%{_datadir}/gir-1.0/GExiv2-0.10.gir
|
|
|
|
|
%{_libdir}/libgexiv2.so
|
|
|
|
|
%{_libdir}/pkgconfig/gexiv2.pc
|
|
|
|
|
%dir %{_datadir}/gir-1.0
|
|
|
|
|
%{_datadir}/gir-1.0/GExiv2-0.10.gir
|
|
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
|
|
|
|
%{_datadir}/gtk-doc/html/gexiv2/
|
|
|
|
|
%dir %{_datadir}/vala
|
|
|
|
|
%dir %{_datadir}/vala/vapi
|
|
|
|
|
%{_datadir}/vala/vapi/gexiv2.deps
|
|
|
|
|
%{_datadir}/vala/vapi/gexiv2.vapi
|
|
|
|
|
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
%files -n python2-gexiv2
|
|
|
|
|
%{python2_sitearch}/gi/overrides/GExiv2.py*
|
|
|
|
|
%endif # with python2
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
%files -n python3-gexiv2
|
|
|
|
|
%{python3_sitearch}/gi/overrides/GExiv2.py
|
|
|
|
|
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2019 Tomas Pelka <tpelka@redhat.com> - 0.10.8-4
|
|
|
|
|
- Rebuild again to correctly trigger side-tag gating (exiv2)
|
|
|
|
|
Resolves: bz#1757444
|
|
|
|
|
* Sun Aug 15 2021 Kalev Lember <klember@redhat.com> - 0.12.3-1
|
|
|
|
|
- Update to 0.12.3
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.12.2-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.12.2-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Sat Feb 20 2021 Kalev Lember <klember@redhat.com> - 0.12.2-2
|
|
|
|
|
- Remove no longer needed ldconfig_scriptlets macro call
|
|
|
|
|
- Remove explicit byte compilation as the automatic works for flatpak builds now
|
|
|
|
|
|
|
|
|
|
* Sat Feb 20 2021 Kalev Lember <klember@redhat.com> - 0.12.2-1
|
|
|
|
|
- Update to 0.12.2
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.12.1-2
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Mon May 25 2020 Kalev Lember <klember@redhat.com> - 0.12.1-1
|
|
|
|
|
- Update to 0.12.1
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-4
|
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-3
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 0.12.0-1
|
|
|
|
|
- Update to 0.12.0
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 30 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.11.0-3
|
|
|
|
|
- rebuild (exiv2)
|
|
|
|
|
|
|
|
|
|
* Tue Jan 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.11.0-2
|
|
|
|
|
- Subpackage python2-gexiv2 has been removed
|
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
|
|
|
|
|
* Tue Jan 08 2019 Kalev Lember <klember@redhat.com> - 0.11.0-1
|
|
|
|
|
- Update to 0.11.0
|
|
|
|
|
|
|
|
|
|
* Tue Jan 01 2019 Kalev Lember <klember@redhat.com> - 0.10.10-1
|
|
|
|
|
- Update to 0.10.10
|
|
|
|
|
- Co-own gir directories
|
|
|
|
|
|
|
|
|
|
* Sun Nov 18 2018 Kalev Lember <klember@redhat.com> - 0.10.9-1
|
|
|
|
|
- Update to 0.10.9
|
|
|
|
|
- Switch to the meson build system
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.8-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Oct 15 2019 Jan Grulich <jgrulich@redhat.com> - 0.10.8-3
|
|
|
|
|
- Rebuild (exiv2)
|
|
|
|
|
Resolves: bz#1757444
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.10.8-3
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
|
|
* Thu Jun 07 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.10.8-2
|
|
|
|
|
- Conditionalize the python2 subpackage
|
|
|
|
|
* Tue Feb 20 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.10.8-2
|
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
|
|
|
|
|
* Tue Feb 06 2018 Kalev Lember <klember@redhat.com> - 0.10.8-1
|
|
|
|
|
- Update to 0.10.8
|
|
|
|
|