Blame SPECS/libgexiv2.spec

677075
%if 0%{?rhel} > 7
677075
# Disable python2 build by default
677075
%bcond_with python2
677075
%else
677075
%bcond_without python2
677075
%endif
677075
677075
Name:           libgexiv2
677075
Version:        0.10.8
0034b9
Release:        4%{?dist}
677075
Summary:        Gexiv2 is a GObject-based wrapper around the Exiv2 library
677075
677075
License:        GPLv2+
677075
URL:            https://wiki.gnome.org/Projects/gexiv2
677075
Source0:        https://download.gnome.org/sources/gexiv2/0.10/gexiv2-%{version}.tar.xz
677075
0034b9
Patch0:         libgexiv2-build-against-exiv-027.patch
0034b9
677075
BuildRequires:  exiv2-devel
677075
BuildRequires:  gobject-introspection-devel
677075
BuildRequires:  libtool
677075
%if %{with python2}
677075
BuildRequires:  python2-devel
677075
BuildRequires:  python2-gobject-base
677075
%endif # with python2
677075
BuildRequires:  vala
677075
%if 0%{?fedora} || 0%{?rhel} > 7
677075
BuildRequires:  python3-devel
677075
BuildRequires:  python3-gobject-base
677075
%endif
677075
677075
%description
677075
libgexiv2 is a GObject-based wrapper around the Exiv2 library. 
677075
It makes the basic features of Exiv2 available to GNOME applications.
677075
677075
%package        devel
677075
Summary:        Development files for %{name}
677075
Requires:       %{name}%{?_isa} = %{version}-%{release}
677075
677075
%description    devel
677075
The %{name}-devel package contains libraries and header files for
677075
developing applications that use %{name}.
677075
677075
%if %{with python2}
677075
%package -n     python2-gexiv2
677075
Summary:        Python2 bindings for %{name}
677075
Requires:       %{name}%{?_isa} = %{version}-%{release}
677075
Requires:       python-gobject-base%{?_isa}
677075
# For upgrade path from F24
677075
Provides:       libgexiv2-python2 = %{name}-%{version}
677075
Obsoletes:      libgexiv2-python2 < 0.10.4
677075
677075
%description -n python2-gexiv2
677075
This package contains the python2 bindings for %{name}
677075
%endif # with python2
677075
677075
%if 0%{?fedora} || 0%{?rhel} > 7
677075
%package -n     python3-gexiv2
677075
Summary:        Python3 bindings for %{name}
677075
Requires:       %{name}%{?_isa} = %{version}-%{release}
677075
Requires:       python3-gobject-base%{?_isa}
677075
# For upgrade path from F24
677075
Provides:       libgexiv2-python3 = %{name}-%{version}
677075
Obsoletes:      libgexiv2-python3 < 0.10.4
677075
677075
%description -n python3-gexiv2
677075
This package contains the python3 bindings for %{name}
677075
%endif
677075
677075
%prep
677075
%setup -q -n gexiv2-%{version}
677075
0034b9
%patch0 -p1 -b .build-against-exiv-027
0034b9
677075
%build
677075
%configure --enable-introspection --enable-static=no --enable-shared=yes
677075
%make_build
677075
677075
%install
677075
%make_install
677075
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
677075
677075
%check
677075
make check
677075
677075
%ldconfig_scriptlets
677075
677075
%files
677075
%license COPYING
677075
%doc AUTHORS THANKS README
677075
%{_libdir}/libgexiv2.so.2*
677075
%{_libdir}/girepository-1.0/GExiv2-0.10.typelib
677075
677075
%files devel
677075
%{_includedir}/gexiv2/
677075
%{_datadir}/gir-1.0/GExiv2-0.10.gir
677075
%{_libdir}/libgexiv2.so
677075
%{_libdir}/pkgconfig/gexiv2.pc
677075
%dir %{_datadir}/gtk-doc
677075
%dir %{_datadir}/gtk-doc/html
677075
%{_datadir}/gtk-doc/html/gexiv2/
677075
%dir %{_datadir}/vala
677075
%dir %{_datadir}/vala/vapi
677075
%{_datadir}/vala/vapi/gexiv2.vapi
677075
677075
%if %{with python2}
677075
%files -n python2-gexiv2
677075
%{python2_sitearch}/gi/overrides/GExiv2.py*
677075
%endif # with python2
677075
677075
%if 0%{?fedora} || 0%{?rhel} > 7
677075
%files -n python3-gexiv2
677075
%{python3_sitearch}/gi/overrides/GExiv2.py
677075
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
677075
%endif
677075
677075
%changelog
0034b9
* Tue Oct 29 2019 Tomas Pelka <tpelka@redhat.com> - 0.10.8-4
0034b9
- Rebuild again to correctly trigger side-tag gating (exiv2)
0034b9
  Resolves: bz#1757444
