- -libs subpkg to be multilib-friendlier
This commit is contained in:
parent
4719126aa1
commit
aa53ba65e9
37
exiv2.spec
37
exiv2.spec
@ -2,7 +2,7 @@
|
|||||||
Summary: Exif and Iptc metadata manipulation library
|
Summary: Exif and Iptc metadata manipulation library
|
||||||
Name: exiv2
|
Name: exiv2
|
||||||
Version: 0.15
|
Version: 0.15
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -18,13 +18,10 @@ BuildRequires: doxygen graphviz libxslt
|
|||||||
Patch1: exiv2-0.11-no_rpath.patch
|
Patch1: exiv2-0.11-no_rpath.patch
|
||||||
Patch2: exiv2-0.9.1-deps.patch
|
Patch2: exiv2-0.9.1-deps.patch
|
||||||
|
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Exiv2 comprises of a C++ library and a command line utility to access image
|
A command line utility to access image metadata, allowing one to:
|
||||||
metadata. Exiv2 supports full read and write access to the Exif and Iptc
|
|
||||||
metadata, Exif MakerNote support, extract and delete methods for Exif
|
|
||||||
thumbnails, classes to access Ifd and so on.
|
|
||||||
The command line utility allows you to:
|
|
||||||
* print the Exif metadata of Jpeg images as summary info, interpreted values,
|
* print the Exif metadata of Jpeg images as summary info, interpreted values,
|
||||||
or the plain data for each tag
|
or the plain data for each tag
|
||||||
* print the Iptc metadata of Jpeg images
|
* print the Iptc metadata of Jpeg images
|
||||||
@ -38,11 +35,21 @@ The command line utility allows you to:
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Header files, libraries and development documentation for %{name}
|
Summary: Header files, libraries and development documentation for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
%description devel
|
%description devel
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Exif and Iptc metadata manipulation library
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
# not *strictly* required, but runtime may expect presence of exiv2 binary
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
%description libs
|
||||||
|
A C++ library to access image metadata, supporting full read and write access
|
||||||
|
to the Exif and Iptc metadata, Exif MakerNote support, extract and delete
|
||||||
|
methods for Exif thumbnails, classes to access Ifd and so on.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -69,8 +76,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
# Unpackaged files
|
# Unpackaged files
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
||||||
|
|
||||||
# set eXecute bit on installed lib
|
# fix perms on installed lib
|
||||||
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libexiv2*.so
|
chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib*.so*
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -82,13 +89,16 @@ rm -rf $FPM_BUILD_ROOT
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files -f exiv2.lang
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README
|
%doc COPYING README
|
||||||
%{_bindir}/exiv2
|
%{_bindir}/exiv2
|
||||||
%{_libdir}/libexiv2.so.*
|
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
%files libs -f exiv2.lang
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/libexiv2.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc/html
|
%doc doc/html
|
||||||
@ -98,7 +108,10 @@ rm -rf $FPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraprojectg.org> 0.15-2
|
* Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-3
|
||||||
|
- -libs subpkg to be multilib-friendlier
|
||||||
|
|
||||||
|
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-2
|
||||||
- License: GPLv2+
|
- License: GPLv2+
|
||||||
|
|
||||||
* Thu Jul 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-1
|
* Thu Jul 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-1
|
||||||
|
Loading…
Reference in New Issue
Block a user