# # spec file for LabPlot (SUSE Linux 9.2) # # Copyright (c) 2006 Stefan Gerlach. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments to gerlach@mbi-berlin.de # %define version 1.5.1.rc2 %define release 1 Distribution: SUSE Linux 9.2 BuildPrereq: libjpeg-devel, ImageMagick-devel, ImageMagick-Magick++, gsl, qsa, netcdf, fftw3-devel, audiofile-devel Requires: libjasper, ImageMagick, ImageMagick-Magick++, gsl, fftw3, qsa, audiofile, netcdf ################################################################################ Name: LabPlot URL: http://labplot.sf.net/ Version: %{version} Release: %{release} Summary: Function and Data Plotter Source: %{name}-%{version}.tar.bz2 Group: Applications/Engineering License: GPL Packager: Stefan Gerlach Vendor: http://labplot.sf.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description LabPlot is a scientific program for plotting functions and to visualize and manipulate data. Authors: -------- %{packager} %prep %setup %build %ifarch x86_64 sparc64 ppc64 amd64 CFLAGS="$CFLAGS -fPIC" CXXFLAGS="$CXXFLAGS -fPIC" ./configure --prefix=/opt/kde3 --disable-static --enable-final --enable-libsuffix=64 --with-qt-libraries=/usr/lib/qt3/lib64 %else ./configure --prefix=/opt/kde3 --disable-static --enable-final %endif make %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/%{name}-%{version} rm -f ../file.list.%{name} %install make DESTDIR="$RPM_BUILD_ROOT" install cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(755\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} find . -type f -o -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} %post /sbin/ldconfig %postun /sbin/ldconfig %files -f ../file.list.%{name} %doc README TODO INSTALL ChangeLog CHANGES FEATURES LabPlot.lsm %changelog * Sun Mar 12 2006 - Stefan Gerlach - improved all sections - update for 1.5.1 * Fri Aug 12 2005 - Stefan Gerlach - update for 1.5.0 * Fri Mar 25 2005 - Stefan Gerlach - update for 1.4.1 * Sat Jan 29 2005 - Stefan Gerlach - man-gz * Sun Dec 19 2004 - Stefan Gerlach - created from SuSE 9.1 spec