Hello community,

here is the log from the commit of package libgphoto2 for openSUSE:Factory 
checked in at 2012-10-03 07:58:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgphoto2 (Old)
 and      /work/SRC/openSUSE:Factory/.libgphoto2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgphoto2", Maintainer is "meiss...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgphoto2/libgphoto2.changes    2012-09-23 
08:30:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libgphoto2.new/libgphoto2.changes       
2012-10-03 07:58:21.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Sep 22 16:54:39 UTC 2012 - meiss...@suse.com
+
+- split to libgphoto2-6 to allow parallel installation
+  with old libgphoto2 (2.4) and to follow shared lib convention.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libgphoto2.spec ++++++
--- /var/tmp/diff_new_pack.58ViSO/_old  2012-10-03 07:58:22.000000000 +0200
+++ /var/tmp/diff_new_pack.58ViSO/_new  2012-10-03 07:58:22.000000000 +0200
@@ -16,6 +16,8 @@
 #
 
 
+%define major 6
+
 Name:           libgphoto2
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -44,7 +46,12 @@
 Source0:        libgphoto2-%{version}.tar.bz2
 Source1:        baselibs.conf
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Recommends:     %{name}-lang = %{version}
+Recommends:     %{name}-%{major}-lang = %{version}
+
+%package -n libgphoto2-%{major}
+Summary:        A Digital Camera Library
+Group:          Hardware/Camera
+Recommends:     %{name}-%{major}-lang = %{version}
 
 %package devel
 Summary:        Development headers for libgphoto2
@@ -67,6 +74,20 @@
 
 gphoto2 --list-cameras
 
+%description -n libgphoto2-%{major}
+gPhoto (GNU Photo) is a set of libraries for previewing, retrieving,
+and capturing images from a range of supported digital cameras to your
+local hard drive. It does not support digital cameras based on the USB
+storage protocol. Those can be mounted by Linux directly.
+
+As of this time, gPhoto supports around 1200 cameras, listed on:
+
+http://gphoto.org/proj/libgphoto2/support.php
+
+or by running
+
+gphoto2 --list-cameras
+
 %description devel
 gPhoto (GNU Photo) is a set of libraries for previewing, retrieving,
 and capturing images from a range of supported digital cameras to your
@@ -74,7 +95,7 @@
 
 These are its development libraries and headers.
 
-%lang_package
+%lang_package -n libgphoto2-%{major}
 %prep
 %setup -q
 
@@ -94,9 +115,9 @@
 # skip-check-libtool-deps
 export LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
 %makeinstall
-%{find_lang} libgphoto2-6
+%{find_lang} libgphoto2-%{major}
 %{find_lang} libgphoto2_port-10
-cat libgphoto2-6.lang libgphoto2_port-10.lang > libgphoto2-all.lang
+cat libgphoto2-%{major}.lang libgphoto2_port-10.lang > libgphoto2-all.lang
 pushd packaging/generic
        export CAMLIBS=$RPM_BUILD_ROOT/%_libdir/libgphoto2/%version/
        # new style UDEV rules (gudev) which will obsolete HAL fdi files
@@ -117,7 +138,7 @@
 find "%buildroot/%_libdir" -type f -name "*.la" -delete
 %fdupes $RPM_BUILD_ROOT
 
-%files
+%files -n libgphoto2-%{major}
 %defattr(-,root,root)
 %{_libdir}/libgphoto2
 %{_libdir}/libgphoto2_port
@@ -130,7 +151,7 @@
 %{_mandir}/man3/libgphoto2_port.3*
 /lib/udev/rules.d/40-libgphoto2.rules
 
-%files lang -f libgphoto2-all.lang
+%files -n libgphoto2-%{major}-lang -f libgphoto2-all.lang
 
 %files devel
 %defattr(-,root,root)
@@ -143,8 +164,8 @@
 %{_libdir}/pkgconfig/libgphoto2.pc
 %{_libdir}/pkgconfig/libgphoto2_port.pc
 
-%post -p /sbin/ldconfig
+%post -n %name-%major -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n %name-%major -p /sbin/ldconfig
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to