/[smecontribs]/rpms/python-versiontools/contribs9/python-versiontools.spec
ViewVC logotype

Annotation of /rpms/python-versiontools/contribs9/python-versiontools.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Mar 25 03:05:44 2018 UTC (6 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: python-versiontools-1_9_1-3_el6
source

1 jpp 1.1 %global pypi_name versiontools
2    
3     Name: python-versiontools
4     Version: 1.9.1
5     Release: 3%{?dist}
6     Summary: Smart replacement for plain tuple used in __version__
7    
8     License: LGPLv3
9     URL: https://launchpad.net/versiontools
10     Source0: http://pypi.python.org/packages/source/v/versiontools/versiontools-1.9.1.tar.gz
11    
12     BuildArch: noarch
13     BuildRequires: python-devel
14     BuildRequires: python-setuptools
15     BuildRequires: python-sphinx
16     BuildRequires: python-nose
17    
18     %description
19     Smart replacement for plain tuple used in __version__
20    
21     %prep
22     %setup -q -n %{pypi_name}-%{version}
23     # remove bundled egg-info
24     rm -rf %{pypi_name}.egg-info
25     # generate html docs
26     sphinx-build doc html
27     # remove the sphinx-build leftovers
28     rm -rf html/.{doctrees,buildinfo}
29    
30    
31     %build
32     %{__python} setup.py build
33    
34    
35     %install
36     %{__python} setup.py install -O1 --skip-build --root %{buildroot}
37    
38    
39     %check
40     %{__python} setup.py nosetests
41    
42    
43     %files
44     %doc html
45     %{python_sitelib}/%{pypi_name}
46     %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
47    
48    
49     %changelog
50     * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-3
51     - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
52    
53     * Fri May 04 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.1-2
54     - Be more explicit in %%files section.
55    
56     * Thu May 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.1-1
57     - Initial package.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed