1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
#
# scamp.spec.in
#
# Process this file with autoconf to generate an RPM .spec packaging script.
#
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#
# This file part of: SCAMP
#
# Copyright: (C) 2002-2020 IAP/CNRS/SorbonneU
#
# License: GNU General Public License
#
# SCAMP is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# SCAMP is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with SCAMP. If not, see <http://www.gnu.org/licenses/>.
#
# Last modified: 02/01/2020
#
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%define name @PACKAGE_TARNAME@
%define version @PACKAGE_VERSION@
%define release @PACKAGE_RELEASE@%{?dist}
%define debug_package %{nil}
%undefine _missing_build_ids_terminate_build
Summary: compute astrometric and photometric solutions from SExtractor catalogs
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://astromatic.net/download/%{name}/%{name}-%{version}.tar.gz
URL: http://astromatic.net/software/%{name}/
License: GPL v3+
Group: Sciences/Astronomy
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: pkgconfig
BuildRequires: fftw-devel >= 3.1
BuildRequires: atlas-devel >= 3.6.0
BuildRequires: libcurl-devel >= 7.16.0
BuildRequires: plplot-devel >= 5.9.1
%description
SCAMP is a program that computes astrometric and photometric solutions from
SExtractor catalogs
%prep
%setup -q
%build
if test "$USE_BEST"; then
%configure --enable-mkl --enable-auto-flags --enable-best-link --with-release=@PACKAGE_RELEASE@
elif test "$USE_ICC"; then
%configure --enable-icc --with-release=@PACKAGE_RELEASE@
else
%configure --with-release=@PACKAGE_RELEASE@
fi
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc config AUTHORS BUGS ChangeLog COPYRIGHT HISTORY INSTALL LICENSE README.md THANKS
%{_bindir}/@PACKAGE_TARNAME@
%{_mandir}/man1/@PACKAGE_TARNAME@.1*
%{_mandir}/manx/@PACKAGE_TARNAME@.x*
%{_datadir}/@PACKAGE_TARNAME@
%changelog
* @DATE2@ @PACKAGER@ <@PACKAGE_BUGREPORT@>
- Automatic RPM rebuild
* Fri May 23 2003 Emmanuel Bertin <bertin@iap.fr>
- Second RPM build
* Wed Jan 1 2003 Emmanuel Bertin <bertin@iap.fr>
- First RPM build
# end of file
|