From 2461600e54e7bb9fc79fb6a0bcef3cd151827279 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:13:23 +0100 Subject: [PATCH] legacy package [release 0.23-2mamba;Sun Mar 22 2015] --- README.md | 2 + libexiv2_12.spec | 109 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 libexiv2_12.spec diff --git a/README.md b/README.md index 157e1c9..93f64c2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libexiv2_12 +Exiv2 is a C++ library and a command line utility to access image metadata. + diff --git a/libexiv2_12.spec b/libexiv2_12.spec new file mode 100644 index 0000000..c11643d --- /dev/null +++ b/libexiv2_12.spec @@ -0,0 +1,109 @@ +Name: libexiv2_12 +Epoch: 1 +Version: 0.23 +Release: 2mamba +Summary: Exif and IPTC metadata library and tools +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +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++ +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 needed for development. + +%package -n exiv2_12 +Group: System/Tools +Summary: A command line utility to access image metadata +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n exiv2_12 +Exiv2 is a C++ library and a command line utility to access image metadata. + +%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_12 -f exiv2.lang +%defattr(-,root,root) +%{_bindir}/exiv2 +%{_mandir}/man1/exiv2.* + +%changelog +* Sun Mar 22 2015 Silvan Calarco 0.23-2mamba +- legacy package + +* Wed Apr 25 2012 Ercole 'ercolinux' Carpanetto 0.23-1mamba +- update to 0.23 + +* Sat Dec 31 2011 Davide Madrisan 0.22-1mamba +- update to 0.22 + +* Thu Jul 28 2011 Silvan Calarco 0.21.1-1mamba +- update to 0.21.1 + +* Wed Jan 20 2010 Davide Madrisan 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 0.17.1-3mamba +- epoch incremented + +* Mon Sep 08 2008 Silvan Calarco 0.17.1-1mamba +- remove duplicated version 0 of the library in libexiv2 + +* Tue Aug 26 2008 Aleph0 0.16-1mamba +- update to 0.15 + +* Thu Jun 14 2007 Aleph0 0.14-1mamba +- package created by autospec