瀏覽代碼

trunk/T/TrueType-roboto/TrueType-roboto-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6934 ec354946-7b23-47d6-9f5a-488ba84defc7
kudoh 12 年之前
父節點
當前提交
4fe12a75ba
共有 1 個文件被更改,包括 39 次插入36 次删除
  1. 39 36
      r/rabbitvcs/rabbitvcs-vl.spec

+ 39 - 36
r/rabbitvcs/rabbitvcs-vl.spec

@@ -1,32 +1,22 @@
 %define	pyver		%(python -c 'import sys;print(sys.version[0:3])')
 
-%define build_vine5 0
-
-%if "%{?_dist_release}" == "vl5"
-%define build_vine5 1
-%endif
-
 %global title RabbitVCS
 
 Summary:	Integrated Subversion support for Nautilus
 Summary(ja): 	Subversion サポートを Nautilus に追加する拡張
 Name:		rabbitvcs
-Version:	0.15.0.5
-Release: 	2%{?_dist_release}
+Version:	0.15.2
+Release: 	1%{?_dist_release}
 Source0:	http://rabbitvcs.googlecode.com/files/%{name}-%{version}.tar.bz2
-Source1:	rabbitvcs-0.14.2.1-ja.po
-Patch1:		rabbitvcs-0.14.1.1-gtk216.patch
+Source1:	rabbitvcs-0.15.2-ja.po
 License:	GPL
 Group:		Development/Tools
 URL:		http://rabbitvcs.org/
 
-#Requires:	nautilus, pygtk2,  python-configobj
-#Requires:	pygobject, pygtk2-libglade
-#Requires:	subversion, pysvn, python-simplejson
-BuildRequires:	gettext
-BuildRequires:	gtk2-devel
-BuildRequires:  pygtk2-devel
-BuildRequires:	python-devel
+BuildRequires: gettext
+BuildRequires: gtk2-devel
+BuildRequires: pygtk2-devel
+BuildRequires: python-devel
 Requires(post): gtk2
 Requires(postun): gtk2
 #BuildArch:	noarch
@@ -67,7 +57,7 @@ Group:          Development/Tools
 
 Requires:       dbus-python
 Requires:       meld
-Requires:	pygobject
+Requires:       pygobject
 Requires:       pygtk2
 Requires:       pygtk2-libglade
 Requires:       pysvn
@@ -87,7 +77,7 @@ BuildArch:      noarch
 Contains packages shared between the RabbitVCS extensions.
 
 %package nautilus
-Summary:        Nautilus extension for RabbitVCS
+Summary:       Nautilus extension for RabbitVCS
 Summary(ja): 	RabbitVCS の Nautilus 拡張
 Group:		Development/Tools
 Requires:	nautilus >= 2.22.0
@@ -111,23 +101,23 @@ RabbitVCS はバージョン管理システムにシンプルかつ直感的に
 ます。
 
 %package thunar
-Summary:        Thunar extension for RabbitVCS
+Summary:       Thunar extension for RabbitVCS
 Summary(ja):    RabbitVCS の Thunar 拡張
-Group:          Development/Tools
+Group:         Development/Tools
 Requires:	rabbitvcs-core = %{version}-%{release}
-Requires:       Thunar >= 0.4.0
-Requires:       thunarx-python >= 0.2.0
+Requires:      Thunar >= 0.4.0
+Requires:      thunarx-python >= 0.2.0
 
 %description thunar
 An extension for Thunar to allow better integration with the 
 Subversion source control system.
 
 %package gedit
-Summary:        Gedit extension for RabbitVCS
+Summary:       Gedit extension for RabbitVCS
 Summary(ja):    RabbitVCS の Gedit 拡張
-Group:          Development/Tools
+Group:         Development/Tools
 Requires:	rabbitvcs-core = %{version}-%{release}
-Requires:       gedit
+Requires:      gedit
 
 %description gedit
 RabbitVCS is a set of graphical tools written to provide simple and 
@@ -135,7 +125,7 @@ straightforward access to the version control systems you use. This is the
 extension for gedit text editor
 
 %package cli
