diff --git a/README.md b/README.md index f980528..d75ce37 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libexif +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. + diff --git a/libexif-0.6.16-pkgconfig.patch b/libexif-0.6.16-pkgconfig.patch new file mode 100644 index 0000000..4552dbb --- /dev/null +++ b/libexif-0.6.16-pkgconfig.patch @@ -0,0 +1,12 @@ +diff -Nru libexif-0.6.16.orig/libexif.pc.in libexif-0.6.16/libexif.pc.in +--- libexif-0.6.16.orig/libexif.pc.in 2005-03-17 16:58:18.000000000 +0100 ++++ libexif-0.6.16/libexif.pc.in 2007-10-24 17:51:31.000000000 +0200 +@@ -1,7 +1,7 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ + libdir=@libdir@ +-includedir=@includedir@ ++includedir=@includedir@/libexif + + Name: libexif + Description: Library for easy access to EXIF data diff --git a/libexif.spec b/libexif.spec new file mode 100644 index 0000000..9749ec5 --- /dev/null +++ b/libexif.spec @@ -0,0 +1,108 @@ +Name: libexif +Version: 0.6.21 +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 +URL: http://sourceforge.net/projects/libexif +Source: http://heanet.dl.sourceforge.net/sourceforge/libexif/libexif-%{version}.tar.bz2 +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. + +%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}/*.so.* +%doc AUTHORS COPYING NEWS README + +%files devel +%defattr(-,root,root) +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%dir %{_includedir}/libexif +%{_includedir}/libexif/* +%{_libdir}/pkgconfig/libexif.pc +%dir %{_datadir}/doc/libexif +%{_datadir}/doc/libexif/* + +%changelog +* Sat Jul 14 2012 Automatic Build System 0.6.21-1mamba +- automatic version update by autodist + +* Mon Dec 20 2010 Automatic Build System 0.6.20-1mamba +- automatic update by autodist + +* Thu Sep 02 2010 Silvan Calarco 0.6.19-2mamba +- renamed from libexif6 to libexif +- rebuild to add pkgconfig provides + +* Tue May 11 2010 Automatic Build System 0.6.19-1mamba +- automatic update by autodist + +* Tue Jan 27 2009 Silvan Calarco 0.6.17-1mamba +- automatic update by autodist + +* Wed Oct 24 2007 Silvan Calarco 0.6.16-1mamba +- update to 0.6.16 +- libexit6-devel: obsolete and provide libexif-devel + +* Tue Jun 12 2007 Aleph0 0.6.14-1mamba +- update to 0.6.14: security fix (CVE-2007-2645 and more) + +* Mon Oct 30 2006 Stefano Cotta Ramusino 0.6.13-2qilnx +- added patch for pkgconfig file + +* Tue Apr 11 2006 Davide Madrisan 0.6.13-1qilnx +- update to version 0.6.13 by autospec + +* Mon Apr 04 2005 Davide Madrisan 0.5.12-2qilnx +- fixed security issue QSA-2005-036 (CAN-2005-0664) + +* Tue Dec 30 2003 Silvan Calarco 0.5.12-1qilnx +- first build