musuruan pushed to edgar (master). "Updated to upstream 1.20-1 (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sat Mar 28 16:08:53 UTC 2015
>From 9adfb8d53d4b145a0224866d87a81ef7b74b20f5 Mon Sep 17 00:00:00 2001
From: Andrea Musuruane <musuruan at gmail.com>
Date: Sat, 28 Mar 2015 17:08:41 +0100
Subject: Updated to upstream 1.20-1
- Minor cleanup
diff --git a/.gitignore b/.gitignore
index 2958ec6..7bf5ed9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/edgar-1.17-1.tar.gz
/edgar-1.18-1.tar.gz
/edgar-1.19-1.tar.gz
+/edgar-1.20-1.tar.gz
diff --git a/edgar.spec b/edgar.spec
index d692e9e..a1879dc 100644
--- a/edgar.spec
+++ b/edgar.spec
@@ -1,8 +1,6 @@
-%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
-
Name: edgar
-Version: 1.19
-Release: 2%{?dist}
+Version: 1.20
+Release: 1%{?dist}
Summary: A platform game
# edgar now contains sounds licensed under a "good" Fedora license:
@@ -16,6 +14,7 @@ BuildRequires: SDL_mixer-devel
BuildRequires: SDL_ttf-devel
BuildRequires: zlib-devel
BuildRequires: gettext
+BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
@@ -71,45 +70,10 @@ desktop-file-install \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}.desktop
-# Register as an application to be visible in the software center
-#
-# NOTE: It would be *awesome* if this file was maintained by the upstream
-# project, translated and installed into the right place during `make install`.
-#
-# See http://www.freedesktop.org/software/appstream/docs/ for more details.
-#
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
-cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Edgar Muniz Berlinck <edgar.vv at gmail.com> -->
-<!--
-BugReportURL: https://sourceforge.net/p/legendofedgar/bugs/111/
-SentUpstream: 2014-09-24
--->
-<application>
- <id type="desktop">edgar.desktop</id>
- <metadata_license>CC0-1.0</metadata_license>
- <summary>2D Adventure Platform Game</summary>
- <description>
- <p>
- The Legend of Edgar is a 2D platform game.
- Your hero must save his dad from the hands of the evil sorcerer.
- To help Edgar in his mission you must to walk around a big world, solve
- puzzles and kill a lot of powerful enemies.
- </p>
- <p>
- A great adventure awaits for you!
- </p>
- </description>
- <url type="homepage">http://www.parallelrealities.co.uk/p/legend-of-edgar.html</url>
- <screenshots>
- <screenshot type="default">http://2.bp.blogspot.com/-kfnbzImCAjE/Tn9cLGchaHI/AAAAAAAAAyE/2JrSoBAjgU4/s320/edgar31.png</screenshot>
- <screenshot>http://4.bp.blogspot.com/-Qhby6FCqV0o/Tn9cKdIYWaI/AAAAAAAAAyA/qbaz8fgeZZg/s320/edgar25.png</screenshot>
- <screenshot>http://2.bp.blogspot.com/-mDf31lIEh0U/Tn9cLhPrKAI/AAAAAAAAAyI/O3nMO-9BueA/s320/edgar36.png</screenshot>
- <screenshot>http://1.bp.blogspot.com/-MGz0Fsc3HM4/Tn9cMfkvnMI/AAAAAAAAAyM/c9Elqdz2iGU/s320/edgar40.png</screenshot>
- </screenshots>
-</application>
-EOF
+mkdir -p %{buildroot}%{_datadir}/appdata
+install -pm0644 icons/%{name}.appdata.xml.in \
+ %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
+appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
%find_lang %{name}
@@ -140,6 +104,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Sat Mar 28 2015 Andrea Musuruane <musuruan at gmail.com> - 1.20-1
+- Updated to upstream 1.20-1
+- Minor cleanup
+
* Thu Mar 26 2015 Richard Hughes <rhughes at redhat.com> - 1.19-2
- Add an AppData file for the software center
diff --git a/sources b/sources
index 44a6ff1..2716939 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3369d4c224bccb039549c66bb8aa5e77 edgar-1.19-1.tar.gz
+ced4756467f76029bb5b0a3e266cfd9b edgar-1.20-1.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/edgar.git/commit/?h=master&id=9adfb8d53d4b145a0224866d87a81ef7b74b20f5
More information about the scm-commits
mailing list