1 | %define oname virtualenvwrapper |
---|
2 | |
---|
3 | # Basic Information |
---|
4 | Name: python-%{oname} |
---|
5 | Version: 3.5 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | License: MIT |
---|
8 | Group: Development/Tools |
---|
9 | URL: http://www.doughellmann.com/projects/virtualenvwrapper/ |
---|
10 | Source0: http://pypi.python.org/packages/source/v/%{oname}/%{oname}-%{version}.tar.gz |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildArch: noarch |
---|
13 | |
---|
14 | Vendor: Project Vine |
---|
15 | Distribution: Vine Linux |
---|
16 | Packager: yasumichi |
---|
17 | |
---|
18 | Summary: Enhancements to virtualenv |
---|
19 | Summary(ja): virtualenv の拡張 |
---|
20 | |
---|
21 | # Dependency |
---|
22 | # 以下に依存関係を記述してください 。 |
---|
23 | Requires: python |
---|
24 | Requires: python-virtualenv-clone |
---|
25 | BuildRequires: python |
---|
26 | |
---|
27 | %description |
---|
28 | virtualenvwrapper is a set of extensions to Ian Bicking's `virtualenv |
---|
29 | <http://pypi.python.org/pypi/virtualenv>`_ tool. The extensions include |
---|
30 | wrappers for creating and deleting virtual environments and otherwise |
---|
31 | managing your development workflow, making it easier to work on more |
---|
32 | than one project at a time without introducing conflicts in their |
---|
33 | dependencies. |
---|
34 | |
---|
35 | #%%description -l ja |
---|
36 | #ここに日本語で詳細を記述してください。 |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q -n %{oname}-%{version} |
---|
40 | |
---|
41 | %build |
---|
42 | %{__python} setup.py build |
---|
43 | |
---|
44 | %install |
---|
45 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
46 | %{__python} setup.py install --root=${RPM_BUILD_ROOT} |
---|
47 | |
---|
48 | |
---|
49 | %clean |
---|
50 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
51 | |
---|
52 | |
---|
53 | %files |
---|
54 | %defattr(-,root,root) |
---|
55 | %{_bindir}/%{oname}.sh |
---|
56 | %{_bindir}/%{oname}_lazy.sh |
---|
57 | %{python_sitelib}/%{oname}-%{version}-py%{pyver}-nspkg.pth |
---|
58 | %{python_sitelib}/%{oname}-%{version}-py%{pyver}.egg-info |
---|
59 | %{python_sitelib}/%{oname} |
---|
60 | |
---|
61 | |
---|
62 | %changelog |
---|
63 | * Fri Aug 03 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.5-1 |
---|
64 | - initial build for Vine Linux |
---|