libgexiv2/libgexiv2.spec

93 lines
2.1 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:56:12 -04:00
Name: libgexiv2
2021-02-02 10:33:36 +08:00
Version: 0.12.1
Release: 1
2019-09-30 10:56:12 -04:00
Summary: Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.
License: GPLv2
URL: https://wiki.gnome.org/Projects/gexiv2
Source0: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-%{version}.tar.xz
#Dependency
2021-02-02 10:33:36 +08:00
BuildRequires: gcc-c++ exiv2-devel gobject-introspection-devel meson
BuildRequires: libtool gtk-doc vala
2019-09-30 10:56:12 -04:00
BuildRequires: vala python3-devel python3-gobject-base
%description
gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It allows for GNOME
applications to easily inspect and update EXIF, IPTC, and XMP metadata in photo and video
files of various formats.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
Files for %{name} development
%package_help
%package -n python3-gexiv2
Summary: Python3 support
Requires: %{name} = %{version}-%{release}
Requires: python3-gobject-base
%description -n python3-gexiv2
This package contains support for python3
%prep
%autosetup -n gexiv2-%{version} -p1
%build
2021-02-02 10:33:36 +08:00
%meson \
-Dgtk_doc=true\
-Dpython3_girdir=%{python3_sitearch}/gi/overrides\
%{nil}
%meson_build
2019-09-30 10:56:12 -04:00
%install
2021-02-02 10:33:36 +08:00
%meson_install
2019-09-30 10:56:12 -04:00
%delete_la
%check
2021-02-02 10:33:36 +08:00
%meson_test
2019-09-30 10:56:12 -04:00
#Install and uninstall scripts
%pre
%preun
%ldconfig_scriptlets
%files
%doc AUTHORS THANKS README
%license COPYING
%{_libdir}/libgexiv2.so.2*
%{_libdir}/girepository-1.0/GExiv2-0.10.typelib
%files devel
%{_includedir}/gexiv2/
%{_libdir}/libgexiv2.so
%{_libdir}/pkgconfig/gexiv2.pc
%{_datadir}/gir-1.0/GExiv2-0.10.gir
2021-02-02 10:33:36 +08:00
%{_datadir}/vala/vapi/gexiv2.deps
2019-09-30 10:56:12 -04:00
%files help
%{_datadir}/gtk-doc/html/gexiv2/
%{_datadir}/vala/vapi/gexiv2.vapi
%files -n python3-gexiv2
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
%{python3_sitearch}/gi/overrides/GExiv2.py
%changelog
2021-02-02 10:33:36 +08:00
* Tue Feb 2 2021 liudabo <liudabo1@huawei.com> - 0.12.1-1
- upgrade version to 0.12.1
2020-10-30 16:27:03 +08:00
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 0.10.8-6
- Type:bufix
- CVE:NA
- SUG:NA
- DESC:remove python2
2019-09-30 10:56:12 -04:00
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.10.8-5
- Package init