Blame SPECS/linuxconsoletools.spec

454a20
%global udevdir %(pkg-config --variable=udevdir udev)
454a20
454a20
Name:           linuxconsoletools
454a20
Version:        1.7.1
454a20
Release:        3%{?dist}
454a20
Summary:        Tools for connecting joysticks & legacy devices to the kernel's input subsystem
454a20
License:        GPLv2+
454a20
URL:            http://sourceforge.net/projects/linuxconsole/
454a20
Source:         http://downloads.sourceforge.net/linuxconsole/%{name}-%{version}.tar.bz2
454a20
454a20
BuildRequires:  gcc
454a20
BuildRequires:  pkgconfig(sdl2)
454a20
BuildRequires:  systemd-udev
454a20
BuildRequires: make
454a20
454a20
Provides:       joystick = %{version}-%{release}
454a20
Provides:       ff-utils = 1:%{version}-%{release}
454a20
Obsoletes:      joystick < 1.2.16-1
454a20
Obsoletes:      ff-utils < 2.4.22-1
454a20
Conflicts:      gpm < 1.20.6-26
454a20
454a20
454a20
%description
454a20
This package contains utilities for testing and configuring joysticks,
454a20
connecting legacy devices to the kernel's input subsystem (providing support
454a20
for serial mice, touchscreens etc.), and test the input event layer.
454a20
454a20
454a20
%prep
454a20
%autosetup
454a20
454a20
454a20
%build
454a20
%{set_build_flags}
454a20
%{make_build} PREFIX=%{_prefix}
454a20
454a20
# moving helper scripts from /usr/share/joystick to /usr/libexec/joystick
454a20
sed -i "s|%{_datadir}/joystick|%{_libexecdir}/joystick|g" utils/jscal-restore utils/jscal-store
454a20
454a20
454a20
%install
454a20
%{make_install} PREFIX=%{_prefix}
454a20
454a20
# moving helper scripts from /usr/share/joystick to /usr/libexec/joystick
454a20
install -d -m 0755 %{buildroot}%{_libexecdir}/joystick
454a20
mv -f %{buildroot}%{_datadir}/joystick/* %{buildroot}%{_libexecdir}/joystick/
454a20
454a20
# fixing udev dir
454a20
mv -f %{buildroot}/lib %{buildroot}/usr/
454a20
454a20
# fixing man permissions
454a20
chmod -x %{buildroot}%{_mandir}/man1/*
454a20
454a20
454a20
%files
454a20
%doc README NEWS
454a20
%license COPYING
454a20
%{_bindir}/ffcfstress
454a20
%{_bindir}/ffmvforce
454a20
%{_bindir}/ffset
454a20
%{_bindir}/fftest
454a20
%{_bindir}/inputattach
454a20
%{_bindir}/jscal
454a20
%{_bindir}/jscal-restore
454a20
%{_bindir}/jscal-store
454a20
%{_bindir}/jstest
454a20
%{_bindir}/evdev-joystick
454a20
454a20
%{_libexecdir}/joystick
454a20
454a20
%{udevdir}/js-set-enum-leds
454a20
%{_udevrulesdir}/80-stelladaptor-joystick.rules
454a20
454a20
%{_mandir}/man1/*
454a20
454a20
454a20
%changelog
454a20
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.1-3
454a20
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
454a20
  Related: rhbz#1991688
454a20
454a20
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.1-2
454a20
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
454a20
454a20
* Mon Feb 22 2021 Vasiliy N. Glazov <vascom2@gmail.com>  - 1.7.1-1
454a20
- Update to 1.7.1
454a20
454a20
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
454a20
454a20
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
454a20
454a20
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
454a20
454a20
* Mon Oct 07 2019 Vasiliy N. Glazov <vascom2@gmail.com>  - 1.7.0-1
454a20
- Update to 1.7.0
454a20
454a20
* Fri Sep 20 2019 Vasiliy N. Glazov <vascom2@gmail.com>  - 1.6.1-2
454a20
- Fix store/restore utils handling #1753648
454a20
454a20
* Tue Aug 13 2019 Vasiliy N. Glazov <vascom2@gmail.com>  - 1.6.1-1
454a20
- Update to 1.6.1
454a20
454a20
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-5
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
454a20
454a20
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-4
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
454a20
454a20
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
454a20
454a20
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
454a20
454a20
* Wed Nov 15 2017 Michal Ambroz <rebus _at seznam.cz> - 1.6.0-1
454a20
- Updating to 1.6.0 (#1328645)
454a20
454a20
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-5
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
454a20
454a20
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-4
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
454a20
454a20
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-3
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
454a20
454a20
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-2
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
454a20
454a20
* Tue Jan 19 2016 Jaromir Capik <jcapik@redhat.com> - 1.4.9-1
454a20
- Updating to 1.4.9 (#1297157)
454a20
454a20
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-2
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
454a20
454a20
* Thu Jan 22 2015 Jaromir Capik <jcapik@redhat.com> - 1.4.8-1
454a20
- Updating to 1.4.8 (#1183543)
454a20
454a20
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.7-3
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
454a20
454a20
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.7-2
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
454a20
454a20
* Wed Jan 08 2014 Jaromir Capik <jcapik@redhat.com> - 1.4.7-1
454a20
- Update to 1.4.7
454a20
454a20
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.6-2
454a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
454a20
454a20
* Tue May 07 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.6-1
454a20
- Update to 1.4.6
454a20
454a20
* Tue Apr 09 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.5-1
454a20
- Update to 1.4.5
454a20
454a20
* Wed Feb 06 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-7
454a20
- Adding new switches to the ffcfstress man page
454a20
454a20
* Wed Feb 06 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-6
454a20
- Merging the 64bit patch from ff-utils
454a20
454a20
* Mon Feb 04 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-5
454a20
- Resolving conflicts with ff-utils
454a20
454a20
* Fri Jan 04 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-4
454a20
- Adding conflict with gpm < 1.20.6-26 (inputattach)
454a20
454a20
* Thu Jan 03 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-3
454a20
- Passing optflags to make
454a20
454a20
* Wed Jan 02 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-2
454a20
- Using prefix macro
454a20
454a20
* Wed Jan 02 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-1
454a20
- Initial package