[8961] | 1 | %define pkgname six |
---|
| 2 | |
---|
| 3 | # Basic Information |
---|
| 4 | Name: python-six |
---|
| 5 | Version: 1.8.0 |
---|
| 6 | Release: 1%{?_dist_release} |
---|
| 7 | License: MIT |
---|
| 8 | # /usr/share/doc/rpm-4.11.2/GROUPS_for_vine.txt を参照して Group を修正してください。 |
---|
| 9 | Group: Development/Libraries |
---|
| 10 | URL: http://pypi.python.org/pypi/six/ |
---|
| 11 | Source0: https://pypi.python.org/packages/source/s/%{pkgname}/%{pkgname}-%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
| 16 | Packager: yasumichi |
---|
| 17 | |
---|
| 18 | Summary: Python 2 and 3 compatibility utilities |
---|
| 19 | Summary(ja): Python 2 および 3 の互換ユーテリティ |
---|
| 20 | |
---|
| 21 | # Dependency |
---|
| 22 | Requires: python |
---|
| 23 | BuildRequires: python-devel |
---|
| 24 | BuildArch: noarch |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | for smoothing over the differences between the Python versions with the goal of |
---|
| 28 | writing Python code that is compatible on both Python versions. See the |
---|
| 29 | documentation for more information on what is provided. |
---|
| 30 | |
---|
| 31 | Six supports every Python version since 2.5. It is contained in only one Python |
---|
| 32 | file, so it can be easily copied into your project. (The copyright and license |
---|
| 33 | notice must be retained.) |
---|
| 34 | |
---|
| 35 | Online documentation is at http://pythonhosted.org/six/. |
---|
| 36 | |
---|
| 37 | Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be |
---|
| 38 | found there. |
---|
| 39 | |
---|
| 40 | For questions about six or porting in general, email the python-porting mailing |
---|
| 41 | list: http://mail.python.org/mailman/listinfo/python-porting |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | #%%description -l ja |
---|
| 45 | #ここに日本語で詳細を記述してください。 |
---|
| 46 | |
---|
| 47 | %prep |
---|
| 48 | %setup -q -n six-%{version} |
---|
| 49 | |
---|
| 50 | %build |
---|
| 51 | %{__python} setup.py build |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 55 | %{__python} setup.py install --root=${RPM_BUILD_ROOT} |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %files |
---|
| 63 | %defattr(-,root,root) |
---|
| 64 | %doc LICENSE README |
---|
| 65 | %{python_sitelib}/six-%{version}-py*.egg-info |
---|
| 66 | %{python_sitelib}/six.py* |
---|
| 67 | |
---|
| 68 | %changelog |
---|
| 69 | * Sat Sep 20 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.8.0-1 |
---|
| 70 | - initial build for Vine Linux |
---|