update to 1.0.5 [release 1.0.5-1mamba;Sun Dec 26 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:40:59 +01:00
parent ecbe91d888
commit 7738100287

View File

@ -1,20 +1,18 @@
%define gitver %(echo %version | tr . _)
Name: libiptcdata
Version: 1.0.4
Version: 1.0.5
Release: 1mamba
Summary: libiptcdata is a standalone C-library for reading and writing the IPTC metadata
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: openmamba WebBuild System <webbuild@openmamba.org>
URL: http://sourceforge.net/projects/libiptcdata/
Source: http://netcologne.dl.sourceforge.net/project/libiptcdata/libiptcdata/%{version}/libiptcdata-%{version}.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/ianw/libiptcdata
Source: https://github.com/ianw/libiptcdata.git/release_%{gitver}/libiptcdata-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gtk-doc
BuildRequires: pkg-config
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libiptcdata is a standalone C-library for reading and writing the International Press Telecommunications Council (IPTC) metadata contained in various data files such as images
@ -41,6 +39,7 @@ This package includes the %{name} API documentation.
%prep
%setup -q -n libiptcdata-%{version}
./autogen.sh
%build
%configure --enable-gtk-doc
@ -50,7 +49,7 @@ This package includes the %{name} API documentation.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name} || touch %{name}.lang
%find_lang %{name} --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -60,28 +59,26 @@ This package includes the %{name} API documentation.
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/iptc
%{_libdir}/*.so.*
%{_libdir}/libiptcdata.so.*
%doc AUTHORS COPYING
%{_datadir}/locale/*/LC_MESSAGES/iptc.mo
%files devel
%defattr(-,root,root)
%{_bindir}/iptc
%{_includedir}/%{name}
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/libiptcdata.la
%{_libdir}/libiptcdata.so
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README TODO
%files apidocs
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/libiptcdata/*.html
%{_datadir}/gtk-doc/html/libiptcdata/*.png
%{_datadir}/gtk-doc/html/libiptcdata/index.sgml
%{_datadir}/gtk-doc/html/libiptcdata/libiptcdata.devhelp2
%{_datadir}/gtk-doc/html/libiptcdata/style.css
%dir %{_datadir}/gtk-doc/html/libiptcdata
%{_datadir}/gtk-doc/html/libiptcdata/*
%changelog
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
- update to 1.0.5
* Wed Aug 29 2012 openmamba WebBuild System <webbuild@openmamba.org> 1.0.4-1mamba
- package created by autospec