From 75b7bf0b662c79211904288b99e87666a34bde67 Mon Sep 17 00:00:00 2001 From: Tomasz Pala Date: Sat, 8 Mar 2003 01:04:40 +0000 Subject: [PATCH] - updated Source0 URL, - changed BR: lesstif-devel to motif-devel (consider using openmotif-devel, see 4-th question in project FAQ), - removed /usr/X11R6 prefix, - added xephem-3.5.2.pdf documentation file, - release 6. Changed files: xephem.spec -> 1.18 --- xephem.spec | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/xephem.spec b/xephem.spec index cdd36db..14b6d23 100644 --- a/xephem.spec +++ b/xephem.spec @@ -2,20 +2,18 @@ Summary: Interactive astronomy program Summary(pl): Interaktywny program astronomiczny Name: xephem Version: 3.5.2 -Release: 5 +Release: 6 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 +Source0: http://www.clearskyinstitute.com/cgi-bin/download/%{name}-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png +Source3: http://www.clearskyinstitute.com/cgi-bin/download/xephem-3.5.2.pdf URL: http://www.clearskyinstitute.com/xephem/ BuildRequires: XFree86-devel -BuildRequires: lesstif-devel +BuildRequires: motif-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 @@ -49,6 +47,18 @@ lx200xed - demon do po XEphemdbd - filt do odnajdywania obiektów astronomicznych wg zadanych pól opisu. +%package doc +Summary: XEphem documentation in PDF +Summary(pl): Dokumentacja XEphema w PDF-ie +Group: X11/Applications/Science +Requires: %{name} = %{version} + +%description doc +XEphem documentation in PDF format. + +%description doc -l pl +Dokumentacja XEphema w formacie PDF. + %prep %setup -q @@ -69,7 +79,7 @@ cd ../xephemdbd rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1} \ $RPM_BUILD_ROOT{%{_applnkdir}/Scientific/Astronomy,%{_pixmapsdir}} \ - $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults + $RPM_BUILD_ROOT{%{_libdir}/X11/app-defaults,%{_docdir}/%{name}-%{version}} install GUI/xephem/xephem $RPM_BUILD_ROOT%{_bindir} cp -a GUI/xephem/auxil $RPM_BUILD_ROOT%{_datadir}/%{name} @@ -91,6 +101,8 @@ install GUI/xephem/tools/xephemdbd/*.pl $RPM_BUILD_ROOT%{_bindir} install GUI/xephem/tools/*.pl $RPM_BUILD_ROOT%{_bindir} cp -f Copyright LICENSE +install %{SOURCE3} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} + %clean rm -rf $RPM_BUILD_ROOT @@ -111,3 +123,6 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/lx200xed %attr(755,root,root) %{_bindir}/xephemdbd %attr(755,root,root) %{_bindir}/*.pl + +%files doc +%{_docdir}/%{name}-%{version} -- 2.44.0