/[packages]/cauldron/python-stsci-tools/current/SPECS/python-stsci-tools.spec
ViewVC logotype

Contents of /cauldron/python-stsci-tools/current/SPECS/python-stsci-tools.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 477738 - (show annotations) (download)
Wed Sep 11 19:21:27 2013 UTC (10 years, 7 months ago) by joequant
File size: 1278 byte(s)
add sphinxext

1 # Created by pyp2rpm-1.0.1
2 %global pypi_name stsci.tools
3 %define version 3.2
4
5 Name: python-stsci-tools
6 Version: %{version}
7 Release: %mkrel 1
8 Group: Sciences/Astronomy
9 Summary: assorted tools for stscipython
10
11 License: BSD
12 URL: http://www.stsci.edu/resources/software_hardware/stsci_python
13 Source0: https://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
14 BuildArch: noarch
15
16 BuildRequires: python-devel
17 BuildRequires: python-d2to1 >= 0.2.9
18 BuildRequires: python-stsci-distutils >= 0.3.2
19 BuildRequires: python-sphinx
20 BuildRequires: python-stsci-sphinxext
21
22
23 Obsoletes: python-stsci <= 2.13-4
24
25 %description
26 False
27
28
29 %prep
30 %setup -q -n %{pypi_name}-%{version}
31 # Remove bundled egg-info
32 rm -rf %{pypi_name}.egg-info
33
34
35
36 %build
37 %{__python} setup.py build
38
39 # generate html docs
40 sphinx-build doc/source html
41 # remove the sphinx-build leftovers
42 rm -rf html/.{doctrees,buildinfo}
43
44 %install
45 %{__python} setup.py install --skip-build --root %{buildroot}
46
47
48 %files
49 %doc html LICENSE.txt
50 %{_bindir}/
51 %{_bindir}/convertwaiveredfits
52 %{_bindir}/stscidocs
53 %{python_sitelib}/stsci/tools
54 %{python_sitelib}/%{pypi_name}-%{version}-py?.?-*.pth
55 %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30