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

Rahul Sundaram sundaram at fedoraproject.org
Sat Feb 9 23:03:52 UTC 2013


commit c0b231469a85e921058ae0320af8067c4f8481c3
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Sat Feb 9 18:03:34 2013 -0500

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

 amoebax.spec |   26 ++++++++------------------
 1 files changed, 8 insertions(+), 18 deletions(-)
---
diff --git a/amoebax.spec b/amoebax.spec
index ee37006..97fd5e1 100644
--- a/amoebax.spec
+++ b/amoebax.spec
@@ -1,13 +1,12 @@
 Name:           amoebax
 Version:        0.2.0
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Action-Puzzle Game
 Group:          Amusements/Games
 License:        GPLv2+ and Free Art
 URL:            http://www.emma-soft.com/games/amoebax/
 Source0:        http://www.emma-soft.com/games/amoebax/download/amoebax-%{version}.tar.bz2
 Patch0:         amoebax-0.2.0-gcc43.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  SDL_mixer-devel SDL_image-devel zlib-devel libpng-devel
 BuildRequires:  libvorbis-devel doxygen desktop-file-utils
 Requires:       hicolor-icon-theme
@@ -29,37 +28,27 @@ mode will let you have a good time with your friends. There is also catchy
 music, funny sound effects, and beautiful screens that sure appeal to everyone
 in the family.
 
-
 %prep
 %setup -q
 %patch0 -p1
 
-
 %build
 %configure
 make %{?_smp_mflags}
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install
 
 rm $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/manual.pdf
 
 # below is the desktop file and icon stuff.
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install --vendor fedora --delete-original \
-  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications \
   $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
 mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.svg \
   $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %post
 touch --no-create %{_datadir}/icons/hicolor || :
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
@@ -72,18 +61,19 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
    %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 fi
 
-
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS COPYING* NEWS README* THANKS TODO doc/manual.pdf
 %{_bindir}/%{name}
 %{_datadir}/%{name}
 %{_mandir}/man6/%{name}.6.gz
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
 
-
 %changelog
+* Sat Feb 09 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 0.2.0-11
+- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
+- clean up spec to follow current guidelines
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.0-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list