Package init
This commit is contained in:
commit
52625883a2
BIN
gexiv2-0.10.8.tar.xz
Normal file
BIN
gexiv2-0.10.8.tar.xz
Normal file
Binary file not shown.
90
libgexiv2.spec
Normal file
90
libgexiv2.spec
Normal file
@ -0,0 +1,90 @@
|
||||
Name: libgexiv2
|
||||
Version: 0.10.8
|
||||
Release: 5
|
||||
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
|
||||
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
|
||||
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 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}
|
||||
Requires: python3-gobject-base
|
||||
|
||||
%description -n python3-gexiv2
|
||||
This package contains support for python3
|
||||
|
||||
%prep
|
||||
%autosetup -n gexiv2-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure --enable-introspection --enable-static=no --enable-shared=yes
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
#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
|
||||
|
||||
%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
|
||||
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.10.8-5
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user