K2.6 patches and update.
[tomato.git] / release / src / router / libexif / libexif.spec.in
blob48930b162c53ddca0a7a1def81f78018c2bbff2e
1 Name: @PACKAGE@
2 Summary: EXIF tag library
3 Version: @VERSION@
4 Release: 1
5 Source: http://prdownloads.sourceforge.net/libexif/%{name}-%{version}.tar.bz2
6 Url: http://sourceforge.net/projects/libexif/
7 Group: System Environment/Libraries
8 License: LGPL
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}
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.
19 %package devel
20 Summary: The files needed for libexif application development
21 Group: Development/Libraries
22 Requires: %{name} = %{version}
24 %description devel
25 The libexif-devel package contains the libraries and include files
26 that you can use to develop libexif applications.
28 %prep
29 %setup
31 %build
32 %configure
33 make
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 %makeinstall
39 %clean
40 rm -rf $RPM_BUILD_ROOT
42 %files
43 %defattr(-,root,root)
44 %doc ChangeLog README NEWS AUTHORS COPYING
45 %{_libdir}/libexif.so.*
46 %{_datadir}/locale/*/LC_MESSAGES/*.mo
48 %files devel
49 %defattr(-,root,root)
50 %{_libdir}/pkgconfig/libexif.pc
51 %{_includedir}/libexif
52 %{_libdir}/libexif.la
53 %{_libdir}/libexif.a
54 %{_libdir}/libexif.so