SHA256
1
0
forked from pool/libgphoto2

- Updated to major release 2.5.0

- more dynamic lists (no more fixed limits)
  - libgphoto2 api adjustments to make it more sane, 
    binary incompatible
  - new .so version 6

OBS-URL: https://build.opensuse.org/package/show/graphics/libgphoto2?expand=0&rev=77
This commit is contained in:
2012-09-13 08:48:03 +00:00
committed by Git OBS Bridge
parent 0f688358b6
commit 8f4344343c
6 changed files with 16 additions and 455 deletions

View File

@@ -38,12 +38,10 @@ Obsoletes: libgphoto2-64bit
Summary: A Digital Camera Library
License: LGPL-2.1+
Group: Hardware/Camera
Version: 2.4.14
Version: 2.5.0
Release: 0
Source0: libgphoto2-%{version}.tar.bz2
Source1: baselibs.conf
Patch0: lg-24-branch.patch
Patch1: libgphoto2-4096files.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Recommends: %{name}-lang = %{version}
@@ -78,8 +76,6 @@ These are its development libraries and headers.
%lang_package
%prep
%setup -q
%patch0 -p0
%patch1 -p1
%build
#AUTOPOINT=true autoreconf -fi
@@ -97,7 +93,7 @@ make check
# skip-check-libtool-deps
export LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
%makeinstall
%{find_lang} libgphoto2-2
%{find_lang} libgphoto2-6
%{find_lang} libgphoto2_port-0
cat libgphoto2-2.lang libgphoto2_port-0.lang > libgphoto2-all.lang
pushd packaging/generic
@@ -138,7 +134,6 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/libgphoto2.3*
%{_mandir}/man3/libgphoto2_port.3*
/lib/udev/rules.d/40-libgphoto2.rules
# /usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2-device.fdi
%files lang -f libgphoto2-all.lang
@@ -153,10 +148,8 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libgphoto2.pc
%{_libdir}/pkgconfig/libgphoto2_port.pc
%post
/sbin/ldconfig
%post -p /sbin/ldconfig
%postun
/sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog