[antimicro] Initial import (#1100961)

jsbackus jsbackus at fedoraproject.org
Wed May 28 00:32:53 UTC 2014


commit 56c89968ceba07fc198744e1aee2dcdfdb39992d
Author: Jeff Backus <jeff.backus at gmail.com>
Date:   Tue May 27 20:32:49 2014 -0400

    Initial import (#1100961)

 .gitignore     |    1 +
 antimicro.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0d46eb9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/antimicro-2.3.3.tar.gz
diff --git a/antimicro.spec b/antimicro.spec
new file mode 100644
index 0000000..77d58f7
--- /dev/null
+++ b/antimicro.spec
@@ -0,0 +1,56 @@
+Name:		antimicro
+Version:	2.3.3
+Release:	1%{?dist}
+Summary:	Graphical program used to map keyboard buttons and mouse controls to a gamepad
+
+License:	GPLv3+
+URL:		http://ryochan7.com/projects/antimicro/
+Source0:	https://github.com/Ryochan7/antimicro/archive/%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires:	cmake
+BuildRequires:	qt-devel
+BuildRequires:	SDL2-devel
+BuildRequires:	libX11-devel
+BuildRequires:	libXtst-devel
+BuildRequires:	desktop-file-utils
+
+%description
+AntiMicro is a graphical program used to map keyboard keys and mouse controls
+to a gamepad. This program is useful for playing PC games using a gamepad that
+do not have any form of built-in gamepad support. AntiMicro was inspired by
+QJoyPad but has additional features.
+
+%prep
+%setup -q
+
+%build
+%cmake .
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+# Install and verify desktop file
+desktop-file-install other/%{name}.desktop
+
+%find_lang %{name} --with-qt
+
+%files -f %{name}.lang
+%doc Changelog gpl.txt README.md
+%{_bindir}/%{name}
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/translations
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+%{_mandir}/man1/%{name}.1*
+
+%changelog
+* Sat May 24 2014 Jeff Backus <jeff.backus at gmail.com> - 2.3.3-1
+- Initial package
+- Fixed license issue found in review.
+- Removed use of desktop-file-validate as it was redundant.
+- Modified to use find_lang instead of lang macro.
+- Made "man glob" less greedy.
+- Removed icon scriplets as they aren't meant for pixbuf directory.
+- Changed cmake to use . to better follow convention.
+- Removed name info from setup macro as it was redundant.
diff --git a/sources b/sources
index e69de29..8855bde 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3c6b97868531d5e83d5c5b70e4987d11  antimicro-2.3.3.tar.gz


More information about the scm-commits mailing list