a02e08
Name: linuxconsoletools
a02e08
Version: 1.4.5
a02e08
Release: 3%{?dist}
a02e08
Summary: Tools for connecting joysticks & legacy devices to the kernel's input subsystem
a02e08
Group: Applications/System
a02e08
License: GPLv2+
a02e08
URL: http://sourceforge.net/projects/linuxconsole/
a02e08
a02e08
Source: http://downloads.sourceforge.net/linuxconsole/%{name}-%{version}.tar.bz2
a02e08
a02e08
BuildRequires: SDL-devel
a02e08
a02e08
Provides: joystick = %{version}-%{release}
a02e08
Provides: ff-utils = 1:%{version}-%{release}
a02e08
Obsoletes: joystick < 1.2.16-1
a02e08
Obsoletes: ff-utils < 2.4.22-1
a02e08
Conflicts: gpm < 1.20.6-26
a02e08
a02e08
%description
a02e08
This package contains utilities for testing and configuring joysticks,
a02e08
connecting legacy devices to the kernel's input subsystem (providing support
a02e08
for serial mice, touchscreens etc.), and test the input event layer.
a02e08
a02e08
%prep
a02e08
%setup -q
a02e08
a02e08
%build
a02e08
make PREFIX=%{_prefix} CFLAGS="%{optflags}" %{?_smp_mflags}
a02e08
a02e08
# moving helper scripts from /usr/share/joystick to /usr/libexec/joystick
a02e08
sed -i "s|%{_prefix}/share/joystick|%{_libexecdir}/joystick|g" utils/jscal-restore utils/jscal-store
a02e08
a02e08
a02e08
%install
a02e08
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
a02e08
a02e08
# moving helper scripts from /usr/share/joystick to /usr/libexec/joystick
a02e08
install -d -m 0755 %{buildroot}%{_libexecdir}/joystick
a02e08
mv -f %{buildroot}%{_prefix}/share/joystick/* %{buildroot}%{_libexecdir}/joystick/
a02e08
a02e08
# fixing man permissions
a02e08
chmod -x %{buildroot}%{_mandir}/man1/*
a02e08
a02e08
%files
a02e08
%doc COPYING README NEWS
a02e08
a02e08
%{_bindir}/ffcfstress
a02e08
%{_bindir}/ffmvforce
a02e08
%{_bindir}/ffset
a02e08
%{_bindir}/fftest
a02e08
%{_bindir}/inputattach
a02e08
%{_bindir}/jscal
a02e08
%{_bindir}/jscal-restore
a02e08
%{_bindir}/jscal-store
a02e08
%{_bindir}/jstest
a02e08
a02e08
%{_libexecdir}/joystick/extract
a02e08
%{_libexecdir}/joystick/filter
a02e08
%{_libexecdir}/joystick/ident
a02e08
a02e08
%{_mandir}/man1/*
a02e08
a02e08
a02e08
%changelog
a02e08
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4.5-3
a02e08
- Mass rebuild 2014-01-24
a02e08
a02e08
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4.5-2
a02e08
- Mass rebuild 2013-12-27
a02e08
a02e08
* Tue Apr 09 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.5-1
a02e08
- Update to 1.4.5
a02e08
a02e08
* Wed Feb 06 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-7
a02e08
- Adding new switches to the ffcfstress man page
a02e08
a02e08
* Wed Feb 06 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-6
a02e08
- Merging the 64bit patch from ff-utils
a02e08
a02e08
* Mon Feb 04 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-5
a02e08
- Resolving conflicts with ff-utils
a02e08
a02e08
* Fri Jan 04 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-4
a02e08
- Adding conflict with gpm < 1.20.6-26 (inputattach)
a02e08
a02e08
* Thu Jan 03 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-3
a02e08
- Passing optflags to make
a02e08
a02e08
* Wed Jan 02 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-2
a02e08
- Using prefix macro
a02e08
a02e08
* Wed Jan 02 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-1
a02e08
- Initial package