libgexiv2/libgexiv2.spec

293 lines
9.8 KiB
RPMSpec
Raw Normal View History

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