[linuxconsoletools] Initial import (#891366)

Jaromír Cápík jcapik at fedoraproject.org
Fri Jan 4 10:31:07 UTC 2013


commit 014553a820e5d1d1d167cc745c43ae4114009ede
Author: Jaromir Capik <jcapik at redhat.com>
Date:   Fri Jan 4 11:30:40 2013 +0100

    Initial import (#891366)

 .gitignore             |    1 +
 linuxconsoletools.spec |   74 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c0b777d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/linuxconsoletools-1.4.4.tar.bz2
diff --git a/linuxconsoletools.spec b/linuxconsoletools.spec
new file mode 100644
index 0000000..e374cf7
--- /dev/null
+++ b/linuxconsoletools.spec
@@ -0,0 +1,74 @@
+Name: linuxconsoletools
+Version: 1.4.4
+Release: 4%{?dist}
+Summary: Tools for connecting joysticks & legacy devices to the kernel's input subsystem
+Group: Applications/System
+License: GPLv2+
+URL: http://sourceforge.net/projects/linuxconsole/
+
+Source: http://downloads.sourceforge.net/linuxconsole/%{name}-%{version}.tar.bz2
+
+BuildRequires: SDL-devel
+
+Provides: joystick = %{version}-%{release}
+Obsoletes: joystick < 1.2.16-1
+Conflicts: gpm < 1.20.6-26
+
+%description
+This package contains utilities for testing and configuring joysticks,
+connecting legacy devices to the kernel's input subsystem (providing support
+for serial mice, touchscreens etc.), and test the input event layer.
+
+%prep
+%setup -q
+
+
+%build
+make PREFIX=%{_prefix} CFLAGS="%{optflags}" %{?_smp_mflags}
+
+# moving helper scripts from /usr/share/joystick to /usr/libexec/joystick
+sed -i "s|%{_prefix}/share/joystick|%{_libexecdir}/joystick|g" utils/jscal-restore utils/jscal-store
+
+
+%install
+make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
+
+# moving helper scripts from /usr/share/joystick to /usr/libexec/joystick
+install -d -m 0755 %{buildroot}%{_libexecdir}/joystick
+mv -f %{buildroot}%{_prefix}/share/joystick/* %{buildroot}%{_libexecdir}/joystick/
+
+# fixing man permissions
+chmod -x %{buildroot}%{_mandir}/man1/*
+
+%files
+%doc COPYING README NEWS
+
+%{_bindir}/ffcfstress
+%{_bindir}/ffmvforce
+%{_bindir}/ffset
+%{_bindir}/fftest
+%{_bindir}/inputattach
+%{_bindir}/jscal
+%{_bindir}/jscal-restore
+%{_bindir}/jscal-store
+%{_bindir}/jstest
+
+%{_libexecdir}/joystick/extract
+%{_libexecdir}/joystick/filter
+%{_libexecdir}/joystick/ident
+
+%{_mandir}/man1/*
+
+
+%changelog
+* Fri Jan 04 2013 Jaromir Capik <jcapik at redhat.com> - 1.4.4-4
+- Adding conflict with gpm < 1.20.6-26 (inputattach)
+
+* Thu Jan 03 2013 Jaromir Capik <jcapik at redhat.com> - 1.4.4-3
+- Passing optflags to make
+
+* Wed Jan 02 2013 Jaromir Capik <jcapik at redhat.com> - 1.4.4-2
+- Using prefix macro
+
+* Wed Jan 02 2013 Jaromir Capik <jcapik at redhat.com> - 1.4.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..a932ba5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4ae531759fb7b2315db941a0bea52884  linuxconsoletools-1.4.4.tar.bz2


More information about the scm-commits mailing list