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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 688362 - (show annotations) (download)
Tue Sep 16 20:19:10 2014 UTC (6 years, 10 months ago) by umeabot
File size: 1249 byte(s)
Mageia 5 Mass Rebuild
1 # Created by pyp2rpm-1.0.1
2 %global pypi_name stsci.imagemanip
3
4 Name: python-stsci-imagemanip
5 Version: 1.1
6 Release: %mkrel 5
7 Group: Sciences/Astronomy
8 Summary: STScI general image manipulation tools
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-d2to1 >= 0.2.9
16 BuildRequires: python-stsci-distutils >= 0.3.2
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 CFLAGS="$RPM_OPT_FLAGS" %{__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
46
47 %files
48 %doc html LICENSE.txt
49 %{python_sitearch}/stsci/imagemanip
50 %{python_sitearch}/%{pypi_name}-%{version}-py?.?-*.pth
51 %{python_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info

  ViewVC Help
Powered by ViewVC 1.1.28