public software.sextractor

[/] [trunk/] [sextractor.spec.in] - Blame information for rev 233

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 233 bertin
#
2
#                               sextractor.spec.in
3
#
4
# Process this file with autoconf to generate an RPM .spec packaging script.
5
#
6
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
#
8
#       This file part of:      SExtractor
9
#
10
#       Copyright:              (C) 2002-2010 IAP/CNRS/UPMC
11
#
12
#       Author:                 Emmanuel Bertin (IAP)
13
#
14
#       License:                GNU General Public License
15
#
16
#       SExtractor is free software: you can redistribute it and/or modify
17
#       it under the terms of the GNU General Public License as published by
18
#       the Free Software Foundation, either version 3 of the License, or
19
#       (at your option) any later version.
20
#       SExtractor is distributed in the hope that it will be useful,
21
#       but WITHOUT ANY WARRANTY; without even the implied warranty of
22
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
#       GNU General Public License for more details.
24
#       You should have received a copy of the GNU General Public License
25
#       along with SExtractor. If not, see .
26
#
27
#       Last modified:          10/10/2010
28
#
29
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30
 
31 2 bertin
%define name @PACKAGE_NAME@
32
%define version @PACKAGE_VERSION@
33
%define release 1
34 181 bertin
%undefine _missing_build_ids_terminate_build
35 2 bertin
 
36
Summary: Extract catalogs of sources from astronomical images
37
Name: %{name}
38
Version: %{version}
39
Release: %{release}
40
Source0: ftp://ftp.iap.fr/pub/from_users/bertin/sextractor/%{name}-%{version}.tar.gz
41 233 bertin
URL: http://astromatic.net/software/%{name}
42
License: GPL v3+
43 2 bertin
Group: Sciences/Astronomy
44
BuildRoot: %{_tmppath}/%{name}-buildroot
45 173 bertin
BuildRequires: pkgconfig
46
BuildRequires: fftw-devel >= 3.1
47
BuildRequires: atlas-devel >= 3.6.0
48 2 bertin
 
49
%description
50
SExtractor stands for ``Source Extractor'': a software for making catalog of sources from astronomical images.
51
 
52
%prep
53
%setup -q
54
 
55
%build
56 203 bertin
if test "$USE_BEST"; then
57
%configure --enable-icc --enable-auto-flags --enable-best-link
58
elif test "$USE_ICC"; then
59 173 bertin
%configure --enable-icc
60 2 bertin
else
61 173 bertin
%configure
62 2 bertin
fi
63 173 bertin
make %{?_smp_mflags}
64 2 bertin
 
65
%install
66 173 bertin
rm -rf $RPM_BUILD_ROOT
67
make install DESTDIR=$RPM_BUILD_ROOT
68 2 bertin
 
69
%clean
70
rm -rf $RPM_BUILD_ROOT
71
 
72
%files
73
%defattr(-,root,root)
74 233 bertin
%doc AUTHORS BUGS ChangeLog COPYRIGHT HISTORY INSTALL LICENSE README THANKS doc/README.DOC doc/sextractor.pdf
75 173 bertin
%{_bindir}/sex
76
%{_bindir}/ldactoasc
77
%{_mandir}/man1/sex.1*
78
%{_mandir}/manx/sex.x*
79
%{_datadir}/@PACKAGE_NAME@
80 2 bertin
 
81
%changelog
82
* @DATE2@ @PACKAGER@ <@PACKAGE_BUGREPORT@>
83
- Automatic RPM rebuild
84
* Tue May 13 2003 Emmanuel Bertin 
85
- RPM build for V2.3
86
* Fri Apr 04 2003 Emmanuel Bertin 
87
- RPM build for V2.3b4
88
* Wed Mar 05 2003 Emmanuel Bertin 
89
- RPM build for V2.3b3
90
* Fri Feb 07 2003 Emmanuel Bertin 
91
- Second RPM build
92
* Fri Jan 24 2003 Emmanuel Bertin 
93
- Second RPM build
94
* Sun Dec 15 2002 Emmanuel Bertin 
95
- First RPM build
96
 
97
# end of file