2005-03-30 Lutz Mueller <lutz@users.sourceforge.net>
[platform/upstream/libexif.git] / libexif.spec.in
1 Name: @PACKAGE@
2 Summary: EXIF tag library
3 Version: @VERSION@
4 Release: 2
5 Source: http://prdownloads.sourceforge.net/libexif/%{name}-%{version}.tar.gz
6 Url: http://sourceforge.net/projects/libexif/
7 Group: System Environment/Libraries
8 License: 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.*
46 %{_libdir}/libexif.so
47 %{_datadir}/locale/*/LC_MESSAGES/*.mo
48
49 %files devel
50 %defattr(-,root,root)
51 %{_libdir}/pkgconfig/libexif.pc
52 %{_includedir}/libexif
53 %{_libdir}/libexif.la
54 %{_libdir}/libexif.a
55