update to 2.5.0
This commit is contained in:
parent
bd15ef7814
commit
b5a4827120
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/libgphoto2-2.4.14.tar.bz2
|
||||
/libgphoto2-2.5.0.tar.bz2
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -up libgphoto2-2.4.1/libgphoto2/gphoto2-list.c.maxentries libgphoto2-2.4.1/libgphoto2/gphoto2-list.c
|
||||
--- libgphoto2-2.4.1/libgphoto2/gphoto2-list.c.maxentries 2007-07-27 07:52:55.000000000 +0200
|
||||
+++ libgphoto2-2.4.1/libgphoto2/gphoto2-list.c 2008-07-07 09:27:04.000000000 +0200
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
#ifdef CAMERALIST_STRUCT_COMPATIBILITY
|
||||
|
||||
-#define MAX_ENTRIES 1024
|
||||
+#define MAX_ENTRIES 4096
|
||||
#define MAX_LIST_STRING_LENGTH 128
|
||||
struct _CameraList {
|
||||
int count;
|
@ -1,6 +1,6 @@
|
||||
Summary: Library for accessing digital cameras
|
||||
Name: libgphoto2
|
||||
Version: 2.4.14
|
||||
Version: 2.5.0
|
||||
Release: 1%{?dist}
|
||||
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
|
||||
License: GPLv2+ and GPLv2
|
||||
@ -10,11 +10,10 @@ Source0: http://downloads.sourceforge.net/gphoto/libgphoto2-%{version}.tar.bz2
|
||||
Patch1: gphoto2-pkgcfg.patch
|
||||
Patch2: gphoto2-storage.patch
|
||||
Patch3: gphoto2-ixany.patch
|
||||
Patch4: gphoto2-maxentries.patch
|
||||
Patch5: gphoto2-device-return.patch
|
||||
Patch4: gphoto2-device-return.patch
|
||||
Url: http://www.gphoto.org/
|
||||
Requires: lockdev
|
||||
BuildRequires: libusb-devel >= 0.1.5
|
||||
BuildRequires: libusb1-devel
|
||||
BuildRequires: lockdev-devel
|
||||
BuildRequires: libexif-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
@ -53,8 +52,7 @@ use libgphoto2.
|
||||
%patch1 -p1 -b .pkgcfg
|
||||
%patch2 -p1 -b .storage
|
||||
%patch3 -p1 -b .ixany
|
||||
%patch4 -p1 -b .maxentries
|
||||
%patch5 -p1 -b .device-return
|
||||
%patch4 -p1 -b .device-return
|
||||
|
||||
for i in AUTHORS COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'`; do
|
||||
mv ${i} ${i}.old
|
||||
@ -131,8 +129,8 @@ rm -rf %{buildroot}%{_libdir}/libgphoto2_port/*/*a
|
||||
rm -rf %{buildroot}%{_libdir}/*.a
|
||||
rm -rf %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%find_lang %{name}-2
|
||||
%find_lang %{name}_port-0
|
||||
%find_lang %{name}-6
|
||||
%find_lang %{name}_port-10
|
||||
cat libgphoto2*.lang >> %{name}.lang
|
||||
|
||||
%clean
|
||||
@ -168,6 +166,9 @@ rm -rf "${RPM_BUILD_ROOT}"
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 11 2012 Jindrich Novy <jnovy@redhat.com> 2.5.0-1
|
||||
- update to 2.5.0
|
||||
|
||||
* Mon Apr 16 2012 Jindrich Novy <jnovy@redhat.com> 2.4.14-1
|
||||
- update to 2.4.14
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user