removed Packager: header - makes no sense in software distribution
[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 # replaced Packager: header, as most people making packages will be somebody
10 # else. original spec file author is Mark Pulford <mark@kyne.com.au>
11 BuildRoot: %{_tmppath}/%{name}-%{version}-root
12 Prefix: %{_prefix}
13
14 %description
15 libexif is a library for parsing, editing, and saving EXIF data. It is
16 intended to replace lots of redundant implementations in command-line
17 utilities and programs with GUIs.
18
19 %package devel
20 Summary: The files needed for libexif application development
21 Group: Development/Libraries
22 Requires: %{name} = %{version}
23
24 %description devel
25 The libexif-devel package contains the libraries and include files
26 that you can use to develop libexif applications.
27
28 %prep
29 %setup
30
31 %build
32 %configure
33 make
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 %makeinstall
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(-,root,root)
44 %doc ChangeLog README
45 %{_libdir}/libexif.so.5.0.0
46 %{_libdir}/libexif.la
47 %{_libdir}/libexif.a
48
49 %files devel
50 %defattr(-,root,root)
51 %{_libdir}/pkgconfig/libexif.pc
52 %{_includedir}/libexif/exif-byte-order.h
53 %{_includedir}/libexif/exif-content.h
54 %{_includedir}/libexif/exif-data.h
55 %{_includedir}/libexif/exif-entry.h
56 %{_includedir}/libexif/exif-format.h
57 %{_includedir}/libexif/exif-result.h
58 %{_includedir}/libexif/exif-tag.h
59 %{_includedir}/libexif/exif-utils.h