rpms/asymptote/devel asy.gif, NONE, 1.1 xasy.desktop, NONE, 1.1 .cvsignore, 1.28, 1.29 asymptote.spec, 1.33, 1.34 sources, 1.28, 1.29

Tom Callaway (spot) fedora-extras-commits at redhat.com
Wed Feb 6 17:32:50 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/asymptote/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25576

Modified Files:
	.cvsignore asymptote.spec sources 
Added Files:
	asy.gif xasy.desktop 
Log Message:

Go to 1.41, enable desktop file for xasy



--- NEW FILE xasy.desktop ---
[Desktop Entry]
Encoding=UTF-8
Exec=xasy
Icon=/usr/share/pixmaps/asy.gif
Terminal=false
Name=Asymptote
GenericName=xasy
Comment=GUI tool for using Asymptote vector graphics
Type=Application
Categories=Application;Graphics;
StartupNotify=true
X-Desktop-File-Install-Version=0.10


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/asymptote/devel/.cvsignore,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- .cvsignore	3 Jan 2008 20:24:40 -0000	1.28
+++ .cvsignore	6 Feb 2008 17:32:16 -0000	1.29
@@ -1 +1 @@
-asymptote-1.37.src.tgz
+asymptote-1.41.src.tgz


Index: asymptote.spec
===================================================================
RCS file: /cvs/pkgs/rpms/asymptote/devel/asymptote.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- asymptote.spec	3 Jan 2008 20:24:40 -0000	1.33
+++ asymptote.spec	6 Feb 2008 17:32:16 -0000	1.34
@@ -4,16 +4,17 @@
 %define xemacs_sitelisp %{_datadir}/xemacs/site-packages/lisp
 
 Name:           asymptote
-Version:        1.37
+Version:        1.41
 Release:        1%{?dist}
 Summary:        Descriptive vector graphics language
 
 Group:          Applications/Publishing
 License:        GPLv3+
 URL:            http://asymptote.sourceforge.net/
-Source:         http://dl.sourceforge.net/sourceforge/asymptote/asymptote-%{version}.src.tgz
+Source0:        http://dl.sourceforge.net/sourceforge/asymptote/asymptote-%{version}.src.tgz
+Source1:	asy.gif
+Source2:	xasy.desktop
 Patch0:         asymptote-1.29-settings.patch
-Patch1:         asymptote-1.37-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  ncurses-devel
@@ -25,9 +26,11 @@
 BuildRequires:  ghostscript
 BuildRequires:  texinfo-tex
 BuildRequires:  ImageMagick
+BuildRequires:  desktop-file-utils
 
 Requires:       tetex-latex
 Requires:       tkinter
+Requires:	python-imaging-tk
 Requires(post): /usr/bin/texhash /sbin/install-info
 Requires(postun): /usr/bin/texhash /sbin/install-info
 
@@ -43,8 +46,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%{__sed} -i 's|^#!/usr/bin/env python$|#!%{__python}|' xasy
 %{__sed} -i 's/\r//' doc/CAD1.asy
 
 # convert to UTF-8
@@ -84,11 +85,22 @@
     ln -s ../../../%{name}/asy.vim .
 done
 
+# copy icon to pixmaps dir
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/
+cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
+desktop-file-install --vendor "fedora"                  \
+        --dir $RPM_BUILD_ROOT%{_datadir}/applications   \
+        %{SOURCE2}
+
 # Clean up symlink
 rm -rf $RPM_BUILD_ROOT%{_bindir}/xasy
 cd $RPM_BUILD_ROOT%{_bindir}
 ln -s ../share/%{name}/GUI/xasy.py xasy
 
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -119,9 +131,15 @@
 # Thus, its ok for dual ownership.
 %{_datadir}/emacs*
 %{_datadir}/xemacs/
+%{_datadir}/pixmaps/asy.gif
+%{_datadir}/applications/*.desktop
 
 
 %changelog
+* Wed Feb  6 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.41-1
+- update to 1.41
+- enable desktop file for xasy
+
 * Thu Jan  3 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.37-1
 - bump to 1.37
 - fix gcc43 failures


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/asymptote/devel/sources,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- sources	3 Jan 2008 20:24:40 -0000	1.28
+++ sources	6 Feb 2008 17:32:16 -0000	1.29
@@ -1 +1 @@
-05b6e614f43e2fd163161117c4093f87  asymptote-1.37.src.tgz
+ebcb18fbec3f585e0c7258ca3994b86c  asymptote-1.41.src.tgz




More information about the fedora-extras-commits mailing list