automatic version update by autodist [release 2.2.1-1mamba;Wed Jul 10 2013]

This commit is contained in:
Automatic Build System 2024-01-06 04:12:55 +01:00
parent 483cb4fa0b
commit 38e2f605d8
2 changed files with 109 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libexempi # libexempi
libexempi provides a library for easy parsing of XMP metadata. It is a port of Adobe XMP SDK to work on UNIX and to be build with GNU automake. It includes XMPCore and XMPFiles.

107
libexempi.spec Normal file
View File

@ -0,0 +1,107 @@
Name: libexempi
Version: 2.2.1
Release: 1mamba
Summary: a library to parse XMP metadata.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libopenraw.freedesktop.org/wiki/Exempi
Source: http://libopenraw.freedesktop.org/download/exempi-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexpat-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: pkg-config
## AUTOBUILDREQ-END
BuildRequires: libboost-devel
#BuildRequires: libiconv-devel
BuildRequires: libXpm-devel
BuildRequires: pkgconfig
#BuildRequires: gdb
#BuildRequires: valgrind
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{name} provides a library for easy parsing of XMP metadata. It is a port of Adobe XMP SDK to work on UNIX and to be build with GNU automake. It includes XMPCore and XMPFiles.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
%{name} provides a library for easy parsing of XMP metadata. It is a port of Adobe XMP SDK to work on UNIX and to be build with GNU automake. It includes XMPCore and XMPFiles.
This package contains libraries and header files need for development.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
%{name} provides a library for easy parsing of XMP metadata. It is a port of Adobe XMP SDK to work on UNIX and to be build with GNU automake. It includes XMPCore and XMPFiles.
This package contains static libraries need for development.
%prep
%setup -q -n exempi-%{version}
%build
%configure LDFLAGS="-L%{_libdir}" CPPFLAGS="-I%{_includedir}"
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make
#check
#ake check
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/exempi
%{_libdir}/*.so.*
%{_mandir}/man1/exempi.1.gz
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/exempi-2.0
%dir %{_includedir}/exempi-2.0/exempi
%{_includedir}/exempi-2.0/exempi/*.h
%{_includedir}/exempi-2.0/exempi/xmp++.hpp
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README
%files static
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.la
%changelog
* Wed Jul 10 2013 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
* Tue Oct 09 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Sun May 16 2010 gil <puntogil@libero.it> 2.1.1-1mamba
- update to 2.1.1
* Sun Feb 01 2009 gil <puntogil@libero.it> 2.1.0-1mamba
- package created by autospec