From 0f53afbe44985fe6623b3e9dc973c0a1ffc8c166 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Tue, 23 Jul 2002 20:04:25 +0000 Subject: [PATCH] - it builds at least now... Changed files: MathPlanner.spec -> 1.2 --- MathPlanner.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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 -- 2.43.0