|
@@ -1,7 +1,7 @@
|
|
Name: libgexiv2
|
|
Name: libgexiv2
|
|
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
|
|
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
|
|
Summary(ja): Exiv2 ライブラリの GObject ベースのラッパー
|
|
Summary(ja): Exiv2 ライブラリの GObject ベースのラッパー
|
|
-Version: 0.10.6
|
|
|
|
|
|
+Version: 0.10.8
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
@@ -19,6 +19,14 @@ BuildRequires: expat-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: libtool
|
|
|
|
|
|
|
|
+BuildRequires: vala-devel vala-tools
|
|
|
|
+BuildRequires: python-devel
|
|
|
|
+BuildRequires: pygobject3
|
|
|
|
+BuildRequires: python3-devel
|
|
|
|
+BuildRequires: python3-pygobject
|
|
|
|
+BuildRequires: python3-rpm-macros
|
|
|
|
+
|
|
|
|
+
|
|
%description
|
|
%description
|
|
libgexiv2 is a GObject-based wrapper around the Exiv2 library.
|
|
libgexiv2 is a GObject-based wrapper around the Exiv2 library.
|
|
It makes the basic features of Exiv2 available to GNOME applications.
|
|
It makes the basic features of Exiv2 available to GNOME applications.
|
|
@@ -40,6 +48,22 @@ Requires: glib2-devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
+%package -n python-gexiv2
|
|
|
|
+Summary: Python2 bindings for %{name}
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: pygobject3
|
|
|
|
+
|
|
|
|
+%description -n python-gexiv2
|
|
|
|
+This package contains the python bindings for %{name}
|
|
|
|
+
|
|
|
|
+%package -n python3-gexiv2
|
|
|
|
+Summary: Python3 bindings for %{name}
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: python3-pygobject
|
|
|
|
+
|
|
|
|
+%description -n python3-gexiv2
|
|
|
|
+This package contains the python3 bindings for %{name}
|
|
|
|
+
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n gexiv2-%{version}
|
|
%setup -q -n gexiv2-%{version}
|
|
@@ -48,23 +72,19 @@ developing applications that use %{name}.
|
|
## configure fails with the error:
|
|
## configure fails with the error:
|
|
## configure: Invalid argument --program-prefix=
|
|
## configure: Invalid argument --program-prefix=
|
|
## http://trac.yorba.org:8000/ticket/2001
|
|
## http://trac.yorba.org:8000/ticket/2001
|
|
-
|
|
|
|
-echo '%{configure}' | sed '/--program-prefix=/d' >build.tmp
|
|
|
|
-echo 'make %{?_smp_mflags}' >>build.tmp
|
|
|
|
|
|
+echo '%configure' | sed '/--program-prefix=/d' > build.tmp
|
|
|
|
+echo 'make %{?_smp_mflags}' >> build.tmp
|
|
sh build.tmp
|
|
sh build.tmp
|
|
|
|
|
|
%install
|
|
%install
|
|
-%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
-%{__make} install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib}
|
|
|
|
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
-find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
|
|
|
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
+%{make_install}
|
|
|
|
+find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
-
|
|
|
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
%post -p %{_syssbindir}/ldconfig
|
|
%post -p %{_syssbindir}/ldconfig
|
|
-
|
|
|
|
%postun -p %{_syssbindir}/ldconfig
|
|
%postun -p %{_syssbindir}/ldconfig
|
|
|
|
|
|
|
|
|
|
@@ -83,8 +103,18 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
|
|
%{_datadir}/gtk-doc/
|
|
%{_datadir}/gtk-doc/
|
|
%{_datadir}/vala/vapi/gexiv2.vapi
|
|
%{_datadir}/vala/vapi/gexiv2.vapi
|
|
|
|
|
|
|
|
+%files -n python-gexiv2
|
|
|
|
+%{python_sitearch}/gi/overrides/GExiv2.py*
|
|
|
|
+
|
|
|
|
+%files -n python3-gexiv2
|
|
|
|
+%{python3_sitearch}/gi/overrides/GExiv2.py
|
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Oct 08 2018 Toshiaki Ara <ara_t@384.jp> 0.10.8-1
|
|
|
|
+- update to 0.10.8
|
|
|
|
+- add new subpackages for python2/python3 bindings
|
|
|
|
+
|
|
* Tue Oct 02 2018 Toshiaki Ara <ara_t@384.jp> 0.10.6-1
|
|
* Tue Oct 02 2018 Toshiaki Ara <ara_t@384.jp> 0.10.6-1
|
|
- update to 0.10.6
|
|
- update to 0.10.6
|
|
|
|
|