rpms/exiv2/F-7 .cvsignore, 1.6, 1.7 exiv2.spec, 1.9, 1.10 sources, 1.6, 1.7

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon Nov 26 18:27:20 UTC 2007


Author: rdieter

Update of /cvs/pkgs/rpms/exiv2/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18163

Modified Files:
	.cvsignore exiv2.spec sources 
Log Message:
exiv2-0.15



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/exiv2/F-7/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	25 Apr 2007 12:14:26 -0000	1.6
+++ .cvsignore	26 Nov 2007 18:26:46 -0000	1.7
@@ -1,3 +1,4 @@
 clog
 exiv2-0.12.tar.gz
 exiv2-0.14.tar.gz
+exiv2-0.15.tar.gz


Index: exiv2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/exiv2/F-7/exiv2.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- exiv2.spec	25 Apr 2007 12:14:26 -0000	1.9
+++ exiv2.spec	26 Nov 2007 18:26:46 -0000	1.10
@@ -1,10 +1,15 @@
 
+%if 0%{?fedora} > 7
+# make -libs subpkg
+%define libs 1
+%endif
+
 Summary: Exif and Iptc metadata manipulation library
 Name:	 exiv2
-Version: 0.14
-Release: 1%{?dist} 
+Version: 0.15
+Release: 4%{?dist}
 
-License: GPL
+License: GPLv2+
 Group:	 Applications/Multimedia
 URL: 	 http://www.exiv2.org/
 Source0: http://www.exiv2.org/exiv2-%{version}.tar.gz
@@ -18,13 +23,15 @@
 Patch1: exiv2-0.11-no_rpath.patch
 Patch2: exiv2-0.9.1-deps.patch
 
+%if 0%{?libs}
+Requires: %{name}-libs = %{version}-%{release}
+%else
+Obsoletes: %{name}-libs < %{version}-%{release}
+Provides:  %{name}-libs = %{version}-%{release}
+%endif
 
 %description
-Exiv2 comprises of a C++ library and a command line utility to access image
-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:
+A command line utility to access image metadata, allowing one to:
 * print the Exif metadata of Jpeg images as summary info, interpreted values,
   or the plain data for each tag
 * print the Iptc metadata of Jpeg images
@@ -38,11 +45,26 @@
 %package devel
 Summary: Header files, libraries and development documentation for %{name}
 Group:	 Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
 Requires: pkgconfig
 %description devel
 %{summary}.
 
+%if 0%{?libs}
+%package libs
+Summary: Exif and Iptc metadata manipulation library
+Group: System Environment/Libraries
+# helps multilib upgrades
+# Obsoletes: %{name} < %{version}-%{release}
+# not *strictly* required, but runtime may expect presence of exiv2 binary
+# we'll try removing it, and see... -- Rex
+#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.
+%endif
+
 
 %prep
 %setup -q
@@ -69,26 +91,31 @@
 # Unpackaged files
 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
 
-# set eXecute bit on installed lib
-chmod a+x $RPM_BUILD_ROOT%{_libdir}/libexiv2*.so
+# fix perms on installed lib
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib*.so*
 
 
 %clean
 rm -rf $FPM_BUILD_ROOT
 
 
-%post -p /sbin/ldconfig
+%post %{?libs:libs} -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun %{?libs:libs} -p /sbin/ldconfig
 
 
-%files -f exiv2.lang
+%files %{!?libs:-f exiv2.lang} 
 %defattr(-,root,root,-)
 %doc COPYING README
 %{_bindir}/exiv2
-%{_libdir}/libexiv2.so.*
 %{_mandir}/man1/*
 
+%if 0%{?libs}
+%files libs -f exiv2.lang
+%defattr(-,root,root,-)
+%endif
+%{_libdir}/libexiv2.so.*
+
 %files devel
 %defattr(-,root,root,-)
 %doc doc/html
@@ -98,6 +125,18 @@
 
 
 %changelog
+* Tue Sep 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-4
+- -libs: -Requires: %%name
+
+* Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-3
+- -libs subpkg to be multilib-friendlier (f8+)
+
+* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-2
+- License: GPLv2+
+
+* Thu Jul 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-1
+- exiv2-0.15
+
 * Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.14-1
 - exiv2-0.14
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/exiv2/F-7/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	25 Apr 2007 12:14:26 -0000	1.6
+++ sources	26 Nov 2007 18:26:46 -0000	1.7
@@ -1 +1 @@
-6f8edde77d95f49fc83329feb615bb33  exiv2-0.14.tar.gz
+bb18d19e1d6fb255dadda456cadec00e  exiv2-0.15.tar.gz




More information about the fedora-extras-commits mailing list