Hello community, here is the log from the commit of package yacas checked in at Fri Feb 16 07:33:06 CET 2007. -------- --- yacas/yacas.changes 2006-11-07 13:34:55.000000000 +0100 +++ /mounts/work_src_done/STABLE/yacas/yacas.changes 2007-02-15 16:42:43.000000000 +0100 @@ -1,0 +2,22 @@ +Thu Feb 15 10:59:45 CET 2007 - lrupp@suse.de + +- build with "-fno-strict-aliasing" + (=> grower.h:203 needs to be fixed) +- added xorg-x11-devel to BuildRequires +- adapt desktopfile handling for older distributions + +------------------------------------------------------------------- +Wed Jan 17 06:06:47 CET 2007 - lrupp@suse.de + +- some fixes for proteus GUI +- added desktop entry + +------------------------------------------------------------------- +Wed Jan 10 19:37:36 CET 2007 - lrupp@suse.de + +- new version 1.0.63 (first time in buildservice) +- enable "proteus" GUI +- remove unneeded .la files +- build parallel + +------------------------------------------------------------------- Old: ---- yacas-1.0.57.tar.bz2 yacas-64bit.diff yacas-libtoolize.diff yacas-mathcommands.diff yacas-yacasnumbers.diff New: ---- yacas-1.0.63.tar.bz2 yacaslogo.xpm yacas-proteus.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yacas.spec ++++++ --- /var/tmp/diff_new_pack.LD7323/_old 2007-02-16 07:29:45.000000000 +0100 +++ /var/tmp/diff_new_pack.LD7323/_new 2007-02-16 07:29:45.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package yacas (Version 1.0.57) +# spec file for package yacas (Version 1.0.63) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,19 +11,31 @@ # norootforbuild Name: yacas -BuildRequires: dejagnu gcc-c++ gcc-fortran gnuplot gperf readline-devel te_ams te_latex termcap +BuildRequires: dejagnu fltk-devel gcc-c++ gnuplot gperf gsl-devel libtool readline-devel te_ams te_latex termcap +BuildRequires: update-desktop-files +%if %suse_version <= 1000 +BuildRequires: gcc-mainline-fortran libstdc++-devel +%else +BuildRequires: gcc-fortran +%endif +# +# needed BuildRequires for proteus +BuildRequires: xorg-x11-devel +%if %suse_version > 1020 +BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXt-devel xorg-x11-libs +%endif +# +# URL: http://yacas.sourceforge.net/ License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Productivity/Scientific/Math Autoreqprov: on Summary: YACAS is an easy to use, general purpose Computer Algebra System. -Version: 1.0.57 -Release: 34 +Version: 1.0.63 +Release: 1 Source: %{name}-%{version}.tar.bz2 -Patch: %{name}-mathcommands.diff -Patch1: %{name}-yacasnumbers.diff -Patch2: %{name}-64bit.diff -Patch3: %{name}-libtoolize.diff +Source2: yacaslogo.xpm +Patch: yacas-proteus.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -49,50 +61,82 @@ %prep %setup -%patch -p1 -%patch1 -%patch2 -%patch3 -%ifarch ia64 ppc64 s390x sparc64 x86_64 -# Stupid makefiles -sed -ie 's/linux32/linux64/g' $(find -name Makefile.am) scripts/compile.rep/compilecpp.ys -%endif +%patch0 %build -autoreconf -fi -CFLAGS="$RPM_OPT_FLAGS" \ -CXXFLAGS="$RPM_OPT_FLAGS" \ -./configure --prefix=%{_prefix} \ - --libdir=%{_libdir} \ - --infodir=%{_infodir} \ - --mandir=%{_mandir} \ - --with-html-dir=%{_defaultdocdir}/%{name} \ +CFLAGS="%{optflags}" CXXFLAGS="%{optflags} -fno-strict-aliasing" \ +%configure --with-html-dir=%{_defaultdocdir}/%{name}/documentation \ --enable-ps-doc \ --enable-pdf-doc \ + --enable-static=no \ + --enable-proteus \ --enable-server -make DESTDIR=$RPM_BUILD_ROOT +make DESTDIR=%buildroot %{?jobs:-j%jobs} make test %install -make install DESTDIR=$RPM_BUILD_ROOT -install -m644 AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \ - $RPM_BUILD_ROOT%{_docdir}/%{name} -install -m644 manmake/*.pdf $RPM_BUILD_ROOT%{_docdir}/%{name} +%{makeinstall} DESTDIR=%buildroot +# install documentation +%{__install} -d -m755 %buildroot/%{_defaultdocdir}/%{name}/documentation +%{__install} -m644 AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO %buildroot/%{_defaultdocdir}/%{name} +%{__install} -m644 manmake/*.pdf %buildroot/%{_defaultdocdir}/%{name}/documentation +# remove unneeded static libraries +%{__rm} %buildroot/%{_libdir}/*.la +%{__rm} %buildroot/%{_libdir}/%{name}/*.la +# put all documentation to %{_defaultdocdir} and create a symlink for the tools +%{__rm} %buildroot/%{_datadir}/%{name}/documentation/yacaslogo.gif +%{__mv} %buildroot/%{_datadir}/%{name}/documentation/hints %buildroot/%{_defaultdocdir}/%{name}/documentation/ +%{__mv} %buildroot/%{_datadir}/%{name}/documentation/proteusbooks.html %buildroot/%{_defaultdocdir}/%{name}/documentation/ +%{__rm} -rf %buildroot/%{_datadir}/%{name}/documentation +%{__ln_s} %{_defaultdocdir}/%{name}/documentation %buildroot/%{_datadir}/%{name}/documentation +# export the correct path in proteus.conf +echo "/usr/share/yacas/" > %buildroot/%_sysconfdir/proteus.conf +# install desktop entry +%{__install} -d -m755 %buildroot/%{_datadir}/pixmaps +%{__install} -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps +%if %suse_version >= 1020 + %suse_update_desktop_file -c yacas Yacas "Computer algebra system" proteusworksheet yacaslogo.xpm Education Math +%else + %suse_update_desktop_file yacas Education Math +%endif %clean -#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; +rm -rf %buildroot; + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig %files %defattr(-,root,root) +%config %_sysconfdir/proteus.conf %{_bindir}/%{name}* +%{_bindir}/proteusworksheet %{_bindir}/ytxt2tex %{_datadir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/yacaslogo.xpm %{_libdir}/%{name} %{_libdir}/lib%{name}* %{_libdir}/libc%{name}* -%doc %{_docdir}/%{name} +%doc %{_defaultdocdir}/%{name} %changelog -n yacas +* Thu Feb 15 2007 - lrupp@suse.de +- build with "-fno-strict-aliasing" + (=> grower.h:203 needs to be fixed) +- added xorg-x11-devel to BuildRequires +- adapt desktopfile handling for older distributions +* Wed Jan 17 2007 - lrupp@suse.de +- some fixes for proteus GUI +- added desktop entry +* Wed Jan 10 2007 - lrupp@suse.de +- new version 1.0.63 (first time in buildservice) +- enable "proteus" GUI +- remove unneeded .la files +- build parallel * Tue Nov 07 2006 - meissner@suse.de - use RPM_OPT_FLAGS * Mon Mar 20 2006 - schwab@suse.de ++++++ yacas-1.0.57.tar.bz2 -> yacas-1.0.63.tar.bz2 ++++++ ++++ 73973 lines of diff (skipped) ++++++ yacas-proteus.diff ++++++ Index: proteus/makefile.linux =================================================================== --- proteus/makefile.linux.orig +++ proteus/makefile.linux @@ -3,7 +3,7 @@ INSTALL_DIR = /usr -YACAS_INCLUDE = $(INSTALL_DIR)/local/share/yacas/include +YACAS_INCLUDE = $(INSTALL_DIR)/share/yacas/include CXX =c++ INCS = -I$(YACAS_INCLUDE) -I$(YACAS_INCLUDE)/plat/linux32 -I/usr/X11R6/include @@ -12,7 +12,7 @@ CXXFLAGS = -O2 -Wno-return-type LDLIBS = -L/usr/X11R6/lib -lX11 -lXext -lm -ldl GLDLIBS = -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXext -lm FLTKLIBS = -lfltk -ldl ../libltdl/ltdl.o -YACASLIBS = -L$(INSTALL_DIR)/local/lib/ -lyacas -lyacasplatform -lyacasnumbers +YACASLIBS = -L$(INSTALL_DIR)/lib/ -lyacas -lyacasplatform -lyacasnumbers LIBS = $(LDLIBS) $(FLTKLIBS) $(YACASLIBS) @@ -22,10 +22,10 @@ all-inclusive: yacdefines.h proteus hin # proteuscalculator install: - cp proteus /usr/local/bin/ + cp proteus /usr/bin/ cp proteus.conf /etc/proteus.conf - cp hints WorksheetBanner flplot.ys flplot.ys.def /usr/local/share/yacas/ - cp proteusbooks.html /usr/local/share/yacas/documentation/proteusbooks.html + cp hints WorksheetBanner flplot.ys flplot.ys.def /usr/share/yacas/ + cp proteusbooks.html /usr/share/doc/packages/yacas/documentation/proteusbooks.html include makeinclude Index: proteus/proteusbooks.html =================================================================== --- proteus/proteusbooks.html.orig +++ proteus/proteusbooks.html @@ -3,7 +3,7 @@ <center><H1>Yacas documentation</H1></center><BODY BGCOLOR="ffffff" LINK="0000ff" VLINK="0000ff"> <P> -