Blame SPECS/linuxconsoletools.spec

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