Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > c523acdec969c1831ca2a1f768c55334 > files > 3

libexif-0.6.21-5.mga3.src.rpm

%define	major		12
%define libname		%mklibname exif %{major}
%define develname	%mklibname exif -d
%define langname	libexif-%{major}

Summary:	Library to access EXIF files (extended JPEG files)
Name:		libexif
Version:	0.6.21
Release:	%mkrel 5
License:	LGPLv2+
Group:		System/Libraries
Url:		http://sourceforge.net/projects/libexif/
Source:		http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2
Patch0:		libexif-0.6.13-pkgconfig-fix.patch
BuildRequires:	doxygen
BuildRequires:	gettext-devel
BuildRequires:	libtool

%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 -n %{name}%{major}-common
Summary:	Library to access EXIF files - Translations
Group:		System/Internationalization
Conflicts:	%{mklibname -d exif 12} < 0.6.17-3
Conflicts:	%{mklibname -d exif} < 0.6.17-3
Conflicts:	libexif < 0.6.17-3
Obsoletes:	libexif < 0.6.17-3

%description -n %{name}%{major}-common
This package contains the translations for %{name}%{major}.

%package -n %{libname}
Summary:	Library to access EXIF files (extended JPEG files)
Provides:	libexif = %{version}-%{release}
Requires:	%{name}%{major}-common = %{version}-%{release}
Group:		System/Libraries

%description -n %{libname}
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 -n %{develname}
Summary: 	Headers and links to compile against the "%{libname}" library
Requires: 	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}
Obsoletes:	%{mklibname exif 12 -d}
Provides:	%{mklibname exif 12 -d} = %{version}-%{release}
Group:		Development/C

%description -n %{develname}
This package contains all files which one needs to compile programs using
the "%{libname}" library.


%prep
%setup -q
%patch0 -p2 -b .includedir

%build
#sh ./autogen.sh
libtoolize --copy --force --install; aclocal -I auto-m4 -I m4m; autoconf; automake -a -c

%configure2_5x
%make

%check
make check

%install
%makeinstall
%find_lang %{langname}

%files -n %{name}%{major}-common -f %{langname}.lang

%files -n %{libname} 
%{_libdir}/*.so.%{major}*

%files -n %{develname} 
%{_libdir}/*.so
%{_libdir}/*.la
%{_libdir}/*.a
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_docdir}/libexif


%changelog

* Sat Jan 12 2013 umeabot <umeabot> 0.6.21-5.mga3
+ Revision: 357074
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Jan 05 2013 cjw <cjw> 0.6.21-4.mga3
+ Revision: 339223
- fix automake/libtoolize invocations

* Fri Nov 30 2012 ovitters <ovitters> 0.6.21-3.mga3
+ Revision: 323374
- clean spec
- update rpm group

* Thu Jul 26 2012 luigiwalser <luigiwalser> 0.6.21-2.mga3
+ Revision: 274556
- use make check during build (mga #6777)

* Fri Jul 13 2012 luigiwalser <luigiwalser> 0.6.21-1.mga3
+ Revision: 270502
- 0.6.21 (fixes several security issues)

* Mon Jan 10 2011 dmorgan <dmorgan> 0.6.20-1.mga1
+ Revision: 5494
- imported package libexif