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

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
URL: http://terapix.iap.fr/soft/%{name}
11
License: CeCILL
Emmanuel Bertin's avatar
Emmanuel Bertin committed
12
13
Group: Sciences/Astronomy
BuildRoot: %{_tmppath}/%{name}-buildroot
Emmanuel Bertin's avatar
Emmanuel Bertin committed
14
15
16
BuildRequires: pkgconfig
BuildRequires: fftw-devel >= 3.1
BuildRequires: atlas-devel >= 3.6.0
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17
18
19
20
21
22
23
24

%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
25
26
if test "$USE_ICC"; then
%configure --enable-icc
Emmanuel Bertin's avatar
Emmanuel Bertin committed
27
else
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28
%configure
Emmanuel Bertin's avatar
Emmanuel Bertin committed
29
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
30
make %{?_smp_mflags}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
31
32

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

%clean
rm -rf $RPM_BUILD_ROOT

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

%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