blob: 6337f2ecda1df9c67e6f2da4ec975c5663c27303 [file] [log] [blame]
Marco Nelissen548dde42014-01-07 10:11:28 -08001Name: libexif
2Summary: EXIF tag library
3Version: 0.6.21
4Release: 1
5Source: http://prdownloads.sourceforge.net/libexif/%{name}-%{version}.tar.bz2
6Url: http://sourceforge.net/projects/libexif/
7Group: System Environment/Libraries
8License: 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>
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12Prefix: %{_prefix}
13
14%description
15libexif is a library for parsing, editing, and saving EXIF data. It is
16intended to replace lots of redundant implementations in command-line
17utilities and programs with GUIs.
18
19%package devel
20Summary: The files needed for libexif application development
21Group: Development/Libraries
22Requires: %{name} = %{version}
23
24%description devel
25The libexif-devel package contains the libraries and include files
26that you can use to develop libexif applications.
27
28%prep
29%setup
30
31%build
32%configure
33make
34
35%install
36rm -rf $RPM_BUILD_ROOT
37%makeinstall
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(-,root,root)
44%doc ChangeLog README NEWS AUTHORS COPYING
45%{_libdir}/libexif.so.*
46%{_datadir}/locale/*/LC_MESSAGES/*.mo
47
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