sextractor.spec.in 1.61 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1
2
3
%define name @PACKAGE_NAME@
%define version @PACKAGE_VERSION@
%define release 1
4
%undefine _missing_build_ids_terminate_build
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5
6
7
8
9
10

Summary: Extract catalogs of sources from astronomical images
Name: %{name}
Version: %{version}
Release: %{release}
Source0: ftp://ftp.iap.fr/pub/from_users/bertin/sextractor/%{name}-%{version}.tar.gz
11
URL: http://astromatic.iap.fr/software/%{name}
12
License: CeCILL
Emmanuel Bertin's avatar
Emmanuel Bertin committed
13
14
Group: Sciences/Astronomy
BuildRoot: %{_tmppath}/%{name}-buildroot
Emmanuel Bertin's avatar
Emmanuel Bertin committed
15
16
17
BuildRequires: pkgconfig
BuildRequires: fftw-devel >= 3.1
BuildRequires: atlas-devel >= 3.6.0
Emmanuel Bertin's avatar
Emmanuel Bertin committed
18
19
20
21
22
23
24
25

%description
SExtractor stands for ``Source Extractor'': a software for making catalog of sources from astronomical images.

%prep
%setup -q

%build
Emmanuel Bertin's avatar
Emmanuel Bertin committed
26
27
if test "$USE_ICC"; then
%configure --enable-icc
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28
else
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29
%configure
Emmanuel Bertin's avatar
Emmanuel Bertin committed
30
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
31
make %{?_smp_mflags}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
32
33

%install
Emmanuel Bertin's avatar
Emmanuel Bertin committed
34
35
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
Emmanuel Bertin's avatar
Emmanuel Bertin committed
36
37
38
39
40
41

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
42
%doc AUTHORS BUGS ChangeLog COPYRIGHT HISTORY INSTALL README THANKS doc/README.DOC doc/sextractor.pdf
Emmanuel Bertin's avatar
Emmanuel Bertin committed
43
44
45
46
47
%{_bindir}/sex
%{_bindir}/ldactoasc
%{_mandir}/man1/sex.1*
%{_mandir}/manx/sex.x*
%{_datadir}/@PACKAGE_NAME@
Emmanuel Bertin's avatar
Emmanuel Bertin committed
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65

%changelog
* @DATE2@ @PACKAGER@ <@PACKAGE_BUGREPORT@>
- Automatic RPM rebuild
* Tue May 13 2003 Emmanuel Bertin <bertin@iap.fr>
- RPM build for V2.3
* Fri Apr 04 2003 Emmanuel Bertin <bertin@iap.fr>
- RPM build for V2.3b4
* Wed Mar 05 2003 Emmanuel Bertin <bertin@iap.fr>
- RPM build for V2.3b3
* Fri Feb 07 2003 Emmanuel Bertin <bertin@iap.fr>
- Second RPM build
* Fri Jan 24 2003 Emmanuel Bertin <bertin@iap.fr>
- Second RPM build
* Sun Dec 15 2002 Emmanuel Bertin <bertin@iap.fr>
- First RPM build

# end of file