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

Contents of /cauldron/python-drizzlepac/current/SPECS/python-drizzlepac.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: 1433 byte(s)
add sphinxext

1 # Created by pyp2rpm-1.0.1
2 %global pypi_name drizzlepac
3 %define version 1.1.8
4
5 Name: python-drizzlepac
6 Version: %{version}
7 Release: %mkrel 1
8 Group: Sciences/Astronomy
9 Summary: drizzle tools: combines astronomical images, including modeling distortion, removing cosmic rays, and generally improving fidelity of data in the final image
10
11 License: BSD
12 URL: http://www.stsci.edu/resources/software_hardware/stsci_python
13 Source0: https://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
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 Drizzlepac is is part of stscipython. It is also described at
25 http://www.stsci.edu/hst/HST_overview/drizzlepac/introduction/
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 README.local
49 %{_bindir}/
50 %{_bindir}/mdriz
51 %{_bindir}/resetbits
52 %{_bindir}/updatenpol
53 %{python_sitearch}/%{pypi_name}
54 %{python_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30