Browse Source

libgphoto2 2.5.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7334 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 11 years ago
parent
commit
1db84b54c6
1 changed files with 21 additions and 8 deletions
  1. 21 8
      lib/libg/libgphoto2/libgphoto2-vl.spec

+ 21 - 8
lib/libg/libgphoto2/libgphoto2-vl.spec

@@ -1,8 +1,8 @@
 Summary: Library for accessing digital cameras
 Summary(ja): デジタルカメラにアクセスするためのライブラリ
 Name: libgphoto2
-Version: 2.4.11
-Release: 2%{?_dist_release}
+Version: 2.5.0
+Release: 1%{?_dist_release}
 
 # GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
 License: GPLv2+ and GPLv2
@@ -13,11 +13,11 @@ 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
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: libusb-devel >= 0.1.5
+BuildRequires: libusb-devel >= 0.1.6a
+BuildRequires: libusb1-devel
 BuildRequires: libexif-devel
 BuildRequires: libjpeg-devel
 BuildRequires: pkgconfig, sharutils
@@ -30,6 +30,9 @@ BuildRequires: autoconf, automake, libtool, gettext, cvs
 Obsoletes: gphoto2 < 2.4.0
 Obsoletes: gphoto2-devel < 2.4.0
 
+Vendor: Project Vine
+Distribution: Vine Linux
+
 %description
 libgphoto2 is a library that can be used by applications to access
 various digital cameras. libgphoto2 itself is not a GUI application,
@@ -40,7 +43,10 @@ however, such as gtkam for example.
 Summary: Headers and links to compile against the libgphoto2 library
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
-Requires: pkgconfig, libusb-devel >= 0.1.5, libexif-devel
+Requires: pkgconfig
+Requires: libusb-devel >= 0.1.6a
+Requires: libusb1
+Requires: libexif-devel
 Obsoletes: gphoto2 < 2.4.0-11
 Obsoletes: gphoto2-devel < 2.4.0-11
 Provides: gphoto2-devel = %{version}-%{release}
@@ -59,7 +65,6 @@ use libgphoto2.
 %patch1 -p1 -b .pkgcfg
 %patch2 -p1 -b .storage
 %patch3 -p1 -b .ixany
-%patch4 -p1 -b .maxentries
 %patch5 -p1 -b .device-return
 
 for i in AUTHORS COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB $(find -name 'README.*'); do
@@ -125,8 +130,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
@@ -163,6 +168,14 @@ rm -rf "${RPM_BUILD_ROOT}"
 
 
 %changelog
+* Fri Jan 11 2013 IWAI, Masaharu <iwai@alib.jp> 2.5.0-1
+- update to 2.5.0
+- drop MAX_ENTRIES patch (Patch4): obsolete
+- update libusb version: 0.1.5 -> 0.1.6a
+- add BuildRequires: libusb1-devel
+- add Requires: libusb1
+- add Vendor and Distribution tags
+
 * Fri Jun 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.11-2
 - add BR: dbus-devel, gd-devel
 - add --without-hal