Browse Source

update: kdebindings

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1827 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 14 years ago
parent
commit
3e06d2b9fd
1 changed files with 49 additions and 24 deletions
  1. 49 24
      k/kdebindings/kdebindings-vl.spec

+ 49 - 24
k/kdebindings/kdebindings-vl.spec

@@ -24,20 +24,20 @@
 %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
 
 Name: kdebindings
-Version: 4.5.0
-Release: 1%{?_dist_release}
 Summary: KDE bindings to non-C++ languages.
-Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdebindings-%{version}.tar.bz2
+Summary(ja): C++ 言語以外の KDE バインディング集
+Version: 4.5.1
+Release: 1%{?_dist_release}
 
 # http://techbase.kde.org/Policies/Licensing_Policy
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.kde.org/
 
-# fix build with CMAKE_SKIP_RPATH - also needs sed line below
-# WARNING: This is a bunch of quick hacks to get this to build. Please do not
-#          commit this upstream without further discussion.
-Patch1:  kdebindings-4.3.75-no-rpath.patch
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdebindings-%{version}.tar.bz2
+
+## upstreamable patches
+Patch50: kdebindings-4.5.1-RUBY_VERSION.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  akonadi-devel >= 1.4.0
@@ -82,8 +82,12 @@ Conflicts: kdebindings < 4
 %description
 KDE bindings to non-C++ languages
 
+%description -l ja
+C++ 言語以外の KDE バインディング集です.
+
 %package devel
 Summary: Development files for kdebindings.
+Summary(ja): kdebindings の開発用ファイル
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
 Requires: kdelibs4-devel
@@ -107,6 +111,7 @@ Requires: PyQt4 >= %{pyqt4_version}
 
 %package -n PyKDE4-akonadi
 Summary: Akonadi runtime support for PyKDE4 
+Summary(ja): PyKDE4 の Akonadi サポート 
 Group: Development/Languages 
 Requires: PyKDE4 = %{version}-%{release}
 Requires: kdepimlibs-akonadi >= %{version} 
@@ -115,8 +120,9 @@ Requires: kdepimlibs-akonadi >= %{version}
 %{summary}.
 
 %package -n PyKDE4-devel
-Group:    Development/Libraries
 Summary:  Files needed to build PyKDE4-based applications
+Summary(ja): PyKDE4 を使用するアプリケーションのビルドに必要なファイル集
+Group:    Development/Libraries
 Requires: PyQt4-devel
 Requires: PyKDE4 = %{version}-%{release}
 Requires: PyKDE4-akonadi = %{version}-%{release}
@@ -127,9 +133,9 @@ Requires: PyKDE4-akonadi = %{version}-%{release}
 # C# bindings
 %if %{csharp}
 %package -n kimono
-Group:    Development/Languages
 Summary:  C# bindings for KDE4
 Summary(ja): KDE4 の C# バインディング
+Group:    Development/Languages
 Requires: kdelibs4 >= %{version}
 Requires: qyoto = %{version}-%{release}
 Provides: kimono4 = %{version}-%{release}
@@ -138,9 +144,9 @@ Provides: kimono4 = %{version}-%{release}
 %{summary}.
 
 %package -n qyoto
-Group:    Development/Languages
 Summary:  C# bindings for Qt4
 Summary(ja): Qt4 の C# バインディング
+Group:    Development/Languages
 Requires: qt4 >= %{qt4_version} 
 Provides: qyoto4 = %{version}-%{release}
 
@@ -148,8 +154,9 @@ Provides: qyoto4 = %{version}-%{release}
 %{summary}.
 
 %package -n qyoto-devel
-Group:    Development/Libraries
 Summary:  Development files for qyoto
+Summary(ja): qyoto の開発用ファイル
+Group:    Development/Libraries
 Requires: qyoto = %{version}-%{release}
 Requires: mono-devel
 Provides: qyoto4-devel = %{version}-%{release}
@@ -161,9 +168,9 @@ Provides: qyoto4-devel = %{version}-%{release}
 # Ruby
 %if %{ruby}
 %package -n korundum
-Group:    Development/Languages
 Summary:  Ruby bindings for KDE4
 Summary(ja): KDE4 の Ruby バインディング
+Group:    Development/Languages
 Requires: kdelibs4 >= %{version}
 Requires: QtRuby = %{version}-%{release}
 Provides: korundum4 = %{version}-%{release}
@@ -172,8 +179,9 @@ Provides: korundum4 = %{version}-%{release}
 %{summary}.
 
 %package -n korundum-devel
-Group:    Development/Libraries
 Summary:  Development files for korundum
