Blame SPECS/linuxconsoletools.spec

288433
%global udevdir %(pkg-config --variable=udevdir udev)
288433
288433
Name:           linuxconsoletools
288433
Version:        1.6.0
288433
Release:        4%{?dist}
288433
Summary:        Tools for connecting joysticks & legacy devices to the kernel's input subsystem
288433
Group:          Applications/System
288433
License:        GPLv2+
288433
URL:            http://sourceforge.net/projects/linuxconsole/
288433
Source:         http://downloads.sourceforge.net/linuxconsole/%{name}-%{version}.tar.bz2
288433
288433
BuildRequires:  SDL-devel
288433
BuildRequires:  systemd
288433
288433
Provides:       joystick = %{version}-%{release}
288433
Provides:       ff-utils = 1:%{version}-%{release}
288433
Obsoletes:      joystick < 1.2.16-1
288433
Obsoletes:      ff-utils < 2.4.22-1
288433
Conflicts:      gpm < 1.20.6-26
288433
288433
288433
%description
288433
This package contains utilities for testing and configuring joysticks,
288433
connecting legacy devices to the kernel's input subsystem (providing support
288433
for serial mice, touchscreens etc.), and test the input event layer.
288433
288433
288433
%prep
288433
%setup -q
288433
288433
288433
%build
288433
export LDFLAGS="$LDFLAGS -Wl,-z,relro,-z,now -fPIE -pie"
288433
make PREFIX=%{_prefix} CFLAGS="$CFLAGS %{optflags}" %{?_smp_mflags}
288433
288433
# moving helper scripts from /usr/share/joystick to /usr/libexec/joystick
288433
sed -i "s|%{_prefix}/share/joystick|%{_libexecdir}/joystick|g" utils/jscal-restore utils/jscal-store
288433
288433
288433
%install
288433
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
288433
288433
# moving helper scripts from /usr/share/joystick to /usr/libexec/joystick
288433
install -d -m 0755 %{buildroot}%{_libexecdir}/joystick
288433
mv -f %{buildroot}%{_prefix}/share/joystick/* %{buildroot}%{_libexecdir}/joystick/
288433
288433
# fixing udev dir
288433
mv -f %{buildroot}/lib %{buildroot}/usr/
288433
288433
# fixing man permissions
288433
chmod -x %{buildroot}%{_mandir}/man1/*
288433
288433
288433
%files
288433
%doc COPYING README NEWS
288433
288433
%{_bindir}/ffcfstress
288433
%{_bindir}/ffmvforce
288433
%{_bindir}/ffset
288433
%{_bindir}/fftest
288433
%{_bindir}/inputattach
288433
%{_bindir}/jscal
288433
%{_bindir}/jscal-restore
288433
%{_bindir}/jscal-store
288433
%{_bindir}/jstest
288433
%{_bindir}/evdev-joystick
288433
288433
%{_libexecdir}/joystick/extract
288433
%{_libexecdir}/joystick/filter
288433
%{_libexecdir}/joystick/ident
288433
288433
%{udevdir}/js-set-enum-leds
288433
%{udevdir}/rules.d/80-stelladaptor-joystick.rules    
288433
288433
%{_mandir}/man1/*
288433
288433
288433
%changelog
288433
* Tue Dec 04 2018 Ondrej Vasik <ovasik@redhat.com> - 1.6.0-4
288433
- -pie option was still missing in LD_FLAGS (#1630589)
288433
288433
* Fri Sep 21 2018 Ondrej Vasik < ovasik@redhat.com> - 1.6.0-3
288433
- Fix hardening flags (#1630589)
288433
288433
* Wed Aug 08 2018 Lukas Nykryn <lnykryn@redhat.com> - 1.6.0-2
288433
- Add missing BuildRequires
288433
288433
* Wed Nov 15 2017 Michal Ambroz <rebus _at seznam.cz> - 1.6.0-1
288433
- Updating to 1.6.0 (#1328645)
288433
288433
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-5
288433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
288433
288433
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-4
288433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
288433
288433
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-3
288433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
288433
288433
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-2
288433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
288433
288433
* Tue Jan 19 2016 Jaromir Capik <jcapik@redhat.com> - 1.4.9-1
288433
- Updating to 1.4.9 (#1297157)
288433
288433
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-2
288433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
288433
288433
* Thu Jan 22 2015 Jaromir Capik <jcapik@redhat.com> - 1.4.8-1
288433
- Updating to 1.4.8 (#1183543)
288433
288433
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.7-3
288433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
288433
288433
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.7-2
288433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
288433
288433
* Wed Jan 08 2014 Jaromir Capik <jcapik@redhat.com> - 1.4.7-1
288433
- Update to 1.4.7
288433
288433
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.6-2
288433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
288433
288433
* Tue May 07 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.6-1
288433
- Update to 1.4.6
288433
288433
* Tue Apr 09 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.5-1
288433
- Update to 1.4.5
288433
288433
* Wed Feb 06 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-7
288433
- Adding new switches to the ffcfstress man page
288433
288433
* Wed Feb 06 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-6
288433
- Merging the 64bit patch from ff-utils
288433
288433
* Mon Feb 04 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-5
288433
- Resolving conflicts with ff-utils
288433
288433
* Fri Jan 04 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-4
288433
- Adding conflict with gpm < 1.20.6-26 (inputattach)
288433
288433
* Thu Jan 03 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-3
288433
- Passing optflags to make
288433
288433
* Wed Jan 02 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-2
288433
- Using prefix macro
288433
288433
* Wed Jan 02 2013 Jaromir Capik <jcapik@redhat.com> - 1.4.4-1
288433
- Initial package