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

Contents of /cauldron/python-wfc3tools/current/SPECS/python-wfc3tools.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 688420 - (show annotations) (download)
Tue Sep 16 20:20:48 2014 UTC (9 years, 7 months ago) by umeabot
File size: 1114 byte(s)
Mageia 5 Mass Rebuild
1 # Created by pyp2rpm-1.0.1
2 %global pypi_name wfc3tools
3
4 Name: python-wfc3tools
5 Version: 1.1
6 Release: %mkrel 6
7 Group: Sciences/Astronomy
8 Summary: Python Tools for WFC3 Data
9
10 License: BSD
11 URL: http://www.stsci.edu/resources/software_hardware/stsci_python
12 Source0: https://pypi.python.org/packages/source/w/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
13 BuildArch: noarch
14
15 BuildRequires: python-devel
16 BuildRequires: python-numpy-devel
17 BuildRequires: python-sphinx
18 BuildRequires: python-stsci-sphinxext
19
20
21 Obsoletes: python-stsci <= 2.13-4
22
23 %description
24 False
25
26
27 %prep
28 %setup -q -n %{pypi_name}-%{version}
29 # Remove bundled egg-info
30 rm -rf %{pypi_name}.egg-info
31
32
33
34 %build
35 %{__python} setup.py build
36
37 # generate html docs
38 sphinx-build doc/source html
39 # remove the sphinx-build leftovers
40 rm -rf html/.{doctrees,buildinfo}
41
42 %install
43 %{__python} setup.py install --skip-build --root %{buildroot}
44 rm %{buildroot}/%{_bindir}/runastrodriz
45
46 %files
47 %doc html LICENSE.txt
48 %{python_sitelib}/%{pypi_name}
49 %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30