libexiv2/libexiv2.spec

114 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: libexiv2
Epoch: 1
Version: 0.24
Release: 1mamba
Summary: Exif and IPTC metadata library and tools
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.exiv2.org/
Source0: http://www.exiv2.org/exiv2-%{version}.tar.gz
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexpat-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
BuildRequires: gcc-c++
Obsoletes: libexiv2_0
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Exiv2 is a C++ library and a command line utility to access image metadata.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Exiv2 is a C++ library and a command line utility to access image metadata.
This package contains static libraries and header files need for development.
%package -n exiv2
Group: System/Tools
Summary: A command line utility to access image metadata
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n exiv2
Exiv2 is a C++ library and a command line utility to access image metadata.
This package contains static libraries and header files need for development.
%prep
%setup -q -n exiv2-%{version}
%build
%configure --disable-static
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang exiv2
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libexiv2.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/exiv2/
%{_libdir}/libexiv2.la
%{_libdir}/libexiv2.so
%{_libdir}/pkgconfig/exiv2.pc
%doc README
%files -n exiv2 -f exiv2.lang
%defattr(-,root,root)
%{_bindir}/exiv2
%{_mandir}/man1/exiv2.*
%changelog
* Mon Jan 27 2014 Automatic Build System <autodist@mambasoft.it> 0.24-1mamba
- automatic version update by autodist
* Wed Apr 25 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.23-1mamba
- update to 0.23
* Sat Dec 31 2011 Davide Madrisan <davide.madrisan@gmail.com> 0.22-1mamba
- update to 0.22
* Thu Jul 28 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.1-1mamba
- update to 0.21.1
* Wed Jan 20 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.19-1mamba
- update to 0.19
- do not provide libexiv2_0. it's not used in openmamba
- new compatibility package libexiv2_4
* Wed Sep 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17.1-3mamba
- epoch incremented
* Mon Sep 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17.1-1mamba
- remove duplicated version 0 of the library in libexiv2
* Tue Aug 26 2008 Aleph0 <aleph0@openmamba.org> 0.16-1mamba
- update to 0.15
* Thu Jun 14 2007 Aleph0 <aleph0@openmamba.org> 0.14-1mamba
- package created by autospec