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