From: Paweł Gołaszewski Date: Tue, 23 Jul 2002 20:04:25 +0000 (+0000) Subject: - it builds at least now... X-Git-Tag: MathPlanner-3_0_2-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2FMathPlanner.git;a=commitdiff_plain;h=0f53afbe44985fe6623b3e9dc973c0a1ffc8c166 - it builds at least now... Changed files: MathPlanner.spec -> 1.2 --- diff --git a/MathPlanner.spec b/MathPlanner.spec index 65ac6b0..4ea629a 100644 --- a/MathPlanner.spec +++ b/MathPlanner.spec @@ -1,12 +1,13 @@ Summary: A Program for calculating many kind of things Summary(pl): Program do ³atwego wykonywania obliczeñ matematycznych -Name: MathPlanner3 -Version: 3.0.1 +Name: MathPlanner +Version: 3.0.2 Release: 0.1 License: GPL Group: X11/Applications/Publishing -Source0: %{name}-%{version}.tar.gz +Source0: http://koti.mbnet.fi/jarmonik/%{name}-%{version}.tar.gz Patch0: %{name}-makefile.patch +Patch1: %{name}-opt.patch URL: http://koti.mbnet.fi/jarmonik BuildRequires: kdelibs-devel >= 3 BuildRequires: qt-devel >= 3.0.1 @@ -25,11 +26,15 @@ Obs oraz definicje funkcji. %prep -%setup -q +%setup -q -n %{name}3-install %patch0 -p1 +%patch1 -p1 %build -%{__make} CFLAGS="-I%{_prefix}/X11R6/include/qt" all +CFLAGS="-I%{_prefix}/X11R6/include/qt" +LDFLAGS="-L/usr/X11R6/lib/qt/plugins-mt/styles/ -lqplatinumstyle -lqmotifstyle" +export LDFLAGS CFLAGS +%{__make} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" build %install rm -rf $RPM_BUILD_ROOT