]> git.pld-linux.org Git - packages/MathPlanner.git/blobdiff - MathPlanner.spec
- 3.0.5 - added desktop, removed included patch - STBR
[packages/MathPlanner.git] / MathPlanner.spec
index 889990ff7db39de72214ebc11a90998d968c2f6d..2e0409c0d7c826ec6c989a8add55040ec2a4b426 100644 (file)
@@ -1,24 +1,23 @@
-# TODO:
-# - desktop
 Summary:       A Program for calculating many kind of things
 Summary(pl):   Program do ³atwego wykonywania obliczeñ matematycznych
 Name:          MathPlanner
-Version:       3.0.4
-Release:       0.1
+Version:       3.0.5
+Release:       1
 License:       GPL v2
 Group:         X11/Applications/Publishing
 Source0:       http://koti.mbnet.fi/jarmonik/%{name}-%{version}.tar.gz
+Source1:       %{name}.desktop
 Patch0:                %{name}-ac_fix.patch
 URL:           http://koti.mbnet.fi/jarmonik
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: kdelibs-devel >= 3
+BuildRequires: kdelibs-devel >= 3.0.3
 BuildRequires: libtool
-BuildRequires: qt-devel >= 3.0.1
+BuildRequires: qt-devel >= 3.0.5
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
-%define                _mathdir        %{_datadir}/MathPlanner3
+%define                _mathdir        %{_datadir}/MathPlanner
 
 %description
 MathPlanner is mathematical design and publishing tool. MathPlanner
@@ -34,7 +33,7 @@ oraz definicje funkcji.
 
 %prep
 %setup -q
-%patch0
+%patch0 -p0
 
 %build
 QTDIR="/usr/X11R6"
@@ -49,22 +48,24 @@ aclocal
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_pixmapsdir}/mini
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir}/mini,%{_applnkdir}/Scientific}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 install icons/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
 install icons/mini/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/mini
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes.txt Doc.htm Doc examples
+%doc AUTHORS ChangeLog NEWS Doc.htm Doc examples
 %attr(755,root,root) %{_bindir}/*
 %dir %{_mathdir}
 %{_mathdir}/*.txt
 %{_mathdir}/pixmaps/*
 %{_pixmapsdir}/*.xpm
 %{_pixmapsdir}/mini/*.xpm
+%{_applnkdir}/Scientific/*.desktop
This page took 0.033187 seconds and 4 git commands to generate.