0034b9
0034b9
* Tue Oct 15 2019 Jan Grulich <jgrulich@redhat.com> - 0.10.8-3
0034b9
- Rebuild (exiv2)
0034b9
  Resolves: bz#1757444
0034b9
677075
* Thu Jun 07 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.10.8-2
677075
- Conditionalize the python2 subpackage
677075
677075
* Tue Feb 06 2018 Kalev Lember <klember@redhat.com> - 0.10.8-1
677075
- Update to 0.10.8
677075
677075
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.7-2
677075
- Switch to %%ldconfig_scriptlets
677075
677075
* Sat Dec 30 2017 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.10.7-1
677075
- Update to latest upstream release
677075
677075
* Thu Dec 07 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.10.6-4
677075
- Cleanup spec file conditionals
677075
677075
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.6-3
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
677075
677075
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.6-2
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
677075
677075
* Sat May 13 2017 Kalev Lember <klember@redhat.com> - 0.10.6-1
677075
- Update to 0.10.6
677075
677075
* Tue May 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.10.5-3
677075
- Rebuild against new exiv2 soname
677075
677075
* Thu Apr 27 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.10.5-2
677075
- Add Provides to retain compatibility
677075
677075
* Tue Mar 21 2017 Kalev Lember <klember@redhat.com> - 0.10.5-1
677075
- Update to 0.10.5
677075
- Build API documentation
677075
- Update source URL
677075
- Enable the test suite
677075
677075
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.4-4
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
677075
677075
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.10.4-3
677075
- Rebuild for Python 3.6
677075
677075
* Thu Sep 22 2016 Kalev Lember <klember@redhat.com> - 0.10.4-2
677075
- BR vala instead of obsolete vala-tools subpackage
677075
677075
* Mon Aug 15 2016 Kalev Lember <klember@redhat.com> - 0.10.4-1
677075
- Update to 0.10.4
677075
- Use license macro for COPYING
677075
- Rename python2 and python3 subpackages are per latest guidelines
677075
- Use make_install and make_build macros
677075
- Tighten soname glob
677075
677075
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-7
677075
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
677075
677075
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.3-6
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
677075
677075
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-5
677075
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
677075
677075
* Wed Jun 24 2015 Rex Dieter <rdieter@fedoraproject.org> - 0.10.3-4
677075
- rebuild (exiv2)
677075
677075
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-3
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
677075
677075
* Tue Apr 28 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.10.3-2
677075
- Rebuild for gcc5 again.
677075
677075
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 0.10.3-1
677075
- Update to 0.10.3
677075
677075
* Fri Mar 20 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.10.2-2
677075
- Rebuild since exiv was rebuild for gcc5 and that seems to have broken things
677075
677075
* Wed Sep 17 2014 Kalev Lember <kalevlember@gmail.com> - 0.10.2-1
677075
- Update to 0.10.2
677075
- Tighten deps with the _isa macro
677075
- Co-own the vala vapi directories in -devel
677075
677075
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-5
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
677075
677075
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.10.1-4
677075
- Rebuilt for gobject-introspection 1.41.4
677075
677075
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-3
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
677075
677075
* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 0.10.1-2
677075
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
677075
677075
* Tue Apr 29 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.10.1-1
677075
- Update to latest upstream release
677075
- Contains bugfix for https://bugzilla.gnome.org/show_bug.cgi?id=728909
677075
677075
* Tue Mar 18 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.10.0-1
677075
- Update to latest release
677075
677075
* Thu Feb 06 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.9.1-1
677075
- Update to new release with fixes
677075
- Do not use tests yet, cant get them to run properly
677075
677075
* Wed Feb 05 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.9.0-1
677075
- Update to latest unstable release
677075
677075
* Tue Dec 03 2013 Rex Dieter <rdieter@fedoraproject.org> 0.7.0-2
677075
- rebuild (exiv2)
677075
677075
* Tue Oct 08 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.7.0-1
677075
- Update to latest upstream release
677075
677075
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
677075
677075
* Sun May 19 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.6.1-1
677075
- Update to 0.6.1
677075
677075
* Tue May 14 2013 Matthias Clasen <mclasen@redhat.com> 0.5.0-8
677075
- .gir files belong in the devel package
677075
677075
* Wed May 08 2013 Richard Hughes <richard@hughsie.com> 0.5.0-7
677075
- RHEL7 does not have python3
677075
677075
* Wed Mar 20 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.0-6
677075
- Fix requires
677075
677075
* Wed Mar 20 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.0-5
677075
- Fix python bindings generation
677075
- Add new subpackages for python2,3 bindings
677075
677075
* Tue Mar 19 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.0-4
677075
- Add patch to remove overlinking rhbz#818587
677075
677075
* Mon Mar 11 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.0-3
677075
- Enable introspection for py support
677075
- add new files for introspection
677075
677075
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
677075
677075
* Sun Jan 06 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.0-1
677075
- Update to 0.5.0
677075
- rhbz#890402
677075
677075
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
677075
677075
* Wed May 02 2012 Rex Dieter <rdieter@fedoraproject.org> - 0.4.1-2
677075
- rebuild (exiv2)
677075
677075
* Tue Apr 03 2012 Kalev Lember <kalevlember@gmail.com> - 0.4.1-1
677075
- Update to 0.4.1
677075
677075
* Thu Feb 23 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.91-1
677075
- Update to 0.3.91
677075
- rhbz #796278
677075
- remove patches
677075
677075
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-4
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
677075
677075
* Fri Oct 14 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.2.2-3
677075
- rebuild (exiv2)
677075
677075
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
677075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
677075
677075
* Sat Jan 01 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.2.2-1
677075
- 0.2.2
677075
- exiv2-0.21 patch
677075
677075
* Tue Aug 24 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.2.0-1
677075
- update to latest upstream release
677075
677075
* Sun Aug 08 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.1.90-1
677075
- update to latest upstream release
677075
677075
* Tue Jul 13 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.1.0-1
677075
- update to latest upstream release
677075
677075
* Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2
677075
- changed file section so package owns the directory containing headers too
677075
677075
* Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1
677075
- updated to latest release
677075
- removed patch - it was included in this release
677075
677075
* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5
677075
- changed configure macro as per bug report comment
677075
677075
* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4
677075
- changed configure portion
677075
- added Requires:  vala for devel
677075
- made the file section more precise
677075
- bugzilla #599097 
677075
- changed patch to include a default LIB setting
677075
677075
* Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3
677075
- patched makefile
677075
677075
* Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2
677075
- some fixes in spec
677075
- moved *.vapi to devel
677075
- removed INSTALL from doc
677075
- added comment to yorba ticket link
677075
- corrected typo in description
677075
677075
* Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1
677075
- initial rpmbuild