[bastet] New upstream release

Richard Hughes rhughes at fedoraproject.org
Thu May 29 19:26:29 UTC 2014


commit d7c1d4bc39c16b282c1b8fb1f8dec01a2319e885
Author: Richard Hughes <richard at hughsie.com>
Date:   Thu May 29 20:26:20 2014 +0100

    New upstream release

 .gitignore  |    1 +
 bastet.spec |   19 +++++++++++--------
 sources     |    2 +-
 3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 35207f5..1053e48 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 bastet-0.43.tgz
+/0.43.1.zip
diff --git a/bastet.spec b/bastet.spec
index b500dca..71cc1c7 100644
--- a/bastet.spec
+++ b/bastet.spec
@@ -1,16 +1,15 @@
 Name:		bastet
-Version:	0.43
-Release:	22%{?dist}
+Version:	0.43.1
+Release:	1%{?dist}
 Summary:	An evil falling bricks game
 
 Group:		Amusements/Games
 License:	GPLv3+
 URL:		http://fph.altervista.org/prog/bastet.html
-Source0:	http://fph.altervista.org/prog/files/%{name}-%{version}.tgz
+Source0:	https://github.com/fph/bastet/archive/%{version}.zip
 Source1:	%{name}.desktop
 # self-made icon
 Source2:	%{name}.png
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	boost-devel ncurses-devel desktop-file-utils
 
@@ -43,6 +42,10 @@ make %{?_smp_mflags} CXXFLAGS="%{optflags}"
 %install
 rm -rf %{buildroot}
 
+# install the AppData file
+%__mkdir_p %{buildroot}%{_datadir}/appdata
+cp bastet.appdata.xml %{buildroot}%{_datadir}/appdata/
+
 mkdir -p %{buildroot}%{_bindir}
 
 install -p -m 755 bastet %{buildroot}%{_bindir}/bastet
@@ -63,10 +66,6 @@ mkdir -p %{buildroot}%{_mandir}/man6/
       %{buildroot}%{_mandir}/man6/%{name}.6
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %post
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
@@ -87,11 +86,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %doc AUTHORS LICENSE NEWS README
 %{_bindir}/%{name}
 %{_datadir}/applications/%{name}.desktop
+%{_datadir}/appdata/%{name}.appdata.xml
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 %{_mandir}/man6/*
 
 
 %changelog
+* Thu May 29 2014 Richard Hughes <richard at hughsie.com> - 0.43.1-1
+- New upstream release
+
 * Fri May 23 2014 Petr Machata <pmachata at redhat.com> - 0.43-22
 - Rebuild for boost 1.55.0
 
diff --git a/sources b/sources
index a3533f1..9fc06cb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b47090daa7b6d89b98b5b477cf155733  bastet-0.43.tgz
+8d0a325d0c94fbb921d6a46f574f3a87  0.43.1.zip


More information about the scm-commits mailing list