pkg://xephem-3.1-2.src.rpm:1387913/xephem.spec
info downloads
Summary: X based ephemeris (astronomy tool)
Name: xephem
Version: 3.1
Release: 2
Copyright: distributable
Group: Applications/Database
Source: ftp://iraf.noao.edu/contrib/xephem/xephem-3.1/xephem-3.1.tar.gz
Url: http://iraf.noao.edu/~ecdowney/xephem.html
Source1: xephem.wmconfig
Patch0: xephem-3.1-redhat.patch
Requires: lesstif
BuildRoot: /var/tmp/xephem-root
%description
Xephem is an interactive astronomy program for X Windows systems.
%prep
%setup -q
%patch0 -p1 -b .redhat
find . -name "*.redhat" -exec rm -f {} \;
%build
cd libastro ; xmkmf ; make ; cd ..
cd GUI/xephem ; xmkmf ; make ; cd ..
%install
rm -rf $RPM_BUILD_ROOT
make install install.man DESTDIR=$RPM_BUILD_ROOT -C GUI/xephem
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults
mkdir -p $RPM_BUILD_ROOT/usr/lib/xephem
cd GUI/xephem
install -c XEphem.ad $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults/XEphem
make -C fifos
cp -a tools auxil catalogs fifos $RPM_BUILD_ROOT/usr/lib/xephem/
install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
install -m 644 -o root -g root $RPM_SOURCE_DIR/xephem.wmconfig \
$RPM_BUILD_ROOT/etc/X11/wmconfig/xephem
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%config /etc/X11/wmconfig/xephem
/usr/X11R6/bin/xephem
/usr/X11R6/man/man1/xephem.1x
%config /usr/X11R6/lib/X11/app-defaults/XEphem
/usr/lib/xephem/*
%changelog
* Wed Oct 14 1998 Michael Maher <mike@redhat.com>
- built package for 5.2 powertools
* Fri May 22 1998 Cristian Gafton <gafton@redhat.com>
- updated to ver. 3.1
- reworked spec file
* Thu Dec 4 1997 Otto Hammersmith <otto@redhat.com>
- tracked down core dump on i386
* Wed Dec 3 1997 Otto Hammersmith <otto@redhat.com>
- fixed nawk problem
* Thu Nov 20 1997 Otto Hammersmith <otto@redhat.com>
- added wmconfig
* Tue Nov 18 1997 Otto Hammersmith <otto@redhat.com>
- built for glibc
- moved buildroot to /var/tmp from /tmp
- removed exclusive arch, since we now have motif for alpha and sparc
* Thu May 01 1997 Michael Fulbright <msf@redhat.com>
- Updated to 3.0 and a changed to build with a BuildRoot