File LabPlot.spec of Package LabPlot
#
# spec file for package LabPlot (Version 1.6.0.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: LabPlot
# skip-check-libtool-deps
BuildRequires: fdupes gsl-devel kdelibs3-devel
Url: http://labplot.sourceforge.net/
License: GPL v2 or later
Group: Productivity/Scientific/Other
Summary: Data Analysis and Visualization
Version: 1.6.0.2
Release: 13
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%version.tar.bz2
Patch: %{name}-%{version}.patch
Patch1: %{name}-undefined-code.patch
%description
LabPlot is for scientific 2D and 3D data and function plotting. The
various display and analysis functions are explained in the handbook
(KDE help center). LabPlot also provides a component for easily viewing
the project files in Konqueror.
Authors:
--------
Stefan Gerlach <gerlach@mbi-berlin.de>
%prep
%setup -q
%patch
%patch1
. /etc/opt/kde3/common_options
update_admin --no-unsermake
%build
. /etc/opt/kde3/common_options
export CFLAGS="$CFLAGS -fPIC"
export CXXFLAGS="$CXXFLAGS -fPIC"
export CPPFLAGS="$CPPFLAGS -fno-strict-aliasing -fPIC"
./configure $configkde --disable-final --libdir=/opt/kde3/%_lib --enable-static=no
make %{?jobs:-j %jobs}
%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
rm -rf $RPM_BUILD_ROOT/opt/kde3/share/icons/locolor
rm -rf $RPM_BUILD_ROOT/??color
%suse_update_desktop_file %name Education Math
%find_lang %name
rm -f $RPM_BUILD_ROOT/opt/kde3/%_lib/*.a
rm -f $RPM_BUILD_ROOT/opt/kde3/%_lib/*.la
%fdupes -s $RPM_BUILD_ROOT
kde_post_install
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files -f %name.lang
%defattr(-,root,root)
%doc %{_mandir}/man1/*.1.gz
%doc /opt/kde3/share/doc/HTML/*/labplot
/opt/kde3/bin/*
/opt/kde3/%_lib/*
/opt/kde3/share/*/*/*.desktop
/opt/kde3/share/apps/*
/opt/kde3/share/icons/*
%changelog
* Tue Nov 18 2008 pgajdos@suse.cz
- delete array to delete [] array [bnc#444772]
* Mon Aug 18 2008 pgajdos@suse.cz
- updated to 1.6.0.2:
* second bugfix release of 1.6.0 stable
* removed part of patch -- upstream
* Tue May 06 2008 coolo@suse.de
- return in non-void functions
* Tue Mar 04 2008 pgajdos@suse.cz
- updated to 1.6.0.1 (fixes crash during resetRanges() [bnc#361567])
- fixed crash during graph change operation
* Mon Dec 03 2007 pgajdos@suse.cz
- fixed buffer overflow (buffer-overflow.patch)
* Tue Oct 23 2007 pgajdos@suse.cz
- fixed build -- customized configure.in
* configure.patch
-- added missing include
* missing-includes.patch
* Thu Jun 21 2007 stbinner@suse.de
- run fdupes, fix invalid .desktop file
* Fri Jun 01 2007 coolo@suse.de
- move kde_post_install
* Wed May 02 2007 stbinner@suse.de
- update to 1.5.1.6
* Tue Apr 17 2007 dmueller@suse.de
- fix pointless compiler warnings
* Mon Apr 16 2007 dmueller@suse.de
- build against GSL (#240021)
- disable libtool dependency checker
* Thu Feb 08 2007 dmueller@suse.de
- remove static libs
* Mon Sep 18 2006 dmueller@suse.de
- build parallel
* Tue May 30 2006 adrian@suse.de
- fix build for < 10.1
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Dec 20 2005 dmueller@suse.de
- fix file list
* Sat Sep 17 2005 dmueller@suse.de
- update 1.5.0.3
* Wed Sep 07 2005 dmueller@suse.de
- fix crash on startup (#113751)
- add ldconfig to postinst
* Fri Aug 19 2005 coolo@suse.de
- fix file list for icons
* Sat Jul 16 2005 dmueller@suse.de
- update to 1.4.1
* Mon May 23 2005 yxu@suse.de
- fixed for GCC4
* Wed Apr 20 2005 yxu@suse.de
- fixed for GCC4
- 64bit fixes
* Thu Dec 16 2004 coolo@suse.de
- disable unsermake - this is using GNU make
* Wed Nov 17 2004 adrian@suse.de
- move menu entry to the Math menu
* Thu Jun 17 2004 adrian@suse.de
- initial package of version 1.3.0