Browse Source

gphoto2: update to 2.4.11, BR: libgphoto2-devel >= 2.4.11

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4103 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 14 years ago
parent
commit
652b6358f3
1 changed files with 21 additions and 9 deletions
  1. 21 9
      g/gphoto2/gphoto2-vl.spec

+ 21 - 9
g/gphoto2/gphoto2-vl.spec

@@ -1,8 +1,8 @@
 Summary: Software for accessing digital cameras
 Summary: Software for accessing digital cameras
 Summary(ja): デジタルカメラにアクセスするためのソフトウェア
 Summary(ja): デジタルカメラにアクセスするためのソフトウェア
 Name: gphoto2
 Name: gphoto2
-Version: 2.4.5
-Release: 2%{?_dist_release}
+Version: 2.4.11
+Release: 1%{?_dist_release}
 License: GPL
 License: GPL
 Group: Applications/Multimedia
 Group: Applications/Multimedia
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -12,7 +12,7 @@ ExcludeArch: s390 s390x
 
 
 Requires: grep, fileutils
 Requires: grep, fileutils
 Provides: libgphoto2 = %{version}-%{release}
 Provides: libgphoto2 = %{version}-%{release}
-BuildRequires: libgphoto2-devel
+BuildRequires: libgphoto2-devel >= 2.4.11
 BuildRequires: libusb-devel >= 0.1.11
 BuildRequires: libusb-devel >= 0.1.11
 BuildRequires: libexif-devel >= 0.6.13
 BuildRequires: libexif-devel >= 0.6.13
 BuildRequires: findutils perl popt
 BuildRequires: findutils perl popt
@@ -30,20 +30,28 @@ connections. Note that
 a) for some older camera models you must use the old "gphoto" package.
 a) for some older camera models you must use the old "gphoto" package.
 b) for USB mass storage models you must use the driver in the kernel
 b) for USB mass storage models you must use the driver in the kernel
 
 
-This package contains
-i) the library that digital camera applications can use
-ii) the command-line utility gphoto2 
+This package contains the command-line utility gphoto2 
 
 
 Other (GUI) frontends are available separately.
 Other (GUI) frontends are available separately.
 
 
+%description -l ja
+gphoto2 は様々なデジタルカメラから画像をとりだすためのフリーの
+アプリケーションとライブラリフレームワークです。古いカメラによっては
+古い gphoto パッケージが必要です。USB マスストレージとしてアクセス
+するカメラの場合は、カーネル内のドライバを利用します。
+
+このパッケージには gphoto2 のコマンドラインユーティリティが含まれて
+います。
+
 %prep
 %prep
 %setup -q
 %setup -q
 
 
 %build
 %build
-%configure --disable-rpath --enable-docs \
-  --with-doc-dic=%{_docdir}/%{name} \
-  --without-aalib
+%configure
 make %{?_smp_mflags}
 make %{?_smp_mflags}
+mv ChangeLog ChangeLog.tmp
+iconv -f iso8859-1 -t utf-8 < ChangeLog.tmp > ChangeLog
+rm -f ChangeLog.tmp
 
 
 %install
 %install
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
@@ -63,6 +71,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/gphoto2.1*
 %{_mandir}/man1/gphoto2.1*
 
 
 %changelog
 %changelog
+* Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.32.1-2
+- update to 2.4.11-1
+- BR: libgphoto2-devel >= 2.4.11
+
 * Fri Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.5-2
 * Fri Apr 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.5-2
 - rebuild with rpm-4.8.1
 - rebuild with rpm-4.8.1
 - add BuildRequires: popt-devel, libjpeg-turbo-devel
 - add BuildRequires: popt-devel, libjpeg-turbo-devel