1# This file is Copyright (C) 2002 Mark Pulford 2# SPDX-License-Identifier: LGPL-2.0-or-later 3Name: libexif 4Summary: EXIF tag library 5Version: 0.6.25 6Release: 1 7Source: https://prdownloads.sourceforge.net/libexif/%{name}-%{version}.tar.bz2 8Url: https://libexif.github.io/ 9Group: System Environment/Libraries 10License: LGPL 11# replaced Packager: header, as most people making packages will be somebody 12# else. original spec file author is Mark Pulford <mark@kyne.com.au> 13BuildRoot: %{_tmppath}/%{name}-%{version}-root 14Prefix: %{_prefix} 15 16%description 17libexif is a library for parsing, editing, and saving EXIF data. It is 18intended to replace lots of redundant implementations in command-line 19utilities and programs with GUIs. 20 21%package devel 22Summary: The files needed for libexif application development 23Group: Development/Libraries 24Requires: %{name} = %{version} 25 26%description devel 27The libexif-devel package contains the libraries and include files 28that you can use to develop libexif applications. 29 30%prep 31%setup 32 33%build 34%configure 35make 36 37%install 38rm -rf $RPM_BUILD_ROOT 39%makeinstall 40 41%clean 42rm -rf $RPM_BUILD_ROOT 43 44%files 45%defattr(-,root,root) 46%doc ChangeLog README NEWS AUTHORS COPYING 47%{_libdir}/libexif.so.* 48%{_datadir}/locale/*/LC_MESSAGES/*.mo 49 50%files devel 51%defattr(-,root,root) 52%{_libdir}/pkgconfig/libexif.pc 53%{_includedir}/libexif 54%{_libdir}/libexif.la 55%{_libdir}/libexif.a 56%{_libdir}/libexif.so 57