123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- %define pyver %(python -c 'import sys;print(sys.version[0:3])')
- %define build_vine5 0
- %if "%{?_dist_release}" == "vl5"
- %define build_vine5 1
- %endif
- Summary: Integrated Subversion support for Nautilus
- Summary(ja): Subversion サポートを Nautilus に追加する拡張
- Name: rabbitvcs
- Version: 0.14.2.1
- Release: 1%{?_dist_release}
- Source0: http://rabbitvcs.googlecode.com/files/%{name}-%{version}.tar.gz
- Source1: rabbitvcs-0.14.2.1-ja.po
- Patch1: rabbitvcs-0.14.1.1-gtk216.patch
- License: GPL
- Group: Development/Tools
- URL: http://rabbitvcs.org/
- Requires: nautilus, pygtk2, python-configobj
- Requires: pygobject, pygtk2-libglade
- Requires: subversion, pysvn, python-simplejson
- BuildRequires: python-devel, gettext
- Requires(post): gtk2
- Requires(postun): gtk2
- #BuildArch: noarch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Packager: kazutaka
- %description
- RabbitVCS is a set of graphical tools written to provide simple
- and straightforward access to the version control systems you use.
- This package containg core part of RabbitVCS and not connected
- to to any file manager or text editor.
- Front-ends or clients is privided separetely as a Nautilus
- extention, Thunar extention and Gedit plugin, and a command line
- utility.
- %description -l ja
- RabbitVCS はバージョン管理システムにシンプルかつ直感的にアクセス
- できるよう設計された GUI のツールです。
- このパッケージには RabbitVCS のコアとなる部分だけが含まれており、
- 特定のファイルマネージャやテキストエディタに依存しないようになっ
- ています。
- フロントエンドやクライアントは Nautilus 及び Thunar 用の拡張と、
- Gedit 用のプラグイン、そしてコマンドラインのユーティリティが、
- 別パッケージとして提供されています。
- %package nautilus
- Summary: Integrated Subversion support for Nautilus
- Summary(ja): Subversion サポートを Nautilus に追加する拡張
- Group: Development/Tools
- Requires: nautilus >= 2.22.0
- Requires: nautilus-python >= 0.7.0
- Requires: dbus-python > 0.80
- Requires: rabbitvcs >= %{version}-%{release}
- Obsoletes: nautilussvn
- %description nautilus
- RabbitVCS is a set of graphical tools written to provide simple
- and straightforward access to the version control systems you use.
- With this package, You can acces to the version control systems
- by Nautilus file manager.
- %description nautilus -l ja
- RabbitVCS はバージョン管理システムにシンプルかつ直感的にアクセス
- できるよう設計された GUI のツールです。
- このパッケージを利用することで、Nautilus ファイルマネージャに
- 統合された形でバージョン管理システムにアクセスできるようになり
- ます。
- %prep
- %setup -q
- %if %{build_vine5}
- %patch1 -p1 -b .gtk216
- %endif
- %build
- %{__python} setup.py build
- %install
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %{__python} setup.py install --skip-build --root ${RPM_BUILD_ROOT}
- # install nautilus client
- %{__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/
- # install updated japanese translation
- msgfmt %{SOURCE1} -o ${RPM_BUILD_ROOT}/%{_localedir}/ja/LC_MESSAGES/RabbitVCS.mo
- %clean
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %post
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
- fi
- %postun
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
- fi
- %files
- %defattr(-,root,root)
- %doc %{_datadir}/doc/%{name}/
- %{_prefix}/lib/python%{pyver}/site-packages/
- %{_datadir}/icons/hicolor/scalable/actions/
- %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
- %{_datadir}/icons/hicolor/scalable/apps/%{name}-small.svg
- %{_datadir}/icons/hicolor/scalable/emblems/
- %{_datadir}/locale/
- %{_datadir}/%{name}/configspec.ini
- # only usefull for ubuntu (and debian??)
- #%exclude %{_datadir}/%{name}/do-rabbitvcs-restart-nautilus
- #%exclude %{_datadir}/%{name}/rabbitvcs-restart-required.update-notifier
- %files nautilus
- %defattr(-,root,root)
- %doc clients/nautilus/README
- %{_libdir}/nautilus/extensions-2.0/python/RabbitVCS.py
- %changelog
- * Sun May 29 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.14.2.1-1
- - new upstream release
- - drop BuildArch: noarch to change installation path for RabbitVCS.py
- (need to locate under /usr/lib64 on x86_64)
- - add updated japanese translation (Source1)
- * Mon Jan 24 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.14.1.1-2
- - fix installation path of RabbitVCS.py
- - drop unnecessary Requires: glade2
- * Sun Jan 23 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.14.1.1-1
- - new upstream release
- - add Requires: python-simplejson
- - add Patch1 to avoid error when gtk+ < 2.18 (only for Vine 5)
- * Fri Jul 23 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.13.3-1
- - new upstream release
- - merge rabbitvcs-nautilus package again (upstream source change)
- - requires nautilus-python >= 0.7.0 for rabbitvcs-nautilus
- * Sun Feb 14 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.13-1
- - new upstream release
- - now front-end for nautilus is provided separetely
- (as rabbitvcs-nautilus package)
- * Wed Oct 07 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12-1
- - new upstream release with new name
- - add Obsoletes: nautilussvn
- - drop source1 (japanese translation)
- - update description
- * Fri Jun 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12-3.beta1.2
- - update japanese translation
- * Sat May 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12-2.beta1.2
- - add japanese translation as Source1
- - add BuildRequires: gettext
- * Sat May 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12-1.beta1.2
- - initial build for Vine Linux
|