- release 1 MathPlanner-3_0_2-1
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 23 Jul 2002 20:40:55 +0000 (20:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- ready and works...

Changed files:
    MathPlanner.spec -> 1.3

MathPlanner.spec

index 4ea629af5e5621cdb3f0da39a842bf6ffaab424e..513d876f6b954a611d503a20db920686038afef8 100644 (file)
@@ -1,9 +1,11 @@
+# TODO:
+# - desktop
 Summary:       A Program for calculating many kind of things
 Summary(pl):   Program do ³atwego wykonywania obliczeñ matematycznych
 Name:          MathPlanner
 Version:       3.0.2
-Release:       0.1
-License:       GPL
+Release:       1
+License:       GPL v2
 Group:         X11/Applications/Publishing
 Source0:       http://koti.mbnet.fi/jarmonik/%{name}-%{version}.tar.gz
 Patch0:                %{name}-makefile.patch
@@ -13,6 +15,9 @@ BuildRequires:        kdelibs-devel >= 3
 BuildRequires: qt-devel >= 3.0.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _prefix         /usr/X11R6
+%define                _mathdir        %{_datadir}/MathPlanner3
+
 %description
 MathPlanner is mathematical design and publishing tool. MathPlanner
 supports complex numbers, vectors, and basic math operations like
@@ -31,26 +36,29 @@ oraz definicje funkcji.
 %patch1 -p1
 
 %build
-CFLAGS="-I%{_prefix}/X11R6/include/qt"
+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
 
 %install
 rm -rf $RPM_BUILD_ROOT
-#mkdir -p $RPM_BUILD_ROOT/usr/bin
-#mkdir -p $RPM_BUILD_ROOT/opt/MathPlanner3
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}/mini
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-#install -s -m 755 MathPlanner3 $RPM_BUILD_ROOT/usr/bin/MathPlanner3
-#cp -R Data/* $RPM_BUILD_ROOT/opt/MathPlanner3
+install icons/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
+install icons/mini/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/mini
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Data/{Changes.txt,Doc.htm,MPLConfig.txt}
-#/opt/MathPlanner3
-#/usr/bin/MathPlanner3
+%doc Changes.txt Doc.htm Doc examples
+%attr(755,root,root) %{_bindir}/*
+%dir %{_mathdir}
+%{_mathdir}/*.txt
+%{_mathdir}/pixmaps/*
+%{_pixmapsdir}/*.xpm
+%{_pixmapsdir}/mini/*.xpm
This page took 0.031055 seconds and 4 git commands to generate.