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

  ViewVC Help
Powered by ViewVC 1.1.30