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

Annotation of /cauldron/python-stsci-imagestats/current/SPECS/python-stsci-imagestats.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 648105 - (hide annotations) (download)
Sun Jul 6 15:37:17 2014 UTC (9 years, 9 months ago) by ovitters
File size: 1185 byte(s)
SILENT remove variable definition(s) version
1 joequant 477656 # Created by pyp2rpm-1.0.1
2     %global pypi_name stsci.imagestats
3    
4     Name: python-stsci-imagestats
5 ovitters 648105 Version: 1.4
6 pterjan 629041 Release: %mkrel 4
7 joequant 477656 Group: Sciences/Astronomy
8     Summary: Compute various useful statistical values for array objects
9    
10     License: BSD
11     URL: http://www.stsci.edu/resources/software_hardware/stsci_python
12     Source0: https://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
13    
14     BuildRequires: python-devel
15     BuildRequires: python-numpy-devel
16 joequant 477738 BuildRequires: python-sphinx
17     BuildRequires: python-stsci-sphinxext
18 joequant 477656
19    
20     Obsoletes: python-stsci <= 2.13-4
21    
22     %description
23     False
24    
25    
26     %prep
27     %setup -q -n %{pypi_name}-%{version}
28     # Remove bundled egg-info
29     rm -rf %{pypi_name}.egg-info
30    
31    
32    
33     %build
34     CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
35    
36     # generate html docs
37     sphinx-build docs/source html
38     # remove the sphinx-build leftovers
39     rm -rf html/.{doctrees,buildinfo}
40    
41     %install
42     %{__python} setup.py install --skip-build --root %{buildroot}
43    
44    
45     %files
46     %doc html LICENSE.txt
47     %{python_sitearch}/stsci/imagestats
48     %{python_sitearch}/%{pypi_name}-%{version}-py?.?-*.pth
49     %{python_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30