-Summary:        CLI extension for RabbitVCS
+Summary:       CLI extension for RabbitVCS
 Summary(ja):    RabbitVCS の CLI 拡張
 Group:          Development/Tools
 Requires:	rabbitvcs-core = %{version}-%{release}
@@ -149,9 +139,6 @@ extension for command line interface.
 
 %prep
 %setup -q
-%if %{build_vine5}
-%patch1 -p1 -b .gtk216
-%endif
 
 %build
 %{__python} setup.py build
@@ -163,10 +150,10 @@ extension for command line interface.
 
 
 # install nautilus client
-%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6"
+%if %{?_dist_release} == "vl6"
 %{__install} -d -m755 ${RPM_BUILD_ROOT}/%{_libdir}/nautilus/extensions-2.0/python/
 %{__install} -m644 clients/nautilus/RabbitVCS.py ${RPM_BUILD_ROOT}/%{_libdir}/nautilus/extensions-2.0/python/
-%else 
+%else
 %{__install} -d -m755 ${RPM_BUILD_ROOT}/%{_datadir}/nautilus-python/extensions/
 %{__install} -m644 clients/nautilus-3.0/RabbitVCS.py ${RPM_BUILD_ROOT}/%{_datadir}/nautilus-python/extensions/
 %endif
@@ -176,9 +163,15 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/thunarx-2/python/
 cp clients/thunar/%{title}.py $RPM_BUILD_ROOT%{_libdir}/thunarx-2/python/%{title}.py
 
 # Installing Gedit Extension
+%if %{?_dist_release} == "vl6"
 mkdir -p $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/
 cp clients/gedit/%{name}-plugin.py $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/%{name}-plugin.py
-cp clients/gedit/%{name}.gedit-plugin $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/%{name}.gedit-plugin
+cp clients/gedit/%{name}-gedit2.gedit-plugin $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/%{name}-gedit2.gedit-plugin
+%else
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/
+cp clients/gedit/%{name}-plugin.py $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/%{name}-plugin.py
+cp clients/gedit/%{name}-gedit3.plugin $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/%{name}-gedit3.plugin
+%endif
 
 # Installing CLI Extension
 mkdir -p $RPM_BUILD_ROOT%{_bindir}
@@ -206,7 +199,6 @@ fi
 %files core
 %defattr(-, root, root, -)
 %doc %{_datadir}/doc/%{name}/
-#%{_prefix}/lib/python%{pyver}/site-packages/
 %{python_sitelib}/%{name}/
 %{python_sitelib}/%{name}-%{version}-py?.?.egg-info
 %{_datadir}/icons/hicolor/16x16/actions/
@@ -223,7 +215,7 @@ fi
 %files nautilus
 %defattr(-, root, root, -)
 %doc clients/nautilus/README
-%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6"
+%if %{?_dist_release} == "vl6"
 %{_libdir}/nautilus/extensions-2.0/python/RabbitVCS.py
 %else
 %{_datadir}/nautilus-python/extensions/RabbitVCS.py
@@ -235,14 +227,25 @@ fi
 
 %files gedit
 %defattr(-, root, root,-)
+%if %{?_dist_release} == "vl6"
 %{_libdir}/gedit-2/plugins/%{name}-plugin.py*
-%{_libdir}/gedit-2/plugins/%{name}.gedit-plugin
+%{_libdir}/gedit-2/plugins/%{name}-gedit2.gedit-plugin
+%else
+%{_libdir}/gedit/plugins/%{name}-plugin.py*
+%{_libdir}/gedit/plugins/%{name}-gedit3.plugin
+%endif
 
 %files cli
 %defattr(-, root, root,-)
 %{_bindir}/%{name}
 
 %changelog
+* Sun Oct 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.15.2-1
+- new upstream release
+- deleted conditional branch and macro for Vine 5
+- updated japanese translation (Source1)
+- set contitional branch for stable release and VineSeed for -gedit package
+
 * Tue Feb 21 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.15.0.5-2
 - rebuilt with python-2.7