[4377] | 1 | Name: hotot |
---|
[7643] | 2 | Version: 0.9.8.13 |
---|
[7698] | 3 | Release: 2.git20130311%{?_dist_release} |
---|
[4377] | 4 | Summary: Hotot lightweight & open source microblogging client using Python language and designed for Linux. |
---|
| 5 | Summary(ja): Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。 |
---|
| 6 | |
---|
| 7 | Group: Applications/Internet |
---|
[4805] | 8 | License: LGPLv3+ |
---|
[4377] | 9 | URL: http://code.google.com/p/hotot |
---|
[7643] | 10 | Source0: hotot-%{version}-git20130311.tar.xz |
---|
[6644] | 11 | #Patch0: fix_messages_ja.patch |
---|
[5426] | 12 | |
---|
[4377] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
[6644] | 15 | BuildRequires: cmake |
---|
[5426] | 16 | BuildRequires: desktop-file-utils |
---|
[4377] | 17 | BuildRequires: gettext |
---|
| 18 | BuildRequires: intltool |
---|
[6644] | 19 | BuildRequires: kdelibs-devel |
---|
| 20 | BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel |
---|
[5426] | 21 | BuildRequires: python-devel |
---|
[4377] | 22 | BuildRequires: python-distutils-extra |
---|
[6644] | 23 | BuildRequires: qt4-devel |
---|
[4377] | 24 | |
---|
[6644] | 25 | %description |
---|
| 26 | Hotot, is a lightweight & open source Microblogging Client, |
---|
| 27 | coding using Python language and designed for Linux. |
---|
| 28 | It depends less but supports more. |
---|
| 29 | It's been developed actively and still in Alpha stage. |
---|
| 30 | |
---|
| 31 | %description -l ja |
---|
| 32 | Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの |
---|
| 33 | マイクロブログクライアントです。 |
---|
| 34 | 依存はより少なく、より多くのサポートを。 |
---|
| 35 | 活発に開発していますが、まだアルファの段階です。 |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %package common |
---|
| 39 | Summary: common files for Hotot |
---|
| 40 | Summary(ja): Hotot の共通ファイル |
---|
| 41 | Group: Applications/Internet |
---|
| 42 | BuildArch: noarch |
---|
[7698] | 43 | Obsoletes: hotot =< 0.9.7.37-2.git20120205 |
---|
[6644] | 44 | |
---|
| 45 | %description common |
---|
| 46 | Hotot, is a lightweight & open source Microblogging Client, |
---|
| 47 | coding using Python language and designed for Linux. |
---|
| 48 | This package contains Hotot common files. |
---|
| 49 | |
---|
| 50 | %description common -l ja |
---|
| 51 | Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの |
---|
| 52 | マイクロブログクライアントです。 |
---|
| 53 | このパッケージは Hotot の共通ファイルを含んでいます。 |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %package gtk |
---|
| 57 | Summary: Hotot GTK+ client |
---|
| 58 | Summary(ja): Hotot GTK+ クライアント |
---|
| 59 | Group: Applications/Internet |
---|
[7698] | 60 | Obsoletes: hotot =< 0.9.7.37-2.git20120205 |
---|
[6644] | 61 | |
---|
| 62 | Requires: %{name}-common = %{version} |
---|
[4377] | 63 | Requires: notify-python |
---|
[6644] | 64 | Requires: pygtk2 |
---|
[4377] | 65 | Requires: pygobject |
---|
[6644] | 66 | Requires: python-keybinder |
---|
[4377] | 67 | Requires: pywebkitgtk >= 1.1.8 |
---|
| 68 | |
---|
[6644] | 69 | %description gtk |
---|
[4377] | 70 | Hotot, is a lightweight & open source Microblogging Client, |
---|
| 71 | coding using Python language and designed for Linux. |
---|
| 72 | It depends less but supports more. |
---|
| 73 | It's been developed actively and still in Alpha stage. |
---|
[6644] | 74 | This package contains Hotot GTK+ client. |
---|
[4377] | 75 | |
---|
[6644] | 76 | %description gtk -l ja |
---|
[4377] | 77 | Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの |
---|
| 78 | マイクロブログクライアントです。 |
---|
| 79 | 依存はより少なく、より多くのサポートを。 |
---|
| 80 | 活発に開発していますが、まだアルファの段階です。 |
---|
[6644] | 81 | このパッケージは Hotot の GTK+ クライアントを含んでいます。 |
---|
[4377] | 82 | |
---|
[6644] | 83 | |
---|
| 84 | %package qt |
---|
| 85 | Summary: Hotot qt client |
---|
| 86 | Summary(ja): Hotot qt クライアント |
---|
| 87 | Group: Applications/Internet |
---|
[7698] | 88 | Obsoletes: hotot =< 0.9.7.37-2.git20120205 |
---|
[6644] | 89 | |
---|
| 90 | Requires: %{name}-common = %{version} |
---|
| 91 | |
---|
| 92 | %description qt |
---|
| 93 | Hotot, is a lightweight & open source Microblogging Client, |
---|
| 94 | coding using Python language and designed for Linux. |
---|
| 95 | It depends less but supports more. |
---|
| 96 | It's been developed actively and still in Alpha stage. |
---|
| 97 | This package contains Hotot Qt client. |
---|
| 98 | |
---|
| 99 | %description qt -l ja |
---|
| 100 | Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの |
---|
| 101 | マイクロブログクライアントです。 |
---|
| 102 | 依存はより少なく、より多くのサポートを。 |
---|
| 103 | 活発に開発していますが、まだアルファの段階です。 |
---|
| 104 | このパッケージは Hotot の Qt クライアントを含んでいます。 |
---|
| 105 | |
---|
| 106 | |
---|
[4377] | 107 | %prep |
---|
| 108 | %setup -q -n %{name} |
---|
[6644] | 109 | #%patch0 -p1 |
---|
[7643] | 110 | sed -i 's/0.9.8.11/0.9.8.13/' data/js/conf.js |
---|
[4377] | 111 | |
---|
| 112 | %build |
---|
[6644] | 113 | cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GIR=OFF ./ |
---|
| 114 | make %{?_smp_mflags} |
---|
[4377] | 115 | |
---|
| 116 | |
---|
| 117 | %install |
---|
[6644] | 118 | rm -rf %{buildroot} |
---|
| 119 | make install DESTDIR=%{buildroot} |
---|
[4377] | 120 | |
---|
[6644] | 121 | %find_lang %{name} |
---|
| 122 | |
---|
| 123 | %check |
---|
[4805] | 124 | desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop |
---|
[6644] | 125 | desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-qt.desktop |
---|
[4805] | 126 | |
---|
[4377] | 127 | %clean |
---|
[6644] | 128 | rm -rf %{buildroot} |
---|
[4377] | 129 | |
---|
[6644] | 130 | |
---|
| 131 | %post common |
---|
| 132 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 133 | |
---|
| 134 | %postun common |
---|
| 135 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 136 | |
---|
| 137 | |
---|
| 138 | %files common -f %{name}.lang |
---|
[4377] | 139 | %defattr(-,root,root,-) |
---|
[6644] | 140 | %doc ChangeLog LGPL-license.txt README.md |
---|
| 141 | %{_datadir}/%{name}/ |
---|
| 142 | %{_datadir}/icons/* |
---|
| 143 | |
---|
| 144 | %files gtk |
---|
| 145 | %defattr(-,root,root,-) |
---|
| 146 | %{python_sitearch}/%{name} |
---|
[4377] | 147 | %{_bindir}/%{name} |
---|
| 148 | %{_datadir}/applications/%{name}.desktop |
---|
| 149 | |
---|
[6644] | 150 | %files qt |
---|
| 151 | %defattr(-,root,root,-) |
---|
| 152 | %{_bindir}/%{name}-qt |
---|
| 153 | %{_datadir}/applications/%{name}-qt.desktop |
---|
[7643] | 154 | %{_datadir}/kde4/apps/desktoptheme/default/icons/hotot_qt.svg |
---|
[6644] | 155 | |
---|
| 156 | |
---|
[4377] | 157 | %changelog |
---|
[7698] | 158 | * Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.13-2.git20130311 |
---|
| 159 | - added Obsoletes tag for all packages: hotot =< 0.9.7.37-2.git20120205 |
---|
| 160 | |
---|
[7643] | 161 | * Thu May 02 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.13-1.git20130311 |
---|
| 162 | - new upstream snapshot |
---|
| 163 | - fixed version in data/js/conf.js |
---|
| 164 | |
---|
[6644] | 165 | * Sat Jul 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.7-1.git20120728 |
---|
| 166 | - new upstream snapshot |
---|
| 167 | - splitted packages to hotot-common, hotot-gtk, hotot-qt |
---|
[5702] | 168 | |
---|
[6644] | 169 | * Wed Feb 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.45-1.git20120310 |
---|
| 170 | - new upstream release |
---|
| 171 | - deleted BuildArch: noarch |
---|
| 172 | - added BuildRequires: cmake |
---|
| 173 | |
---|
[5583] | 174 | * Mon Feb 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.37-1.git20120205 |
---|
| 175 | - new upstream release |
---|
| 176 | |
---|
[5426] | 177 | * Wed Jan 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.34-1.git20120118 |
---|
| 178 | - new upstream release |
---|
| 179 | - added BuildRequires: desktop-file-utils, python-devel |
---|
| 180 | - added patch0 to fix Japanese messages |
---|
| 181 | |
---|
[4805] | 182 | * Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7-1.hg1018 |
---|
| 183 | - new upstream release |
---|
| 184 | - changed License: LGPLv2+ to LGPLv3+ |
---|
| 185 | - changed Requires: keybinder to python-keybinder |
---|
| 186 | - run desktop-file-validate |
---|
| 187 | |
---|
[4377] | 188 | * Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.6-1.hg889 |
---|
| 189 | - initial build for Vine Linux |
---|
| 190 | |
---|
[7643] | 191 | * Sat Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.9.5 hg 531:69b7cd2aef25 |
---|
[4377] | 192 | - Initial RPM release |
---|