rpms/wxMaxima/devel .cvsignore, 1.10, 1.11 sources, 1.9, 1.10 wxMaxima.spec, 1.26, 1.27

Rex Dieter rdieter at fedoraproject.org
Sat Apr 18 20:51:50 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/wxMaxima/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26945

Modified Files:
	.cvsignore sources wxMaxima.spec 
Log Message:
* Sat Apr 18 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.8.1-1
- wxMaxima-0.8.1



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/wxMaxima/devel/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- .cvsignore	5 Nov 2008 16:53:32 -0000	1.10
+++ .cvsignore	18 Apr 2009 20:51:18 -0000	1.11
@@ -1 +1 @@
-wxMaxima-0.7.6.tar.gz
+wxMaxima-0.8.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/wxMaxima/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	5 Nov 2008 16:53:32 -0000	1.9
+++ sources	18 Apr 2009 20:51:19 -0000	1.10
@@ -1 +1 @@
-01c607778fa6b332144fcbeb902e6ede  wxMaxima-0.7.6.tar.gz
+a50e7e78e022408fac61634c92bd2341  wxMaxima-0.8.1.tar.gz


Index: wxMaxima.spec
===================================================================
RCS file: /cvs/pkgs/rpms/wxMaxima/devel/wxMaxima.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- wxMaxima.spec	27 Feb 2009 20:44:49 -0000	1.26
+++ wxMaxima.spec	18 Apr 2009 20:51:19 -0000	1.27
@@ -3,8 +3,8 @@
 
 Summary: Graphical user interface for Maxima 
 Name:    wxMaxima
-Version: 0.7.6
-Release: 3%{?dist}
+Version: 0.8.1
+Release: 1%{?dist}
 
 License: GPLv2+
 Group:   Applications/Engineering
@@ -34,21 +34,12 @@
 A Graphical user interface for the computer algebra system
 Maxima using wxWidgets.
 
+
 %prep
 %setup -q
 
-## wxmaxima.desktop fixups
-# do (some) Categories munging here, some versions of desktop-file-install 
-# (*cough rhel4*) truncate Categories if --remove-category'd items is a
-# substr of another (ie, X-Red-Hat-Base X-Red-Hat-Base-Only)
-sed -i \
-  -e "s|^Categories=.*|Categories=Utility;|" \
-  -e "s|^Icon=.*|Icon=wxmaxima|" \
-  -e "s|^Terminal=0|Terminal=false|" \
-  wxmaxima.desktop
-
 # app icon
-convert -resize 48x48 wxmaxima.png wxmaxima-48x48.png
+convert -resize 48x48 data/wxmaxima.png data/wxmaxima-48x48.png
 
 
 %build
@@ -72,8 +63,8 @@
   wxmaxima.desktop 
 
 # app icon
-install -p -D -m644 wxmaxima.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/wxmaxima.png
-install -p -D -m644 wxmaxima-48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/wxmaxima.png
+install -p -D -m644 data/wxmaxima.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/wxmaxima.png
+install -p -D -m644 data/wxmaxima-48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/wxmaxima.png
 
 # Unpackaged files
 rm -f %{buildroot}%{_datadir}/wxMaxima/{COPYING,README}
@@ -86,12 +77,18 @@
 
 
 %post
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
 
 %postun
-touch --no-create %{_datadir}/icons/hicolor ||:
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+if [ $1 -eq 0 ] ; then
+  update-desktop-database -q &> /dev/null
+  touch --no-create %{_datadir}/icons/hicolor &> /dev/null
+  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+fi
+
+%posttrans
+update-desktop-database -q &> /dev/null
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
 
 
 %files -f wxMaxima.lang
@@ -106,6 +103,9 @@
 
 
 %changelog
+* Sat Apr 18 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.8.1-1
+- wxMaxima-0.8.1
+
 * Fri Feb 27 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.7.6-3 
 - ExclusiveArch: s/i386/%%ix86/
 




More information about the fedora-extras-commits mailing list