Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > c4c36f4e789d5c223823f59b0b4c9f20 > files > 2

libexif-gtk-0.3.5-1mdk.src.rpm

##### GENERAL STUFF #####

%define major	5
%define libname	%mklibname exif-gtk %{major}

Summary:	Library to access EXIF files (extended JPEG files)
Name:		libexif-gtk
Version:	0.3.5
Release:	1mdk
License:	LGPL
Group:		Graphics
Url:		http://sourceforge.net/projects/libexif/

##### SOURCE FILES #####

Source: http://belnet.dl.sourceforge.net/sourceforge/libexif/libexif-gtk-%{version}.tar.bz2

##### ADDITIONAL DEFINITIONS #####

BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires:	libexif-devel libgtk+2.0-devel libglib2.0-devel

##### SUB-PACKAGES #####

%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.

This library does not contain any documentation, but it seems to make
the connection between libexif, the core library for EXIF, and
GTK-based graphical frontends.

%package -n %{libname}
Summary:	Library to access EXIF files (extended JPEG files)
Provides:	libexif-gtk
Group:		Graphics

%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.

This library does not contain any documentation, but it seems to make
the connection between libexif, the core library for EXIF, and
GTK-based graphical frontends.

%package -n %{libname}-devel
Summary: Headers and links to compile against the "%{libname}" library
Requires: 	%{libname} = %{version}
Provides:	libexif-gtk-devel
Group:		Graphics

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


##### PREP #####

%prep
%setup -q

##### BUILD #####

%build
# "autogen" is needed because we have a CVS snapshot.
#./autogen.sh
%configure2_5x
%make

##### INSTALL #####

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall

# Install the README files of the source tarball in the doc directory
#cp *.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}

%find_lang %{name}

##### PRE/POST INSTALL SCRIPTS #####

%post -n %{libname}
/sbin/ldconfig

%postun -n %{libname}
/sbin/ldconfig

##### CLEAN UP #####

%clean
rm -rf $RPM_BUILD_ROOT


##### FILE LISTS FOR ALL BINARY PACKAGES #####

##### libexif-gtk
%files -n %{libname} -f %{name}.lang
%defattr(-,root,root)
%doc COPYING ChangeLog
%{_libdir}/*.so.*

##### %{libname}-devel
%files  -n %{libname}-devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/*.la
%{_libdir}/*.a
%{_libdir}/pkgconfig/*
%{_includedir}/*

##### CHANGELOG #####

%changelog
* Sat Nov 27 2004 Till Kamppeter <till@mandrakesoft.com> 0.3.5-1mdk
- Updated to version 0.3.5.

* Fri Sep  5 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.3.3-6mdk
- Nuke implicit requires

* Tue Sep  2 2003 Till Kamppeter <till@mandrakesoft.com> 0.3.3-5mdk
- Used the mklibname macro.

* Sun Jul 27 2003 Till Kamppeter <till@mandrakesoft.com> 0.3.3-4mdk
- Rebuilt for libexif 0.5.10.

* Wed Jul 23 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.3.3-3mdk
- rebuild
- don't manually rm -rf $RPM_BUILD_DIR in %%prep, rpm will take care of it by itself

* Thu Jan 16 2003 Till Kamppeter <till@mandrakesoft.com> 0.3.3-2mdk
- Requires: libexif8

* Thu Jan 16 2003 Till Kamppeter <till@mandrakesoft.com> 0.3.3-1mdk
- Updated to version 0.3.3

* Fri Aug  2 2002 Till Kamppeter <till@mandrakesoft.com> 0.3.2-1mdk
- Updated to version 0.3.2

* Fri Jul 18 2002 Till Kamppeter <till@mandrakesoft.com> 0.3.0-1mdk
- Initial release