Blob Blame History Raw
Name:           scamp
Version:        2.0.4
Release:        1%{?dist}
Summary:        compute astrometric and photometric solutions from sextractor catalogs

License:        GPLv3+
URL:            http://www.astromatic.net/software/scamp
Source0:        http://www.astromatic.net/download/%{name}/%{name}-%{version}.tar.gz


BuildRequires:  atlas-devel
BuildRequires:  cdsclient
BuildRequires:  fftw-devel
BuildRequires:  pkgconfig
BuildRequires:  plplot-devel

Requires:       cdsclient

%description
SCAMP is a program that computes astrometric and photometric solutions from
SExtractor catalogs

%prep
%setup -q
# New atlas libs
sed -i -e '/LIBS*=.*atlas/s,=.*,="-L%{_libdir}/atlas -lsatlas",' configure


%build
%configure
make %{?_smp_mflags}


%install
%make_install


%files
%if 0%{?fedora} >= 21
%license COPYRIGHT LICENSE
%else
%doc COPYRIGHT LICENSE
%endif
%doc AUTHORS ChangeLog HISTORY README THANKS doc/scamp.pdf
%{_bindir}/scamp
%{_datadir}/scamp/
%{_mandir}/*/scamp.*.gz


%changelog
* Mon Jan 12 2015 Christian Dersch <lupinix@fedoraproject.org> - 2.0.4-1
- initial spec