Blame SPECS/evemu.spec

a0d259
%if 0%{?rhel} && 0%{?rhel} < 8
a0d259
%bcond_without legacy_python
a0d259
%endif
a0d259
a0d259
#global gitdate 20150818
a0d259
#global gitversion eba96a4
a0d259
a0d259
Name:           evemu
a0d259
Version:        2.7.0
a0d259
Release:        8%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
a0d259
Summary:        Event Device Query and Emulation Program
a0d259
a0d259
Group:          Development/Tools
a0d259
License:        GPLv3+
a0d259
URL:            http://www.freedesktop.org/wiki/Evemu
a0d259
a0d259
%if 0%{?gitdate}
a0d259
Source0:        %{name}-%{gitdate}.tar.bz2
a0d259
Source1:        make-git-snapshot.sh
a0d259
Source2:        commitid
a0d259
%else
a0d259
Source0:        http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
a0d259
%endif
a0d259
a0d259
BuildRequires:  automake libtool gcc gcc-c++
a0d259
%if %{with legacy_python}
a0d259
BuildRequires:  python2-devel
a0d259
%else
a0d259
BuildRequires:  python3-devel
a0d259
%endif
a0d259
BuildRequires:  xmlto asciidoc
a0d259
BuildRequires:  libevdev-devel >= 1.3
a0d259
Requires:       libevdev >= 0.5
a0d259
Requires:       %{name}-libs = %{version}-%{release}
a0d259
a0d259
%description
a0d259
%{name} is a simple utility to capture the event stream from input devices
a0d259
and replay that stream on a virtual input device.
a0d259
a0d259
%package libs
a0d259
Summary:        Event Device Query and Emulation Program Library
a0d259
License:        LGPLv3+
a0d259
Conflicts:      evemu < 2.7.0-8
a0d259
a0d259
%description libs
a0d259
%{name} base library, used by the evemu tools.
a0d259
a0d259
%package devel
a0d259
Summary:        Event Device Query and Emulation Program Development Package
a0d259
Requires:       %{name} = %{version}-%{release}
a0d259
Requires:       pkgconfig
a0d259
a0d259
%description devel
a0d259
%{name} development files.
a0d259
a0d259
%prep
a0d259
%setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
a0d259
a0d259
%build
a0d259
autoreconf -v --install --force || exit 1
a0d259
%if %{with legacy_python}
a0d259
export PYTHON=python2
a0d259
%else
a0d259
export PYTHON=python3
a0d259
%endif
a0d259
%configure --disable-static --disable-silent-rules
a0d259
make %{?_smp_mflags}
a0d259
a0d259
%install
a0d259
make install DESTDIR=%{buildroot}
a0d259
a0d259
# We intentionally don't ship *.la files
a0d259
rm -f %{buildroot}%{_libdir}/*.la
a0d259
a0d259
%ldconfig_scriptlets
a0d259
a0d259
%files
a0d259
%license COPYING
a0d259
%{_bindir}/evemu-describe
a0d259
%{_bindir}/evemu-device
a0d259
%{_bindir}/evemu-play
a0d259
%{_bindir}/evemu-event
a0d259
%{_bindir}/evemu-record
a0d259
%{_mandir}/man1/evemu-*
a0d259
a0d259
%files libs
a0d259
%{_libdir}/libevemu.so.*
a0d259
a0d259
%files devel
a0d259
%{_includedir}/evemu.h
a0d259
%{_libdir}/libevemu.so
a0d259
%{_libdir}/pkgconfig/evemu.pc
a0d259
%if %{with legacy_python}
a0d259
%{python2_sitelib}/evemu
a0d259
%else
a0d259
%{python3_sitelib}/evemu
a0d259
%endif
a0d259
a0d259
%changelog
a0d259
* Mon Jul 16 2018 Peter Hutterer <peter.hutterer@redhat.com> 2.7.0-8
a0d259
- Split the lib into its own subpackage, it's LGPLv3+
a0d259
- remove utouch-evemu Obsoletes line, it's been over 5 years
a0d259
a0d259
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-7
a0d259
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a0d259
a0d259
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 2.7.0-6
a0d259
- Rebuilt for Python 3.7
a0d259
a0d259
* Fri Mar 30 2018 Carl George <carl@george.computer> - 2.7.0-5
a0d259
- Build with python3 on Fedora
a0d259
- Fix license handling
a0d259
- Use %%ldconfig_scriptlets macro
a0d259
a0d259
* Thu Mar 08 2018 Peter Hutterer <peter.hutterer@redhat.com> 2.7.0-4
a0d259
- Add BuildRequires for gcc-c++, needed for a test build
a0d259
a0d259
* Mon Feb 19 2018 Peter Hutterer <peter.hutterer@redhat.com> 2.7.0-3
a0d259
- Add BuildRequires for gcc
a0d259
a0d259
* Tue Feb 06 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.7.0-2
a0d259
- Update Python 2 dependency declarations to new packaging standards
a0d259
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
a0d259
a0d259
* Mon Sep 25 2017 Benjamin Tissoires <benjamin.tissoires@redhat.com> 2.7.0-1
a0d259
- Evemu 2.7.0
a0d259
a0d259
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-3
a0d259
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a0d259
a0d259
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
a0d259
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a0d259
a0d259
* Wed May 03 2017 Peter Hutterer <peter.hutterer@redhat.com> 2.6.0-1
a0d259
- evemu 2.6.0
a0d259
a0d259
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-2
a0d259
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a0d259
a0d259
* Fri Sep 16 2016 Benjamin Tissoires <benjamin.tissoires@redhat.com> 2.5.0-1
a0d259
- Evemu v2.5.0
a0d259
a0d259
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-2
a0d259
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a0d259
a0d259
* Mon Apr 04 2016 Benjamin Tissoires <benjamin.tissoires@redhat.com> 2.4.0-1
a0d259
- Evemu v2.4.0
a0d259
a0d259
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
a0d259
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a0d259
a0d259
* Wed Oct 14 2015 Benjamin Tissoires <benjamin.tissoires@redhat.com> 2.3.1-1
a0d259
- Evemu v2.3.1
a0d259
a0d259
* Tue Aug 18 2015 Benjamin Tissoires <benjamin.tissoires@redhat.com> 2.2.0-2.20150818giteba96a4
a0d259
- git snapshot to fix rhbz #1251015
a0d259
a0d259
* Tue Aug 04 2015 Benjamin Tissoires <benjamin.tissoires@redhat.com> 2.2.0-1
a0d259
- Evemu v2.2.0
a0d259
a0d259
* Wed Jul 22 2015 Benjamin Tissoires <benjamin.tissoires@redhat.com> 2.1.0-4.20150722git79b29f0
a0d259
- Update to current git master: add dmi info and EV_SW and EV_LED states
a0d259
a0d259
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
a0d259
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a0d259
a0d259
* Thu Jun 11 2015 Benjamin Tissoires <benjamin.tissoires@redhat.com> 2.1.0-2
a0d259
- Apply 2 upstream patches: handle holes in the input node list,
a0d259
  add uname to the header comment
a0d259
a0d259
* Wed Nov 12 2014 Peter Hutterer <peter.hutterer@redhat.com> 2.1.0-1
a0d259
- Update to version 2.1.0
a0d259
a0d259
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
a0d259
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a0d259
a0d259
* Thu Jun 19 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> 2.0.0-1
a0d259
- Update to version 2.0.0
a0d259
a0d259
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.99.0-4.20140324gitaf60032
a0d259
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a0d259
a0d259
* Sun Mar 23 2014 Peter Hutterer <peter.hutterer@redhat.com> - 1.99.0-3.20140324gitaf60032
a0d259
- Update to current git, stray debugging output lead to invalid traces
a0d259
a0d259
* Mon Feb 10 2014 Peter Hutterer <peter.hutterer@redhat.com> - 1.99.0-2.20131213gitb8f3f57
a0d259
- Rebuild for libevdev soname bump
a0d259
a0d259
* Fri Dec 13 2013 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.99.0-1.20131213gitb8f3f57
a0d259
- Update to current git, before 2.0 is released
a0d259
- fixes #1037056 (evemu FTBFS if "-Werror=format-security" flag is used)
a0d259
- use libevdev backend (libevdev >= 0.5 is required)
a0d259
a0d259
* Thu Nov 21 2013 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.2.0-0
a0d259
- Update to version 1.2.0
a0d259
a0d259
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5.20130724git304eb65f
a0d259
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a0d259
a0d259
* Wed Jul 24 2013 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.1.0-4.20130724git304eb65f
a0d259
- Update to current git, record the resolution and bump the file format to 1.2
a0d259
a0d259
* Wed Jul 10 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.1.0-3.20130708gitf2eb0f2cd
a0d259
- disable silent rules
a0d259
a0d259
* Mon Jul 08 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.1.0-2.20130708gitf2eb0f2cd
a0d259
- Update to current git, avoids printing unused bits
a0d259
a0d259
* Thu May 23 2013 Peter Hutterer <peter.hutterer@redhat.com>
a0d259
- Drop unused patch
a0d259
a0d259
* Fri May 03 2013 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.1.0-1
a0d259
- Update to version 1.1.0, hosted now on freedesktop
a0d259
a0d259
* Thu Jan 31 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.0.10-3
a0d259
- fclose output only once
a0d259
a0d259
* Tue Jan 08 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.0.10-2
a0d259
- Test for device grab in evemu-record
a0d259
a0d259
* Fri Jul 06 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.0.10-1
a0d259
- Update to version 1.0.10, rename. upstream changed name to "evemu" with
a0d259
  this version
a0d259
a0d259
* Thu Feb 09 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.0.8-2
a0d259
- autoreconf --force to stop weird libtool build errors
a0d259
a0d259
* Tue Feb 07 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.0.8-1
a0d259
- Initial package