[arrows] remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
Rahul Sundaram
sundaram at fedoraproject.org
Sun Feb 10 18:43:30 UTC 2013
commit d67842e6b3f0884b7d1896e6e24d07b2451e0a3d
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date: Sun Feb 10 13:43:10 2013 -0500
remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
- clean up spec to follow current guidelines
arrows.spec | 28 ++++++++--------------------
1 files changed, 8 insertions(+), 20 deletions(-)
---
diff --git a/arrows.spec b/arrows.spec
index ec6082e..bf57726 100644
--- a/arrows.spec
+++ b/arrows.spec
@@ -1,6 +1,6 @@
Name: arrows
Version: 0.6
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Neat little maze game
Group: Amusements/Games
License: GPLv2+
@@ -9,7 +9,6 @@ Source0: http://noreason.ca/data/arrows-%{version}.tar.gz
Source1: arrows.desktop
Source2: arrows.png
Patch0: arrows-level-5.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel desktop-file-utils
Requires: hicolor-icon-theme
@@ -18,38 +17,26 @@ It's a maze game of sorts. Guide the spinning blue thing through
the maze of arrows, creating and destroying arrows as necessary
to collect the green things.
-
%prep
%setup -q
%patch0 -p1
make clean
-
%build
make %{?_smp_mflags} CCOPTS="$RPM_OPT_FLAGS"
-
%install
-rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
install -m 644 arrfl.? $RPM_BUILD_ROOT%{_datadir}/%{name}
-# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install --vendor fedora \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- %{SOURCE1}
+desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
-install -p -m 644 %{SOURCE2} \
+install -p -m 644 %{SOURCE2}\
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
@@ -62,17 +49,18 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
-
%files
-%defattr(-,root,root,-)
%doc LICENSE README
%{_bindir}/%{name}
%{_datadir}/%{name}
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
-
%changelog
+* Sun Feb 10 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 0.6-13
+- 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.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list