Home | History | Annotate | Download | only in libexif
      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 (a] 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 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
     55