package created by autospec [release 1.0.4-1mamba;Wed Aug 29 2012]

This commit is contained in:
openmamba WebBuild System 2024-01-06 04:40:59 +01:00
parent 76a21bff9b
commit ecbe91d888
2 changed files with 89 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libiptcdata
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

87
libiptcdata.spec Normal file
View File

@ -0,0 +1,87 @@
Name: libiptcdata
Version: 1.0.4
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
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
%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}
%build
%configure --enable-gtk-doc
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/iptc
%{_libdir}/*.so.*
%doc AUTHORS COPYING
%{_datadir}/locale/*/LC_MESSAGES/iptc.mo
%files devel
%defattr(-,root,root)
%{_includedir}/%{name}
%{_libdir}/*.la
%{_libdir}/*.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
%changelog
* Wed Aug 29 2012 openmamba WebBuild System <webbuild@openmamba.org> 1.0.4-1mamba
- package created by autospec