84 lines
2.2 KiB
RPMSpec
84 lines
2.2 KiB
RPMSpec
%define gitver %(echo %version | tr . _)
|
|
Name: libiptcdata
|
|
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: 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
|
|
## AUTOBUILDREQ-END
|
|
|
|
%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
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package apidocs
|
|
Group: Documentation
|
|
Summary: %{name} API documentation
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: gtk-doc
|
|
|
|
%description apidocs
|
|
This package includes the %{name} API documentation.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n libiptcdata-%{version}
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure --enable-gtk-doc
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%find_lang %{name} --all-name || touch %{name}.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libiptcdata.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/iptc
|
|
%{_includedir}/%{name}
|
|
%{_libdir}/libiptcdata.la
|
|
%{_libdir}/libiptcdata.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%doc ChangeLog NEWS README TODO
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%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 |