musuruan pushed to ballerburg (f21). "Updated to new upstream release (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Apr 3 17:41:11 UTC 2015
>From eaad54b9d50e8ecea572e04bf8cc8954c046817f Mon Sep 17 00:00:00 2001
From: Andrea Musuruane <musuruan at gmail.com>
Date: Fri, 3 Apr 2015 19:33:03 +0200
Subject: Updated to new upstream release Added appdata file
diff --git a/.gitignore b/.gitignore
index a8222eb..c563751 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/ballerburg-1.1.0.tar.gz
+/ballerburg-1.2.0.tar.gz
diff --git a/ballerburg.appdata.xml b/ballerburg.appdata.xml
new file mode 100644
index 0000000..3fd3212
--- /dev/null
+++ b/ballerburg.appdata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2015 Andrea Musuruane <musuruan at gmail.com> -->
+<application>
+ <id type="desktop">ballerburg.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPLv3+</project_license>
+ <name>Ballerburg</name>
+ <summary>Two players, two castles, and a hill in between</summary>
+ <description>
+ <p>
+ Two castles, separated by a mountain, try to defeat each other with their
+ cannonballs, either by killing the opponent's king or by weakening the
+ opponent enough so that the king capitulates.
+ </p>
+ <p>
+ Ballerburg was originally written 1987 by Eckhard Kruse, for the Atari ST
+ machines (which were brand new computers at that point in time). Over 25
+ years later, here's finally the adaption of the original source code to
+ modern operating systems.
+ </p>
+ </description>
+ <url type="homepage">http://baller.tuxfamily.org/</url>
+ <screenshots>
+ <screenshot type="default">http://baller.tuxfamily.org/screenshot1.png</screenshot>
+ <screenshot>http://baller.tuxfamily.org/screenshot2.png</screenshot>
+ </screenshots>
+</application>
diff --git a/ballerburg.spec b/ballerburg.spec
index d7c641f..4d5ea7a 100644
--- a/ballerburg.spec
+++ b/ballerburg.spec
@@ -1,6 +1,6 @@
Name: ballerburg
-Version: 1.1.0
-Release: 2%{?dist}
+Version: 1.2.0
+Release: 1%{?dist}
Summary: Two players, two castles, and a hill in between
License: GPLv3+
@@ -8,11 +8,13 @@ URL: http://baller.tuxfamily.org/
Source0: http://download.tuxfamily.org/baller/%{name}-%{version}.tar.gz
Source1: http://baller.tuxfamily.org/king.png
Source2: %{name}.desktop
+Source3: %{name}.appdata.xml
BuildRequires: cmake
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: gettext
BuildRequires: ImageMagick
+BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
@@ -60,6 +62,14 @@ desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{SOURCE2}
+# Install appdata
+install -d %{buildroot}%{_datadir}/appdata
+install -p -m 0644 %{SOURCE3} \
+ %{buildroot}%{_datadir}/appdata
+appstream-util validate-relax --nonet \
+ %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
+
+
%find_lang %{name}
@@ -82,12 +92,17 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man6/ballerburg.6*
+%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*
%doc %{_pkgdocdir}
%changelog
+* Fri Apr 03 2015 Andrea Musuruane <musuruan at gmail.com> - 1.2.0-1
+- Updated to new upstream release
+- Added appdata file
+
* Fri Oct 10 2014 Andrea Musuruane <musuruan at gmail.com> - 1.1.0-2
- Dropped cleaning at the beginning of %%install
diff --git a/sources b/sources
index 50819f4..cfa48cd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eda62c9988ff473bc584b74ea1cc2b14 ballerburg-1.1.0.tar.gz
+ad8beb770dfa151a8c171a6beecf5a44 ballerburg-1.2.0.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/ballerburg.git/commit/?h=f21&id=eaad54b9d50e8ecea572e04bf8cc8954c046817f
More information about the scm-commits
mailing list