[antimicro] new upstream release v2.11
jsbackus
jsbackus at fedoraproject.org
Sat Feb 14 13:17:19 UTC 2015
commit 1d998d6de51a9fa8538d321f391f04984fae5180
Author: Jeff Backus <jeff.backus at gmail.com>
Date: Sat Feb 14 08:17:03 2015 -0500
new upstream release v2.11
- removed appdata patch, since it has been incorporated by upstream
- modified source URL to reference tarball by commit
- updated for Qt5
antimicro.spec | 30 +++++++++++++++---------------
sources | 3 +--
2 files changed, 16 insertions(+), 17 deletions(-)
---
diff --git a/antimicro.spec b/antimicro.spec
index 99b1d8f..b2397d8 100644
--- a/antimicro.spec
+++ b/antimicro.spec
@@ -2,8 +2,8 @@
%global rel_build 1
# Settings used for build from snapshots.
-%{!?rel_build:%global commit abd48782f2dc45f862815d6e5c08625bc7c2c2a6}
-%{!?rel_build:%global commit_date 20141229}
+%global commit 434a30190e4592fa467ce3596b5eacf9b9d788b7
+%{!?rel_build:%global commit_date 20150208}
%{!?rel_build:%global shortcommit %(c=%{commit};echo ${c:0:7})}
%{!?rel_build:%global gitver git%{commit_date}-%{shortcommit}}
%{!?rel_build:%global gitrel .git%{commit_date}.%{shortcommit}}
@@ -12,24 +12,20 @@
%global gittar %{name}-%{version}%{!?rel_build:-%{gitver}}.tar.gz
Name: antimicro
-Version: 2.10.1
-Release: 2%{?gitrel}%{?dist}
+Version: 2.11
+Release: 1%{?gitrel}%{?dist}
Summary: Graphical program used to map keyboard buttons and mouse controls to a gamepad
License: GPLv3+
URL: https://github.com/Ryochan7/%{name}
-# Sources for release-builds.
-%{?rel_build:Source0: %{url}/archive/%{version}/%{gittar}}
-# Sources for snapshot-builds.
-%{!?rel_build:Source0: %{url}/archive/%{commit}.tar.gz#/%{gittar}}
-
-Patch0: antimicro-appdata.patch
+Source0: %{url}/archive/%{commit}/%{gittar}
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: libX11-devel
BuildRequires: libXtst-devel
-BuildRequires: qt-devel
+BuildRequires: qt5-qtbase-devel
+BuildRequires: qt5-qttools-devel
BuildRequires: SDL2-devel
# For AppData
BuildRequires: libappstream-glib
@@ -44,14 +40,12 @@ QJoyPad but has additional features.
%prep
-%setup -q%{!?rel_build:n %{name}-%{commit}}
-
-%patch0 -p1
+%setup -qn %{name}-%{commit}
%build
%{__mkdir} -p build-%{name}-%{_target}
pushd build-%{name}-%{_target}
-%cmake -DWITH_UINPUT=ON ..
+%cmake -DWITH_UINPUT=ON -DAPPDATA=ON ..
%{__make} %{?_smp_mflags} appdata
popd
@@ -94,6 +88,12 @@ popd
%changelog
+* Fri Feb 13 2015 Jeff Backus <jeff.backus at gmail.com> - 2.11-1
+- new upstream release v2.11
+- removed appdata patch, since it has been incorporated by upstream
+- modified source URL to reference tarball by commit
+- updated for Qt5
+
* Sat Jan 3 2015 Jeff Backus <jeff.backus at gmail.com> - 2.10.1-2
- added appdata support
diff --git a/sources b/sources
index 2a911c9..acc638c 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-78166894386b640ac30659efd6179144 antimicro-2.10.1.tar.gz
-cb614b03ecc5973ddcbadb3dcac6ea44 antimicro-appdata.patch
+f858f004d172f6e4cb02a20b8017fa6c antimicro-2.11.tar.gz
More information about the scm-commits
mailing list