Summary: Interactive astronomy program Summary(pl): Interaktywny program astronomiczny Name: xephem Version: 3.5.2 Release: 3 License: distributable with free-unices distros, free for non-profit non-commercial purposes Group: X11/Applications/Science Source0: http://www.clearskyinstitute.com/xephem/%{name}-%{version}.tar.gz Source1: %{name}.desktop URL: http://www.clearskyinstitute.com/xephem/ BuildRequires: XFree86-devel BuildRequires: lesstif-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %define _mandir %{_prefix}/man %description XEphem \eks-i-'fem\ n. [X Window + Ephemeris] (1990) XEphem is a star-charting, sky-simulating, ephemeris-generating celestial virtuoso. %description -l pl XEphem \eks-i-'fem\ n. [X Window + Ephemeris] (1990) XEphem jest programem sporządzającym mapę gwiazd, symulującym niebo, efemerydalnie generującym sferę niebieską wirtuozem. Udostępnia wiele informacji o satelitach Ziemi, Układzie Słonecznym i odległych obiektach astronomicznych, w formie graficznej i liczbowej, w układzie geocentrycznym, heliocentrycznym i topocentrycznym. %package tools Summary: Additional tools for use with XEphem Summary(pl): Dodatkowe narzędzia dla XEphema Group: X11/Applications/Science Requires: %{name} = %{version} %description tools astorb2edb - convert astorb.txt to 2 .edb files, mpcorb2edb - convert MPCORB.DAT to 2 .edb files, lx200xed - a daemon to connect XEphem to a Meade LX200 telescope, XEphemdbd - is a filter to find astronomical objects within a given field of view. %description tools -l pl astorb2edb - konwertuje astorb.txt do 2 plików .edb, mpcorb2edb - konwertuje MPCORB.DAT do 2 plików .edb, lx200xed - demon do połączenia XEphema z teleskopem Meade LX200, XEphemdbd - filt do odnajdywania obiektów astronomicznych wg zadanych pól opisu. %prep %setup -q %build cd libastro %{__make} cd ../libip %{__make} cd ../GUI/xephem /usr/X11R6/bin/xmkmf %{__make} cd tools/lx200xed %{__make} cd ../xephemdbd %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1} \ $RPM_BUILD_ROOT{%{_applnkdir}/Scientific,%{_libdir}/X11/app-defaults} install GUI/xephem/xephem $RPM_BUILD_ROOT%{_bindir} mv -f GUI/xephem/auxil $RPM_BUILD_ROOT%{_datadir}/%{name} mv -f GUI/xephem/catalogs $RPM_BUILD_ROOT%{_datadir}/%{name} mv -f GUI/xephem/fifos $RPM_BUILD_ROOT%{_datadir}/%{name} mv -f GUI/xephem/fits $RPM_BUILD_ROOT%{_datadir}/%{name} install GUI/xephem/xephem.man $RPM_BUILD_ROOT%{_mandir}/man1/xephem.1 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific echo XEphem.ShareDir: %{_datadir}/%{name} > $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults/XEphem install GUI/xephem/tools/lx200xed/lx200xed $RPM_BUILD_ROOT%{_bindir} mv GUI/xephem/tools/lx200xed/README GUI/xephem/tools/lx200xed/README-lx gzip -9nf GUI/xephem/tools/lx200xed/README-lx install GUI/xephem/tools/xephemdbd/xephemdbd $RPM_BUILD_ROOT%{_bindir} install GUI/xephem/tools/xephemdbd/*.pl $RPM_BUILD_ROOT%{_bindir} gzip -9nf GUI/xephem/tools/xephemdbd/{INSTALL,README} install GUI/xephem/tools/*.pl $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/xephem %{_datadir}/%{name} %{_applnkdir}/Scientific/* %{_libdir}/X11/app-defaults/* %{_mandir}/man1/* %files tools %defattr(644,root,root,755) %doc GUI/xephem/tools/{lx200xed,xephemdbd}/*.gz %doc GUI/xephem/tools/xephemdbd/*.html %attr(755,root,root) %{_bindir}/lx200xed %attr(755,root,root) %{_bindir}/xephemdbd %attr(755,root,root) %{_bindir}/*.pl