+Summary(ja): korundum の開発用ファイル
+Group:    Development/Libraries
 Requires: QtRuby-devel
 Requires: korundum = %{version}-%{release}
 Provides: korundum4-devel = %{version}-%{release}
@@ -182,9 +190,9 @@ Provides: korundum4-devel = %{version}-%{release}
 %{summary}.
 
 %package -n QtRuby
-Group:    Development/Languages
 Summary:  Ruby bindings for Qt4
 Summary(ja): Qt4 の Ruby バインディング
+Group:    Development/Languages
 Requires: qt4 >= %{qt4_version} 
 Provides: QtRuby4 = %{version}-%{release}
 
@@ -192,8 +200,9 @@ Provides: QtRuby4 = %{version}-%{release}
 %{summary}.
 
 %package -n QtRuby-devel
-Group:    Development/Libraries
 Summary:  Development files for QtRuby
+Summary(ja): QtRuby の開発用ファイル
+Group:    Development/Libraries
 Requires: QtRuby = %{version}-%{release}
 Provides: QtRuby4-devel = %{version}-%{release}
 %description -n QtRuby-devel
@@ -202,9 +211,9 @@ Provides: QtRuby4-devel = %{version}-%{release}
 
 %if %{php}
 %package -n php-qt
-Group:    Development/Languages
 Summary:  PHP bindings for Qt4
 Summary(ja): Qt4 の PHP バインディング
+Group:    Development/Languages
 Requires: qt4 >= %{qt4_version} 
 Provides: php-qt4 = %{version}-%{release}
 
@@ -212,8 +221,9 @@ Provides: php-qt4 = %{version}-%{release}
 %{summary}.
 
 %package -n php-qt-devel
-Group:    Development/Libraries
 Summary:  Development files for php-qt
+Summary(ja): php-qt の開発用ファイル
+Group:    Development/Libraries
 Requires: php-qt = %{version}-%{release}
 Provides: php-qt4-devel = %{version}-%{release}
 
@@ -222,45 +232,55 @@ Provides: php-qt4-devel = %{version}-%{release}
 %endif
 
 %package -n kross-python
-Group:    Development/Languages
 Summary:  Kross plugin for python
+Summary(ja): Python 向け Kross プラグイン
+Group:    Development/Languages
 Requires: kdelibs4 >= %{version}
 Provides: kross(python) = %{version}-%{release}
 
 %description -n kross-python
 Python plugin for the Kross archtecture in KDE4.
 
+%description -n kross-python -l ja
+KDE 4 の Kross アーキテクチャ向け python プラグインです.
+
+
 %if %{ruby}
 %package -n kross-ruby
-Group:    Development/Languages
 Summary:  Kross plugin for ruby
+Summary(ja): Ruby 向け Kross プラグイン
+Group:    Development/Languages
 Requires: ruby
 Requires: kdelibs4 >= %{version}
 Provides: kross(ruby) = %{version}-%{release}
 
 %description -n kross-ruby
 Ruby plugin for the Kross archtecture in KDE4.
+
+%description -n kross-ruby -l ja
+KDE 4 の Kross アーキテクチャ向け ruby プラグインです.
 %endif
 
 %if %{falcon}
 %package -n kross-falcon
-Group:    Development/Languages
 Summary:  Kross plugin for falcon
+Summary(ja): Falcon 向け Kross プラグイン
+Group:    Development/Languages
 Requires: Falcon >= 0.8.12
 Requires: kdelibs4 >= %{version}
 Provides: kross(falcon) = %{version}-%{release}
 
 %description -n kross-falcon
 Falcon plugin for the Kross archtecture in KDE4.
+
+%description -n kross-falcon -l ja
+KDE 4 の Kross アーキテクチャ向け falcon プラグインです.
 %endif
 
 
 %prep
 %setup -q -n kdebindings-%{version}
-
-# do the no-rpath hack last, after the upstream backports (if any)
-#patch1 -p1 -b .no-rpath
-#sed -i -e 's!COMMAND generator!COMMAND ${PROJECT_BINARY_DIR}/generator/bin/generator${CMAKE_EXECUTABLE_SUFFIX}.shell!g' -e 's/WORKING_DIRECTORY/DEPENDS generator WORKING_DIRECTORY/g' smoke/*/CMakeLists.txt
+%patch50 -p1 -b .RUBY_VERSION
 
 %build
 mkdir -p %{_target_platform}
@@ -549,6 +569,11 @@ fi
 %endif
 
 %changelog
+* Sat Sep 18 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-1
+- new upstream release
+- added Patch50
+- added more japanese summaries
+
 * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.0-1
 - new upstream release