summaryrefslogtreecommitdiffstats
path: root/mingw32-libexif.spec
blob: 5335ef163e66451fc485e33c8064ed8dca63cc18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
%define __strip %{_mingw32_strip}
%define __objdump %{_mingw32_objdump}
%define _use_internal_dependency_generator 0
%define __find_requires %{_mingw32_findrequires}
%define __find_provides %{_mingw32_findprovides}


# The number N in libexif-N.dll
%global libexif_major 12


Name:		mingw32-libexif
Version:	0.6.19
Release:	1%{?dist}
Summary:	Library for extracting extra information from image files

Group:		System Environment/Libraries
License:	LGPLv2+
URL:		http://libexif.sourceforge.net/
Source0:	http://prdownloads.sourceforge.net/libexif/libexif-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	mingw32-binutils
BuildRequires:	mingw32-gcc

BuildArch:	noarch


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


%prep
%setup -q


%build
%configure --disable-static --disable-docs
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING README NEWS
%{_mingw32_bindir}/libexif-%{libexif_major}.dll
%{_mingw32_includedir}/libexif
%{_mingw32_libdir}/libexif.dll.a
%{_mingw32_libdir}/libexif.la
%{_mingw32_libdir}/pkgconfig/libexif.pc


%changelog
* Sat Jan  2 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.6.19-1
- Initial mingw32-libexif package