update to 1.0.5
This commit is contained in:
parent
c19541220c
commit
fc4ce3a8fb
Binary file not shown.
BIN
libiptcdata-1.0.5.tar.gz
Normal file
BIN
libiptcdata-1.0.5.tar.gz
Normal file
Binary file not shown.
@ -1,12 +1,14 @@
|
||||
Name: libiptcdata
|
||||
Version: 1.0.4
|
||||
Release: 21
|
||||
Version: 1.0.5
|
||||
Release: 1
|
||||
Summary: A library for manipulating the IPTC
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://libiptcdata.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: libtool gettext gtk-doc
|
||||
URL: https://github.com/ianw/%{name}
|
||||
Source0: https://github.com/ianw/%{name}/releases/download/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: autoconf automake gcc gettext gettext-devel
|
||||
BuildRequires: libtool gtk-doc python3-devel
|
||||
|
||||
%description
|
||||
Libiptcdata is written in C for operating the IPEC metadata which is stored
|
||||
@ -20,47 +22,40 @@ Summary: This package contains libraries and headers
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
%description devel
|
||||
The libraries and files used to develop applications are included in the devel package.
|
||||
|
||||
%package -n python2-libiptcdata
|
||||
%{?python_provide:%python_provide python2-libiptcdata}
|
||||
%package -n python3-%{name}
|
||||
Summary: Python bindings for libiptcdata
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: %{name}-python = %{version}-%{release}
|
||||
Obsoletes: %{name}-python < %{version}-%{release}
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%description -n python2-libiptcdata
|
||||
This python2-libiptcdata package includes a Python module which can used for Python
|
||||
%description -n python3-%{name}
|
||||
This python3-libiptcdata package includes a Python module which can used for Python
|
||||
applications reading and writing IPTC metadata in images.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
# fix compatibility with gtk-doc 1.26
|
||||
gtkdocize
|
||||
autoreconf -fiv
|
||||
|
||||
%build
|
||||
%configure --enable-python
|
||||
export PYTHON_VERSION=%python3_version
|
||||
%configure --enable-gtk-doc --enable-python
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install INSTALL="%{__install} -c -p"
|
||||
%make_install
|
||||
%delete_la_and_a
|
||||
%find_lang %{name} --all-name
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make clean
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
||||
%doc AUTHORS ChangeLog NEWS README TODO
|
||||
%license COPYING
|
||||
%{_bindir}/*
|
||||
%{_libdir}/lib*.so.*
|
||||
%exclude %{_libdir}/%{name}.la
|
||||
%exclude %{python_sitearch}/iptcdata.la
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -69,11 +64,14 @@ make clean
|
||||
%{_libdir}/lib*.so
|
||||
%{_includedir}/libiptcdata
|
||||
|
||||
%files -n python2-libiptcdata
|
||||
%files -n python3-%{name}
|
||||
%defattr(-,root,root)
|
||||
%doc python/README python/examples/*
|
||||
%{python_sitearch}/*.so
|
||||
%{python3_sitearch}/*.so
|
||||
|
||||
%changelog
|
||||
* Thu Feb 27 2020 hexiujun <hexiujun1@huawei.com> - 1.0.5-1
|
||||
- Update to 1.0.5
|
||||
|
||||
* Wed Sep 11 2019 Yiru Wang <wangyiru1@huawei.com> - 1.0.4-21
|
||||
- Pakcage init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user