49 lines
1.4 KiB
RPMSpec
49 lines
1.4 KiB
RPMSpec
Name: sextractor
|
|
Version: 2.4.4
|
|
Release: 2%{?dist}
|
|
Summary: Extract catalogs of sources from astronomical images
|
|
|
|
Group: Applications/Engineering
|
|
License: GPL
|
|
URL: http://terapix.iap.fr/soft/%{name}
|
|
Source0: ftp://ftp.iap.fr/pub/from_users/bertin/sextractor/%{name}-%{version}.tar.gz
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
%description
|
|
SExtractor is a program that builds a catalogue of objects from an
|
|
astronomical image. Although it is particularly oriented towards
|
|
reduction of large scale galaxy-survey data, it performs rather
|
|
well on moderately crowded star fields.
|
|
|
|
%prep
|
|
%setup -q
|
|
%{__chmod} -x src/fits/fitsconv.c
|
|
|
|
%build
|
|
%configure
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%install
|
|
%{__make} DESTDIR=%{buildroot} install
|
|
%{__mkdir_p} %{buildroot}%{_datadir}/%{name}
|
|
%{__install} -m 644 -p config/*.conv %{buildroot}%{_datadir}/%{name}
|
|
%{__install} -m 644 -p config/default.nnw %{buildroot}%{_datadir}/%{name}
|
|
|
|
|
|
%clean
|
|
%{__rm} -fr %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS BUGS COPYING HISTORY README THANKS doc/README.DOC doc/sextractor.pdf config/default.sex config/default.param
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/manx/*
|
|
%{_datadir}/%{name}/*
|
|
|
|
%changelog
|
|
* Tue Jun 20 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 2.4.4-2
|
|
- Fixed executable permission in src/fits/fitsconv.c
|
|
- default.sex and default.param moved to docs
|
|
* Mon Jun 19 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 2.4.4-1
|
|
- Initial spec file.
|