From ba74040c8c47c2c04ac5f028c255fa72ec159941 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Mon, 5 Aug 2002 01:04:05 +0000 Subject: [PATCH] - 3.0.3 (ac/am support) - ac_fix added NOTE: qt is broken - normal compilation is impossible... :-/ Changed files: MathPlanner.spec -> 1.4 --- MathPlanner.spec | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/MathPlanner.spec b/MathPlanner.spec index 513d876..15c150b 100644 --- a/MathPlanner.spec +++ b/MathPlanner.spec @@ -3,15 +3,17 @@ Summary: A Program for calculating many kind of things Summary(pl): Program do ³atwego wykonywania obliczeñ matematycznych Name: MathPlanner -Version: 3.0.2 -Release: 1 +Version: 3.0.3 +Release: 0.1 License: GPL v2 Group: X11/Applications/Publishing Source0: http://koti.mbnet.fi/jarmonik/%{name}-%{version}.tar.gz -Patch0: %{name}-makefile.patch -Patch1: %{name}-opt.patch +Patch0: %{name}-ac_fix.patch URL: http://koti.mbnet.fi/jarmonik +BuildRequires: autoconf +BuildRequires: automake BuildRequires: kdelibs-devel >= 3 +BuildRequires: libtool BuildRequires: qt-devel >= 3.0.1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -31,15 +33,19 @@ Obs oraz definicje funkcji. %prep -%setup -q -n %{name}3-install +%setup -q %patch0 -p1 -%patch1 -p1 %build -CFLAGS="-I/usr/X11R6/include/qt" -LDFLAGS="-L/usr/X11R6/lib/qt/plugins-mt/styles/ -lqplatinumstyle -lqmotifstyle" -export LDFLAGS CFLAGS -%{__make} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" build +QTDIR="/usr/X11R6" +export QTDIR + +%{__libtoolize} +aclocal +%{__autoconf} +%{__automake} +%configure +%{__make} %install rm -rf $RPM_BUILD_ROOT -- 2.43.0