79 lines
1.8 KiB
RPMSpec
79 lines
1.8 KiB
RPMSpec
Summary: Library for extracting extra information from image files
|
|
Name: libexif
|
|
Version: 0.5.12
|
|
Release: 5
|
|
Group: System Environment/Libraries
|
|
License: LGPL
|
|
URL: http://libexif.sourceforge.net/
|
|
Source0: http://umn.dl.sourceforge.net/sourceforge/libexif/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
|
%description
|
|
Most digital cameras produce EXIF files, which are JPEG files with
|
|
extra tags that contain information about the image. The EXIF library
|
|
allows you to parse an EXIF file and read the data from those tags.
|
|
|
|
%package devel
|
|
Summary: Files needed for libexif application development
|
|
Group: Development/Libraries
|
|
Requires: libexif = %{version}-%{release}
|
|
|
|
%description devel
|
|
The libexif-devel package contains the static libraries and header files
|
|
for writing programs that use libexif.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%makeinstall
|
|
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
|
%find_lang %{name}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%doc ChangeLog COPYING README
|
|
%{_libdir}/libexif.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_includedir}/libexif
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/libexif.pc
|
|
|
|
%changelog
|
|
* Wed Mar 2 2005 Matthias Clasen <mclasen@redhat.com>
|
|
- Rebuild with gcc4
|
|
|
|
* Wed Nov 9 2004 Matthias Saou <matthias.saou@est.une.marmotte.net>
|
|
- Use %%find_lang macro.
|
|
- Add %%doc files, including mandatory copy of the LGPL license.
|
|
- Use %{?_smp_mflags}
|
|
- Improve the descriptions
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Mon Dec 22 2003 Matt Wilson <msw@redhat.com>
|
|
- Initial build.
|
|
|