libexif/libexif.spec

116 lines
3.5 KiB
RPMSpec
Raw Permalink Normal View History

%define gitver %(echo %version | tr . _)
Name: libexif
Version: 0.6.22
Release: 1mamba
Summary: The EXIF library allows you to parse an EXIF file and read the data from those tags
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/libexif
Source: https://github.com/libexif/libexif/releases/download/libexif-%{gitver}-release/libexif-%{version}.tar.xz
Patch: %{name}-0.6.16-pkgconfig.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
BuildRequires: doxygen
Provides: libexif6
Obsoletes: libexif6
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image.
The EXIF library allows you to parse an EXIF file and read the data from those tags.
%package devel
Summary: Static libraries and headers for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libexif6-devel
Obsoletes: libexif6-devel
%description devel
Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image.
The EXIF library allows you to parse an EXIF file and read the data from those tags.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
%patch -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang libexif-12
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f libexif-12.lang
%defattr(-,root,root)
%{_libdir}/libexif.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_libdir}/libexif.a
%{_libdir}/libexif.la
%{_libdir}/libexif.so
%dir %{_includedir}/libexif
%{_includedir}/libexif/*
%{_libdir}/pkgconfig/libexif.pc
%dir %{_datadir}/doc/libexif
%{_datadir}/doc/libexif/*
%doc NEWS README
%changelog
* Mon Jul 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.22-1mamba
- update to 0.6.22
* Sat Jul 14 2012 Automatic Build System <autodist@mambasoft.it> 0.6.21-1mamba
- automatic version update by autodist
* Mon Dec 20 2010 Automatic Build System <autodist@mambasoft.it> 0.6.20-1mamba
- automatic update by autodist
* Thu Sep 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.19-2mamba
- renamed from libexif6 to libexif
- rebuild to add pkgconfig provides
* Tue May 11 2010 Automatic Build System <autodist@mambasoft.it> 0.6.19-1mamba
- automatic update by autodist
* Tue Jan 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.17-1mamba
- automatic update by autodist
* Wed Oct 24 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.16-1mamba
- update to 0.6.16
- libexit6-devel: obsolete and provide libexif-devel
* Tue Jun 12 2007 Aleph0 <aleph0@openmamba.org> 0.6.14-1mamba
- update to 0.6.14: security fix (CVE-2007-2645 and more)
* Mon Oct 30 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.6.13-2qilnx
- added patch for pkgconfig file
* Tue Apr 11 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.13-1qilnx
- update to version 0.6.13 by autospec
* Mon Apr 04 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.5.12-2qilnx
- fixed security issue QSA-2005-036 (CAN-2005-0664)
* Tue Dec 30 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.12-1qilnx
- first build