Преглед на файлове

hotot-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5426 ec354946-7b23-47d6-9f5a-488ba84defc7
kudoh преди 12 години
родител
ревизия
0febbfe95b
променени са 1 файла, в които са добавени 14 реда и са изтрити 3 реда
  1. 14 3
      h/hotot/hotot-vl.spec

+ 14 - 3
h/hotot/hotot-vl.spec

@@ -1,22 +1,26 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           hotot
-Version:        0.9.7
-Release:        1.hg1018%{?_dist_release}
+Version:        0.9.7.34
+Release:        1.git20120118%{?_dist_release}
 Summary:        Hotot lightweight & open source microblogging client using Python language and designed for Linux.
 Summary(ja):    Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。
 
 Group:          Applications/Internet
 License:        LGPLv3+
 URL:            http://code.google.com/p/hotot
-Source0:        hotot-0.9.7.hg1018.tar.bz2
+Source0:        hotot-%{version}-git20120118.tar.bz2
+Patch0:         fix_messages_ja.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
 BuildArch: noarch
 
+BuildRequires: desktop-file-utils
 BuildRequires: gettext
 BuildRequires: intltool
 #BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
+BuildRequires: python-devel
 BuildRequires: python-distutils-extra
 
 Requires: python-keybinder
@@ -39,6 +43,7 @@ Hotot は Python 言語を使用した、軽量&オープンソースな Linux
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %build
 python setup.py build_i18n -m
@@ -62,10 +67,16 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/%{name}
 %{python_sitelib}/%{name}-*.egg-info
 %{_datadir}/%{name}
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
 %{_datadir}/pixmaps/%{name}.png
 %{_datadir}/applications/%{name}.desktop
 
 %changelog
+* Wed Jan 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.34-1.git20120118
+- new upstream release
+- added BuildRequires: desktop-file-utils, python-devel
+- added patch0 to fix Japanese messages
+
 * Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7-1.hg1018
 - new upstream release
 - changed License: LGPLv2+ to LGPLv3+