SPECS: xephem.spec - added missing dirs (gallery, lo) - packed mor...

havner havner at pld-linux.org
Mon Jul 31 01:01:18 CEST 2006


Author: havner                       Date: Sun Jul 30 23:01:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added missing dirs (gallery, lo)
- packed more tools (indi iface)
- description fixes, cosmetics

---- Files affected:
SPECS:
   xephem.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/xephem.spec
diff -u SPECS/xephem.spec:1.38 SPECS/xephem.spec:1.39
--- SPECS/xephem.spec:1.38	Sun Jul 30 23:09:03 2006
+++ SPECS/xephem.spec	Mon Jul 31 01:01:13 2006
@@ -1,4 +1,9 @@
 # $Revision$, $Date$
+#
+# TODO: Check INDI interface (anyone with telescope?), probably change
+#	fifo dir (/usr/share/xephem/fifo) as it needs to be writeable.
+#	And how it cooperates with http://indi.sf.net?
+#
 Summary:	Interactive astronomy program
 Summary(pl):	Interaktywny program astronomiczny
 Name:		xephem
@@ -44,15 +49,19 @@
 %description tools
 astorb2edb - convert astorb.txt to 2 .edb files,
 mpcorb2edb - convert MPCORB.DAT to 2 .edb files,
+INDI - tools for connecting telescope using INDI interface,
 lx200xed - a daemon to connect XEphem to a Meade LX200 telescope,
-XEphemdbd - is a filter to find astronomical objects within a given
+xedb - tool to generate ephemeris data from .edb files,
+XEphemdbd - 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,
+INDI - narzędzia do podłączenia teleskopu za pomocą interfejsu INDI,
 lx200xed - demon do połączenia XEphema z teleskopem Meade LX200,
-XEphemdbd - filt do odnajdywania obiektów astronomicznych wg zadanych
+xedb - narzędzie do generowania danych efemerycznych z plików .edb,
+XEphemdbd - filtr do odnajdywania obiektów astronomicznych wg zadanych
 	    pól opisu.
 
 %prep
@@ -61,13 +70,16 @@
 %patch1 -p1
 
 sed -i "s#X11R6/lib#X11R6/%{_lib}#g" GUI/xephem/Makefile
+sed -i "s#/usr/local#%{_datadir}#g" GUI/xephem/tools/xephemdbd/start-xephemdbd.pl
 
-mv GUI/xephem/tools/lx200xed/README GUI/xephem/tools/lx200xed/README-lx
 mv GUI/xephem/tools/indi/README GUI/xephem/tools/indi/README-indi
+mv GUI/xephem/tools/lx200xed/README GUI/xephem/tools/lx200xed/README-lx200xed
 mv GUI/xephem/tools/xedb/README GUI/xephem/tools/xedb/README-xedb
 mv GUI/xephem/tools/xephemdbd/README GUI/xephem/tools/xephemdbd/README-xephemdbd
 mv -f Copyright LICENSE
 
+cat %{SOURCE3} >> GUI/xephem/auxil/xephem_sites
+
 %build
 
 cd GUI/xephem
@@ -88,24 +100,23 @@
         CC="%{__cc}" \
         CFLAGS="%{rpmcflags} -I../../../../libastro"
 
-%{__make} drivers -C tools/indi \
+%{__make} -C tools/indi \
         CC="%{__cc}" \
         CFLAGS="%{rpmcflags} -I../../../../liblilxml -I../../../../libastro -I../../../../libip"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1} \
 	$RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_appdefsdir}}
 
-rm -f GUI/xephem/auxil/xephem_sites
-cp %{SOURCE3} GUI/xephem/auxil/
-
 install GUI/xephem/xephem $RPM_BUILD_ROOT%{_bindir}
 cp -a GUI/xephem/auxil $RPM_BUILD_ROOT%{_datadir}/%{name}
 cp -a GUI/xephem/catalogs $RPM_BUILD_ROOT%{_datadir}/%{name}
 cp -a GUI/xephem/help $RPM_BUILD_ROOT%{_datadir}/%{name}
 cp -a GUI/xephem/fifos $RPM_BUILD_ROOT%{_datadir}/%{name}
 cp -a GUI/xephem/fits $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a GUI/xephem/gallery $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a GUI/xephem/lo $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 install GUI/xephem/xephem.man $RPM_BUILD_ROOT%{_mandir}/man1/xephem.1
 
