1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- %define python_platlib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
- Name: python-pykf
- Version: 0.3.4
- Release: 3%{?_dist_release}
- License: BSD like
- URL: http://www.gembook.jp/tsum/page.pys?wiki=PyKf
- Distribution: Vine Linux
- Vendor: Project Vine
- Packager: Shu KONNO (owa@bg.wakwak.com)
- #Source0: pykf-%{version}.tgz
- Source0: http://www.gembook.jp/html/download/pykf-%{version}.tgz
- PreReq: nkf
- Requires: python >= 2.3
- Prefix: %{_prefix}
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- #----------------------------------------------------------------------
- Summary: Python kanji-code module
- Summary(ja): Python 漢字コード変換モジュール
- Group: Development/Libraries
- %description
- pykf is a japanese code exchange filter for python.
- %description -l ja
- pykf は ShiftJIS, EUC-JP, JISコードを相互に変換するためのモジュールです.
- %prep
- %setup -n pykf-%{version}
- nkf -e readme.sjis > readme.euc
- %build
- python setup.py build
- %install
- python setup.py install --root=$RPM_BUILD_ROOT
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root)
- %{python_platlib}/*.so
- %doc readme.euc
- %changelog
- * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.4-3
- - rebuild with python-2.6
- * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> python-pykf-0.3.4-2vl5
- - rebuilt with python-2.5.2
- * Thu Jul 17 2008 Shu KONNO <owa@bg.wakwak.com> python-pykf-0.3.4-1vl5
- - applied new versioning policy and spec in utf-8
- - added python_platlib macro
- * Sat May 28 2005 Shu KONNO <owa@bg.wakwak.com> python-pykf-0.3.4-0vl1
- - changed spec for vine seed
- - updated pykf to 0.3.4
- * Mon Mar 21 2005 Shu KONNO <owa@bg.wakwak.com> python-pykf-0.3.3-uvl3
- - rebuild with python 2.4
- * Mon Apr 19 2004 Shu KONNO <owa@bg.wakwak.com> python-pykf-0.3.3-uvl2
- - rebuild with python-2.3.3-0vl1
- * Sat Feb 28 2004 Shu KONNO <owa@bg.wakwak.com> python2.3-pykf-0.3.3-uvl1
- - renamed
- * Sat Sep 6 2003 Shu KONNO <owa@bg.wakwak.com> python-pykf-0.3.3
- - modified
- * Sat Apr 19 2003 Shu KONNO <owa@bg.wakwak.com> python-pykf-0.3.0-1
- - created
|