|
@@ -1,79 +1,163 @@
|
|
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
-
|
|
|
|
Name: hotot
|
|
Name: hotot
|
|
-Version: 0.9.7.37
|
|
+Version: 0.9.8.7
|
|
-Release: 2.git20120205%{?_dist_release}
|
|
+Release: 1.git20120728%{?_dist_release}
|
|
Summary: Hotot lightweight & open source microblogging client using Python language and designed for Linux.
|
|
Summary: Hotot lightweight & open source microblogging client using Python language and designed for Linux.
|
|
Summary(ja): Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。
|
|
Summary(ja): Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。
|
|
|
|
|
|
Group: Applications/Internet
|
|
Group: Applications/Internet
|
|
License: LGPLv3+
|
|
License: LGPLv3+
|
|
URL: http://code.google.com/p/hotot
|
|
URL: http://code.google.com/p/hotot
|
|
-Source0: hotot-%{version}-git20120205.tar.bz2
|
|
+Source0: hotot-%{version}-git20120728.tar.xz
|
|
-Patch0: fix_messages_ja.patch
|
|
+#Patch0: fix_messages_ja.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
-BuildArch: noarch
|
|
+BuildRequires: cmake
|
|
-
|
|
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: gettext
|
|
BuildRequires: gettext
|
|
BuildRequires: intltool
|
|
BuildRequires: intltool
|
|
-#BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
|
|
+BuildRequires: kdelibs-devel
|
|
|
|
+BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-distutils-extra
|
|
BuildRequires: python-distutils-extra
|
|
|
|
+BuildRequires: qt4-devel
|
|
|
|
|
|
-Requires: python-keybinder
|
|
+%description
|
|
|
|
+Hotot, is a lightweight & open source Microblogging Client,
|
|
|
|
+coding using Python language and designed for Linux.
|
|
|
|
+It depends less but supports more.
|
|
|
|
+It's been developed actively and still in Alpha stage.
|
|
|
|
+
|
|
|
|
+%description -l ja
|
|
|
|
+Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
|
|
|
|
+マイクロブログクライアントです。
|
|
|
|
+依存はより少なく、より多くのサポートを。
|
|
|
|
+活発に開発していますが、まだアルファの段階です。
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%package common
|
|
|
|
+Summary: common files for Hotot
|
|
|
|
+Summary(ja): Hotot の共通ファイル
|
|
|
|
+Group: Applications/Internet
|
|
|
|
+BuildArch: noarch
|
|
|
|
+
|
|
|
|
+%description common
|
|
|
|
+Hotot, is a lightweight & open source Microblogging Client,
|
|
|
|
+coding using Python language and designed for Linux.
|
|
|
|
+This package contains Hotot common files.
|
|
|
|
+
|
|
|
|
+%description common -l ja
|
|
|
|
+Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
|
|
|
|
+マイクロブログクライアントです。
|
|
|
|
+このパッケージは Hotot の共通ファイルを含んでいます。
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%package gtk
|
|
|
|
+Summary: Hotot GTK+ client
|
|
|
|
+Summary(ja): Hotot GTK+ クライアント
|
|
|
|
+Group: Applications/Internet
|
|
|
|
+
|
|
|
|
+Requires: %{name}-common = %{version}
|
|
Requires: notify-python
|
|
Requires: notify-python
|
|
-Requires: pygobject
|
|
|
|
Requires: pygtk2
|
|
Requires: pygtk2
|
|
|
|
+Requires: pygobject
|
|
|
|
+Requires: python-keybinder
|
|
Requires: pywebkitgtk >= 1.1.8
|
|
Requires: pywebkitgtk >= 1.1.8
|
|
|
|
|
|
-%description
|
|
+%description gtk
|
|
Hotot, is a lightweight & open source Microblogging Client,
|
|
Hotot, is a lightweight & open source Microblogging Client,
|
|
coding using Python language and designed for Linux.
|
|
coding using Python language and designed for Linux.
|
|
It depends less but supports more.
|
|
It depends less but supports more.
|
|
It's been developed actively and still in Alpha stage.
|
|
It's been developed actively and still in Alpha stage.
|
|
|
|
+This package contains Hotot GTK+ client.
|
|
|
|
|
|
-%description -l ja
|
|
+%description gtk -l ja
|
|
Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
|
|
Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
|
|
マイクロブログクライアントです。
|
|
マイクロブログクライアントです。
|
|
依存はより少なく、より多くのサポートを。
|
|
依存はより少なく、より多くのサポートを。
|
|
活発に開発していますが、まだアルファの段階です。
|
|
活発に開発していますが、まだアルファの段階です。
|
|
|
|
+このパッケージは Hotot の GTK+ クライアントを含んでいます。
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%package qt
|
|
|
|
+Summary: Hotot qt client
|
|
|
|
+Summary(ja): Hotot qt クライアント
|
|
|
|
+Group: Applications/Internet
|
|
|
|
+
|
|
|
|
+Requires: %{name}-common = %{version}
|
|
|
|
+
|
|
|
|
+%description qt
|
|
|
|
+Hotot, is a lightweight & open source Microblogging Client,
|
|
|
|
+coding using Python language and designed for Linux.
|
|
|
|
+It depends less but supports more.
|
|
|
|
+It's been developed actively and still in Alpha stage.
|
|
|
|
+This package contains Hotot Qt client.
|
|
|
|
+
|
|
|
|
+%description qt -l ja
|
|
|
|
+Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
|
|
|
|
+マイクロブログクライアントです。
|
|
|
|
+依存はより少なく、より多くのサポートを。
|
|
|
|
+活発に開発していますが、まだアルファの段階です。
|
|
|
|
+このパッケージは Hotot の Qt クライアントを含んでいます。
|
|
|
|
+
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{name}
|
|
%setup -q -n %{name}
|
|
-%patch0 -p1
|
|
+#%patch0 -p1
|
|
|
|
|
|
%build
|
|
%build
|
|
-python setup.py build_i18n -m
|
|
+cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GIR=OFF ./
|
|
-python setup.py build
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
+rm -rf %{buildroot}
|
|
-python setup.py install --prefix=$RPM_BUILD_ROOT/usr
|
|
+make install DESTDIR=%{buildroot}
|
|
-
|
|
|
|
-desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
+%check
|
|
|
|
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
|
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-qt.desktop
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
+rm -rf %{buildroot}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%post common
|
|
|
|
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
+
|
|
|
|
+%postun common
|
|
|
|
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
+
|
|
|
|
|
|
-%files -f %{name}.lang
|
|
+%files common -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{python_sitelib}/%{name}
|
|
+%doc ChangeLog LGPL-license.txt README.md
|
|
|
|
+%{_datadir}/%{name}/
|
|
|
|
+%{_datadir}/icons/*
|
|
|
|
+
|
|
|
|
+%files gtk
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{python_sitearch}/%{name}
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}
|
|
-%{python_sitelib}/%{name}-*.egg-info
|
|
|
|
-%{_datadir}/%{name}
|
|
|
|
-%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
|
-%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
+%files qt
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{_bindir}/%{name}-qt
|
|
|
|
+%{_datadir}/applications/%{name}-qt.desktop
|
|
|
|
+
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
-* Mon Feb 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.9.7.37-2.git20120205
|
|
+* Sat Jul 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.7-1.git20120728
|
|
-- rebuild with python-2.7.2
|
|
+- new upstream snapshot
|
|
|
|
+- splitted packages to hotot-common, hotot-gtk, hotot-qt
|
|
|
|
+
|
|
|
|
+* Wed Feb 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.45-1.git20120310
|
|
|
|
+- new upstream release
|
|
|
|
+- deleted BuildArch: noarch
|
|
|
|
+- added BuildRequires: cmake
|
|
|
|
|
|
* Mon Feb 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.37-1.git20120205
|
|
* Mon Feb 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.37-1.git20120205
|
|
- new upstream release
|
|
- new upstream release
|