From ea1901b07a24d1ee4bce8fae29b923db7de1a1ba Mon Sep 17 00:00:00 2001 From: Christian Dersch Date: Jan 28 2015 13:11:29 +0000 Subject: Initial import (#1181194) --- diff --git a/.gitignore b/.gitignore index e69de29..7292bc2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/scamp-2.0.4.tar.gz diff --git a/scamp.spec b/scamp.spec new file mode 100644 index 0000000..a0955b1 --- /dev/null +++ b/scamp.spec @@ -0,0 +1,52 @@ +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 - 2.0.4-1 +- initial spec diff --git a/sources b/sources index e69de29..905603f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e2d4b9339d8e2573d20f3954c46fdda1 scamp-2.0.4.tar.gz