SPECS: xephem.spec - upgraded to 3.7.2, - fixed passing CFLAGS, us...

gotar gotar at pld-linux.org
Thu Aug 30 14:55:56 CEST 2007


Author: gotar                        Date: Thu Aug 30 12:55:56 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- upgraded to 3.7.2,
- fixed passing CFLAGS, use system libpng and zlib,
- BR: groff

---- Files affected:
SPECS:
   xephem.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/xephem.spec
diff -u SPECS/xephem.spec:1.49 SPECS/xephem.spec:1.50
--- SPECS/xephem.spec:1.49	Mon Feb 12 23:09:22 2007
+++ SPECS/xephem.spec	Thu Aug 30 14:55:51 2007
@@ -7,17 +7,19 @@
 Summary:	Interactive astronomy program
 Summary(pl.UTF-8):	Interaktywny program astronomiczny
 Name:		xephem
-Version:	3.7.1
-Release:	3
+Version:	3.7.2
+Release:	1
 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-md5:	a7a89469f1c0681d186344ef96941b8d
+# Source0-md5:	1074e04b9a89302d9f2bad7107674311
 Source1:	%{name}.desktop
 Source2:	%{name}.png
 Source3:	%{name}_sites
 Patch0:		%{name}-makefile.patch
+Patch1:		%{name}-xephemdbd.patch
 URL:		http://www.clearskyinstitute.com/xephem/
+BuildRequires:	groff
 BuildRequires:	openmotif-devel
 BuildRequires:	sed >= 4.0
 Requires:	xorg-lib-libXt >= 1.0.0
@@ -66,6 +68,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p0
 
 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
@@ -80,11 +83,28 @@
 
 %build
 
+# build these libraries first in order to have CFLAGS passed
+%{__make} -C libastro \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
+
+%{__make} -C libip \
+	CC="%{__cc}" \
+	CFLAGS="-I../libastro %{rpmcflags}"
+
+%{__make} -C libjpegd \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
+
+%{__make} -C liblilxml \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
+
 cd GUI/xephem
 
 %{__make} \
 	CC="%{__cc}" \
-	CDEBUGFLAGS="%{rpmcflags}"
+	CLDFLAGS="%{rpmcflags}"
 
 %{__make} -C tools/lx200xed \
 	CC="%{__cc}" \
@@ -92,15 +112,15 @@
 
 %{__make} -C tools/xephemdbd \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -I../../../../GUI/xephem -I../../../../libastro -I../../../../libip"
+	CFLAGS="-ffast-math %{rpmcflags} -I../../../../GUI/xephem -I../../../../libastro -I../../../../libip"
 
 %{__make} -C tools/xedb \
         CC="%{__cc}" \
-        CFLAGS="%{rpmcflags} -I../../../../libastro"
+        CFLAGS="-ffast-math %{rpmcflags} -I../../../../libastro"
 
 %{__make} -C tools/indi \
         CC="%{__cc}" \
-        CFLAGS="%{rpmcflags} -I../../../../liblilxml -I../../../../libastro -I../../../../libip"
+        CFLAGS="-ffast-math %{rpmcflags} -I../../../../liblilxml -I../../../../libastro -I../../../../libip"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -110,10 +130,10 @@
 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/help $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
@@ -143,6 +163,7 @@
 
 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/indidevapi.man $RPM_BUILD_ROOT%{_mandir}/man1/indidevapi.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
 
@@ -177,6 +198,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2007/08/30 12:55:51  gotar
+- upgraded to 3.7.2,
+- fixed passing CFLAGS, use system libpng and zlib,
+- BR: groff
+
 Revision 1.49  2007/02/12 22:09:22  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xephem.spec?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list