From 2f6b874d2230dc9bafc298df73f2232f48cb8f59 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:13:37 +0100 Subject: [PATCH] legacy package [release 0.24-2mamba;Sun Dec 13 2015] --- README.md | 2 + libexiv2_24.spec | 116 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 libexiv2_24.spec diff --git a/README.md b/README.md index ddd280f..6a90b79 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libexiv2_24 +Exiv2 is a C++ library and a command line utility to access image metadata. + diff --git a/libexiv2_24.spec b/libexiv2_24.spec new file mode 100644 index 0000000..1dd1e78 --- /dev/null +++ b/libexiv2_24.spec @@ -0,0 +1,116 @@ +Name: libexiv2_24 +Epoch: 1 +Version: 0.24 +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++ +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 +* Sun Dec 13 2015 Silvan Calarco 0.24-2mamba +- legacy package + +* Mon Jan 27 2014 Automatic Build System 0.24-1mamba +- automatic version update by autodist + +* 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