[asymptote] remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247

Rahul Sundaram sundaram at fedoraproject.org
Sun Feb 10 21:03:42 UTC 2013


commit 68ea3e10f9bd1a3e865792bcd38484f71f1252ef
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Sun Feb 10 16:03:32 2013 -0500

    remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
    
    - clean up spec to follow current guidelines

 asymptote.spec |   64 ++++++++++++++++++++++++++++---------------------------
 1 files changed, 33 insertions(+), 31 deletions(-)
---
diff --git a/asymptote.spec b/asymptote.spec
index 6c78170..0c422ef 100644
--- a/asymptote.spec
+++ b/asymptote.spec
@@ -2,46 +2,46 @@
 
 Name:           asymptote
 Version:        2.21
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Descriptive vector graphics language
 Group:          Applications/Publishing
 License:        LGPLv3+
 URL:            http://asymptote.sourceforge.net/
 Source0:        http://download.sourceforge.net/sourceforge/asymptote/asymptote-%{version}.src.tgz
-Source1:	asy.gif
-Source2:	xasy.desktop
-Source3:	asymptote.sty.204
+Source1:        asy.gif
+Source2:        xasy.desktop
+Source3:        asymptote.sty.204
 Patch0:         asymptote-2.00-settings.patch
 # https://bugzilla.redhat.com/show_bug.cgi?id=893790
 # https://sourceforge.net/tracker/?func=detail&aid=3602764&group_id=120000&atid=685683
-Patch1:		asymptote-use-PIL-import.patch
+Patch1:         asymptote-use-PIL-import.patch
 # This doesn't need to go upstream. We put the info file in the topdir, not a subdir, so we need this fix.
-Patch3:		asymptote-2.08-info-path-fix.patch
+Patch3:         asymptote-2.08-info-path-fix.patch
 BuildRequires:  ncurses-devel
 BuildRequires:  readline-devel
 BuildRequires:  fftw-devel >= 3.0
 BuildRequires:  gc-devel >= 6.8
 BuildRequires:  gsl-devel
 BuildRequires:  tex(latex) tex(epsf.tex)
-BuildRequires:	tex(pdftex.map)
-BuildRequires:	tex(cm-super-t1.enc)
-BuildRequires:	tex(parskip.sty)
+BuildRequires:  tex(pdftex.map)
+BuildRequires:  tex(cm-super-t1.enc)
+BuildRequires:  tex(parskip.sty)
 BuildRequires:  ghostscript
 BuildRequires:  texinfo-tex
 BuildRequires:  ImageMagick
 BuildRequires:  desktop-file-utils
 BuildRequires:  freeglut-devel
 BuildRequires:  zlib-devel
-BuildRequires:	libtool
-BuildRequires:	mesa-libOSMesa-devel
+BuildRequires:  libtool
+BuildRequires:  mesa-libOSMesa-devel
 BuildRequires:  emacs
 BuildRequires:  xemacs
 # For cc-mode
-BuildRequires:	xemacs-packages-extra
+BuildRequires:  xemacs-packages-extra
 
 Requires:       tex(latex)
 Requires:       tkinter
-Requires:	python-imaging-tk
+Requires:        python-imaging-tk
 # for /usr/bin/texhash and /sbin/install-info
 Requires(post): texlive-kpathsea-bin, tex-kpathsea, info
 Requires(postun): texlive-kpathsea-bin, tex-kpathsea, info
@@ -55,19 +55,19 @@ Asymptote provides for figures the same high-quality level of typesetting
 that LaTeX does for scientific text.
 
 %package -n emacs-%{name}
-Summary:	Compiled elisp files to run %{name} under GNU Emacs
-Group:		Applications/Publishing
-Requires:	emacs(bin) >= %{_emacs_version}
-Requires:	%{name} = %{version}-%{release}
+Summary:    Compiled elisp files to run %{name} under GNU Emacs
+Group:      Applications/Publishing
+Requires:   emacs(bin) >= %{_emacs_version}
+Requires:   %{name} = %{version}-%{release}
 
 %description -n emacs-%{name}
 This package contains the byte compiled elisp packages to run %{name} with GNU
 Emacs.
 
 %package -n emacs-%{name}-el
-Summary:	Elisp source files for %{name} under GNU Emacs
-Group:		Applications/Publishing
-Requires:	emacs-%{name} = %{version}-%{release}
+Summary:    Elisp source files for %{name} under GNU Emacs
+Group:      Applications/Publishing
+Requires:   emacs-%{name} = %{version}-%{release}
 
 %description -n emacs-%{name}-el
 This package contains the elisp source files for %{name} under GNU Emacs. You
@@ -75,19 +75,19 @@ do not need to install this package to run %{name}. Install the emacs-%{name}
 package to use %{name} with GNU Emacs.
 
 %package -n xemacs-%{name}
-Summary:	Compiled elisp files to run %{name} under XEmacs
-Group:		Applications/Publishing
-Requires:	xemacs(bin) >= %{_xemacs_version}
-Requires:	%{name} = %{version}-%{release}
+Summary:    Compiled elisp files to run %{name} under XEmacs
+Group:      Applications/Publishing
+Requires:   xemacs(bin) >= %{_xemacs_version}
+Requires:   %{name} = %{version}-%{release}
 
 %description -n xemacs-%{name}
 This package contains the byte compiled elisp packages to use %{name} with
 XEmacs.
 
 %package -n xemacs-%{name}-el
-Summary:	Elisp source files for %{name} under XEmacs
-Group:		Applications/Publishing
-Requires:	xemacs-%{name} = %{version}-%{release}
+Summary:    Elisp source files for %{name} under XEmacs
+Group:      Applications/Publishing
+Requires:   xemacs-%{name} = %{version}-%{release}
 
 %description -n xemacs-%{name}-el
 This package contains the elisp source files for %{name} under XEmacs. You do
@@ -118,7 +118,7 @@ cp %{SOURCE3} asymptote.sty
 make all
 
 %install
-make install DESTDIR=%{buildroot} mandir=%{buildroot}%{_mandir}
+%make_install 
 
 install -p -m 644 BUGS ChangeLog LICENSE README ReleaseNotes TODO \
     %{buildroot}%{_defaultdocdir}/%{name}-%{version}/
@@ -157,9 +157,7 @@ mkdir -p %{buildroot}%{_datadir}/pixmaps/
 cp %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/
 
 mkdir -p %{buildroot}%{_datadir}/applications
-desktop-file-install --vendor "fedora"                  \
-        --dir %{buildroot}%{_datadir}/applications   \
-        %{SOURCE2}
+desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE2}
 
 # Clean up symlink
 rm -rf %{buildroot}%{_bindir}/xasy
@@ -212,6 +210,10 @@ fi
 %{_xemacs_sitelispdir}/%{name}/*.el
 
 %changelog
+* Sun Feb 10 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 2.21-5
+- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
+- clean up spec to follow current guidelines
+
 * Thu Jan 31 2013 Tom Callaway <spot at fedoraproject.org> - 2.21-4
 - use pillow compatible import (from PIL import foo)
 


More information about the scm-commits mailing list