[auriferous] remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
Rahul Sundaram
sundaram at fedoraproject.org
Mon Feb 11 00:34:10 UTC 2013
commit fe3780ea774edf9834fb9f473d8e94de0a69f766
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date: Sun Feb 10 19:33:48 2013 -0500
remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
- clean up spec to follow current guidelines
auriferous.spec | 28 ++++++++--------------------
1 files changed, 8 insertions(+), 20 deletions(-)
---
diff --git a/auriferous.spec b/auriferous.spec
index 75c516a..c8e7a08 100644
--- a/auriferous.spec
+++ b/auriferous.spec
@@ -1,6 +1,6 @@
Name: auriferous
Version: 1.0.1
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: Game inspired by the classic Loderunner
Group: Amusements/Games
License: GPLv2+
@@ -17,7 +17,6 @@ Patch0: auriferous-1.0.1-fixes.patch
Patch1: auriferous-1.0.1-destdir.patch
Patch2: auriferous-1.0.1-extra-keys.patch
Patch3: auriferous-1.0.1-silence-looping-warn.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ClanLib06-devel >= ClanLib06-0.6.5-16, desktop-file-utils
Requires: hicolor-icon-theme
@@ -31,7 +30,6 @@ traps, to pass them you need a lot of skill.
Note that this game is hardcoded at a resolution of 1024x768, so if your
display cannot handle this you are out of luck.
-
%prep
%setup -q
%patch0 -p1 -z .fix
@@ -41,22 +39,16 @@ display cannot handle this you are out of luck.
touch -r configure.in auriferous/Makefile.am
cp -a %{SOURCE1} auriferous/pics/game
-
%build
%configure
make %{?_smp_mflags}
-
%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install
ln -s aqua.ogg $RPM_BUILD_ROOT%{_datadir}/%{name}/music/jungle.ogg
-# 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 \
- %{SOURCE2}
+desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 small_%{name}.png \
@@ -64,11 +56,6 @@ install -p -m 644 small_%{name}.png \
install -p -m 644 %{name}.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -81,17 +68,18 @@ fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
%files
-%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO
%{_bindir}/%{name}
%{_datadir}/%{name}
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
-
%changelog
+* Sun Feb 10 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 1.0.1-15
+- 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> - 1.0.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list