Compare commits

..

No commits in common. "5cc1ed2121a9e48be7f66fdb1143ed89694132ab" and "52625883a2ec6e7077ea461f09ee6a07776d4284" have entirely different histories.

4 changed files with 29 additions and 40 deletions

BIN
gexiv2-0.10.8.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,15 @@
Name: libgexiv2
Version: 0.14.2
Release: 1
Version: 0.10.8
Release: 5
Summary: Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.
License: GPLv2+
License: GPLv2
URL: https://wiki.gnome.org/Projects/gexiv2
Source0: https://download.gnome.org/sources/gexiv2/0.14/gexiv2-%{version}.tar.xz
Source0: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-%{version}.tar.xz
BuildRequires: gcc-c++ exiv2-devel gobject-introspection-devel meson
BuildRequires: libtool gtk-doc vala
BuildRequires: python3-devel python3-gobject-base
#Dependency
BuildRequires: gcc-c++ exiv2-devel gobject-introspection-devel
BuildRequires: libtool python2-devel python2-gobject-base
BuildRequires: vala python3-devel python3-gobject-base
%description
gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It allows for GNOME
@ -22,6 +23,16 @@ Requires: %{name} = %{version}-%{release}
%description devel
Files for %{name} development
%package_help
%package -n python2-gexiv2
Summary: Python2 support
Requires: %{name} = %{version}-%{release}
Requires: python2-gobject-base
%description -n python2-gexiv2
This package contains support for python2
%package -n python3-gexiv2
Summary: Python3 support
Requires: %{name} = %{version}-%{release}
@ -30,24 +41,19 @@ Requires: python3-gobject-base
%description -n python3-gexiv2
This package contains support for python3
%package_help
%prep
%autosetup -n gexiv2-%{version} -p1
%build
%meson \
-Dgtk_doc=true \
-Dtests=true \
%{nil}
%meson_build
%configure --enable-introspection --enable-static=no --enable-shared=yes
%make_build
%install
%meson_install
%make_install
%delete_la
%check
%meson_test
make %{?_smp_mflags} check
#Install and uninstall scripts
%pre
@ -67,31 +73,18 @@ This package contains support for python3
%{_libdir}/libgexiv2.so
%{_libdir}/pkgconfig/gexiv2.pc
%{_datadir}/gir-1.0/GExiv2-0.10.gir
%{_datadir}/vala/vapi/gexiv2.deps
%files -n python3-gexiv2
%{_prefix}/lib/python%{python3_version}/site-packages/gi/overrides/__pycache__/GExiv2*
%{_prefix}/lib/python%{python3_version}/site-packages/gi/overrides/GExiv2.py
%files help
%{_datadir}/gtk-doc/html/gexiv2/
%{_datadir}/vala/vapi/gexiv2.vapi
%files -n python2-gexiv2
%{python2_sitearch}/gi/overrides/GExiv2.py*
%files -n python3-gexiv2
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
%{python3_sitearch}/gi/overrides/GExiv2.py
%changelog
* Fri Sep 8 2023 dillon chen <dillon.chen@gmail.com> - 0.14.2-1
- Update to 0.14.2
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.14.0-1
- Update to 0.14.0
* Tue Feb 2 2021 liudabo <liudabo1@huawei.com> - 0.12.1-1
- upgrade version to 0.12.1
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 0.10.8-6
- Type:bufix
- CVE:NA
- SUG:NA
- DESC:remove python2
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.10.8-5
- Package init

View File

@ -1,4 +0,0 @@
version_control: git
src_repo: https://gitlab.gnome.org/GNOME/gexiv2.git
tag_prefix: ^gexiv2-
seperator: .