- Use %%find_lang macro.

- Add %%doc files, including mandatory copy of the LGPL license.
- Use %{?_smp_mflags}
- Improve the descriptions
This commit is contained in:
Marco Pesenti Gritti 2004-11-09 08:52:18 +00:00
parent 1e6dd3f929
commit 344a5376fb

View File

@ -1,7 +1,7 @@
Summary: libexif is a library for extracting extra information from image files
Summary: Library for extracting extra information from image files
Name: libexif
Version: 0.5.12
Release: 3
Release: 4
Group: System Environment/Libraries
License: LGPL
URL: http://libexif.sourceforge.net/
@ -14,7 +14,7 @@ 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: libexif development
Summary: Files needed for libexif application development
Group: Development/Libraries
Requires: libexif = %{version}-%{release}
@ -27,12 +27,13 @@ for writing programs that use libexif.
%build
%configure
make
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
@ -41,11 +42,10 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%files
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc
%doc ChangeLog COPYING README
%{_libdir}/libexif.so.*
%{_datadir}/locale/*/LC_MESSAGES/libexif.mo
%files devel
%defattr(-,root,root,-)
@ -55,6 +55,12 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libexif.pc
%changelog
* 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
@ -66,3 +72,4 @@ rm -rf $RPM_BUILD_ROOT
* Mon Dec 22 2003 Matt Wilson <msw@redhat.com>
- Initial build.