Compare commits

...

No commits in common. 'c9' and 'i8c' have entirely different histories.
c9 ... i8c

2
.gitignore vendored

@ -1 +1 @@
SOURCES/linuxconsoletools-1.7.1.tar.bz2
SOURCES/linuxconsoletools-1.6.0.tar.bz2

@ -1 +1 @@
466877c4dc0943c1099f319af51a16c6c773b5aa SOURCES/linuxconsoletools-1.7.1.tar.bz2
cca89a39adb23d88834b8eaed2b96cb46fabc0df SOURCES/linuxconsoletools-1.6.0.tar.bz2

@ -1,17 +1,16 @@
%global udevdir %(pkg-config --variable=udevdir udev)
Name: linuxconsoletools
Version: 1.7.1
Release: 3%{?dist}
Version: 1.6.0
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: gcc
BuildRequires: pkgconfig(sdl2)
BuildRequires: systemd-udev
BuildRequires: make
BuildRequires: SDL-devel
BuildRequires: systemd
Provides: joystick = %{version}-%{release}
Provides: ff-utils = 1:%{version}-%{release}
@ -27,23 +26,23 @@ for serial mice, touchscreens etc.), and test the input event layer.
%prep
%autosetup
%setup -q
%build
%{set_build_flags}
%{make_build} PREFIX=%{_prefix}
export LDFLAGS="$LDFLAGS -Wl,-z,relro,-z,now -fPIE -pie"
make PREFIX=%{_prefix} CFLAGS="$CFLAGS %{optflags}" %{?_smp_mflags}
# moving helper scripts from /usr/share/joystick to /usr/libexec/joystick
sed -i "s|%{_datadir}/joystick|%{_libexecdir}/joystick|g" utils/jscal-restore utils/jscal-store
sed -i "s|%{_prefix}/share/joystick|%{_libexecdir}/joystick|g" utils/jscal-restore utils/jscal-store
%install
%{make_install} PREFIX=%{_prefix}
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}%{_datadir}/joystick/* %{buildroot}%{_libexecdir}/joystick/
mv -f %{buildroot}%{_prefix}/share/joystick/* %{buildroot}%{_libexecdir}/joystick/
# fixing udev dir
mv -f %{buildroot}/lib %{buildroot}/usr/
@ -53,8 +52,8 @@ chmod -x %{buildroot}%{_mandir}/man1/*
%files
%doc README NEWS
%license COPYING
%doc COPYING README NEWS
%{_bindir}/ffcfstress
%{_bindir}/ffmvforce
%{_bindir}/ffset
@ -66,54 +65,28 @@ chmod -x %{buildroot}%{_mandir}/man1/*
%{_bindir}/jstest
%{_bindir}/evdev-joystick
%{_libexecdir}/joystick
%{_libexecdir}/joystick/extract
%{_libexecdir}/joystick/filter
%{_libexecdir}/joystick/ident
%{udevdir}/js-set-enum-leds
%{_udevrulesdir}/80-stelladaptor-joystick.rules
%{udevdir}/rules.d/80-stelladaptor-joystick.rules
%{_mandir}/man1/*
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.1-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.1-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Feb 22 2021 Vasiliy N. Glazov <vascom2@gmail.com> - 1.7.1-1
- Update to 1.7.1
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Oct 07 2019 Vasiliy N. Glazov <vascom2@gmail.com> - 1.7.0-1
- Update to 1.7.0
* Fri Sep 20 2019 Vasiliy N. Glazov <vascom2@gmail.com> - 1.6.1-2
- Fix store/restore utils handling #1753648
* Tue Aug 13 2019 Vasiliy N. Glazov <vascom2@gmail.com> - 1.6.1-1
- Update to 1.6.1
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.6.0-4
- Rebuilt for MSVSphere 8.8
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Dec 04 2018 Ondrej Vasik <ovasik@redhat.com> - 1.6.0-4
- -pie option was still missing in LD_FLAGS (#1630589)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Sep 21 2018 Ondrej Vasik < ovasik@redhat.com> - 1.6.0-3
- Fix hardening flags (#1630589)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Aug 08 2018 Lukas Nykryn <lnykryn@redhat.com> - 1.6.0-2
- Add missing BuildRequires
* Wed Nov 15 2017 Michal Ambroz <rebus _at seznam.cz> - 1.6.0-1
- Updating to 1.6.0 (#1328645)

Loading…
Cancel
Save