2002-03-01 Lutz Müller <lutz@users.sourceforge.net>
[platform/upstream/libexif.git] / libexif.spec.in
1 Name: @PACKAGE@
2 Summary: EXIF tag library
3 Version: @VERSION@
4 Release: 1
5 Source: http://prdownloads.sourceforge.net/libexif/%{name}-%{version}.tar.gz
6 Url: http://sourceforge.net/projects/libexif/
7 Group: System Environment/Libraries
8 Copyright: GPL
9 Packager: Mark Pulford <mark@kyne.com.au>
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11 Prefix: %{_prefix}
12
13 %description
14 libexif is a library for parsing, editing, and saving EXIF data. It is
15 intended to replace lots of redundant implementations in command-line
16 utilities and programs with GUIs.
17
18 %package devel
19 Summary: The files needed for libexif application development
20 Group: Development/Libraries
21 Requires: %{name} = %{version}
22
23 %description devel
24 The libexif-devel package contains the libraries and include files
25 that you can use to develop libexif applications.
26
27 %prep
28 %setup
29
30 %build
31 %configure
32 make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %makeinstall
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(-,root,root)
43 %doc ChangeLog README
44 %{_libdir}/libexif.so.5.0.0
45 %{_libdir}/libexif.la
46 %{_libdir}/libexif.a
47
48 %files devel
49 %defattr(-,root,root)
50 %{_libdir}/pkgconfig/libexif.pc
51 %{_includedir}/libexif/exif-byte-order.h
52 %{_includedir}/libexif/exif-content.h
53 %{_includedir}/libexif/exif-data.h
54 %{_includedir}/libexif/exif-entry.h
55 %{_includedir}/libexif/exif-format.h
56 %{_includedir}/libexif/exif-result.h
57 %{_includedir}/libexif/exif-tag.h
58 %{_includedir}/libexif/exif-utils.h