@@ -113,13 +124,31 @@
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 echo XEphem.ShareDir: %{_datadir}/%{name} > $RPM_BUILD_ROOT%{_appdefsdir}/XEphem
 
+# INDI drivers
+install GUI/xephem/tools/indi/cam $RPM_BUILD_ROOT%{_bindir}
+install GUI/xephem/tools/indi/ota $RPM_BUILD_ROOT%{_bindir}
+install GUI/xephem/tools/indi/security $RPM_BUILD_ROOT%{_bindir}
+install GUI/xephem/tools/indi/tmount $RPM_BUILD_ROOT%{_bindir}
+install GUI/xephem/tools/indi/wx $RPM_BUILD_ROOT%{_bindir}
+
+install GUI/xephem/tools/indi/evalINDI $RPM_BUILD_ROOT%{_bindir}
+install GUI/xephem/tools/indi/getINDI $RPM_BUILD_ROOT%{_bindir}
+install GUI/xephem/tools/indi/indiserver $RPM_BUILD_ROOT%{_bindir}
+install GUI/xephem/tools/indi/setINDI $RPM_BUILD_ROOT%{_bindir}
 install GUI/xephem/tools/lx200xed/lx200xed $RPM_BUILD_ROOT%{_bindir}
-
+install GUI/xephem/tools/xedb/xedb $RPM_BUILD_ROOT%{_bindir}
 install GUI/xephem/tools/xephemdbd/xephemdbd $RPM_BUILD_ROOT%{_bindir}
-install GUI/xephem/tools/xephemdbd/*.pl $RPM_BUILD_ROOT%{_bindir}
-
+# xephemdbd.html and xephemdbd.pl are used for WWW interface to xephemdbd
+# one can make http server subpackage
+install GUI/xephem/tools/xephemdbd/start-xephemdbd.pl $RPM_BUILD_ROOT%{_bindir}
 install GUI/xephem/auxil/*.pl $RPM_BUILD_ROOT%{_bindir}
-install GUI/xephem/tools/xephemdbd/*.pl $RPM_BUILD_ROOT%{_bindir}
+
+install GUI/xephem/tools/indi/evalINDI.man $RPM_BUILD_ROOT%{_mandir}/man1/evalINDI.1
+install GUI/xephem/tools/indi/getINDI.man $RPM_BUILD_ROOT%{_mandir}/man1/getINDI.1
+install GUI/xephem/tools/indi/indiserver.man $RPM_BUILD_ROOT%{_mandir}/man1/indiserver.1
+install GUI/xephem/tools/indi/setINDI.man $RPM_BUILD_ROOT%{_mandir}/man1/setINDI.1
+
+install GUI/xephem/tools/indi/*.fts $RPM_BUILD_ROOT%{_datadir}/%{name}/fits
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -132,17 +161,17 @@
 %{_desktopdir}/*
 %{_pixmapsdir}/*
 %{_appdefsdir}/*
-%{_mandir}/man1/*
+%{_mandir}/man1/xephem.1.*
 
 %files tools
 %defattr(644,root,root,755)
-%doc GUI/xephem/tools/lx200xed/README-lx GUI/xephem/tools/xephemdbd/README-xephemdbd
-%doc GUI/xephem/tools/indi/README-indi GUI/xephem/tools/indi/README-indi
+%doc GUI/xephem/tools/indi/README-indi GUI/xephem/tools/lx200xed/README-lx200xed
+%doc GUI/xephem/tools/xedb/README-xedb GUI/xephem/tools/xephemdbd/README-xephemdbd
 
-%doc GUI/xephem/tools/xephemdbd/*.html
-%attr(755,root,root) %{_bindir}/lx200xed
-%attr(755,root,root) %{_bindir}/xephemdbd
-%attr(755,root,root) %{_bindir}/*.pl
+%attr(755,root,root) %{_bindir}/*
+%exclude %{_bindir}/xephem
+%{_mandir}/man1/*
+%exclude %{_mandir}/man1/xephem.1.*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -150,6 +179,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2006/07/30 23:01:13  havner
+- added missing dirs (gallery, lo)
+- packed more tools (indi iface)
+- description fixes, cosmetics
+
 Revision 1.38  2006/07/30 21:09:03  havner
 - pack with uncompressed documentation as it appeared that xephem uses it
   for displaying help from program help menu. doc subpackage obsolete
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xephem.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list