e7dd81
%{?python_enable_dependency_generator}
112826
Name:		autokey
9ba4a9
Version:	0.95.7
7f23ff
Release:	4%{?dist}
9ba4a9
Summary:	Desktop automation utility
112826
112826
112826
License:	GPLv3
af96d2
URL:		https://github.com/autokey/autokey
af96d2
Source0:	https://github.com/autokey/autokey/archive/v%{version}.tar.gz
112826
112826
9ba4a9
BuildArch:	noarch
2dac0e
BuildRequires:	python3-devel,python3-xlib,python3-inotify,python3-dbus,python3-setuptools,python3-qt5-devel,python3-qscintilla
112826
112826
112826
%description
9ba4a9
AutoKey is a desktop automation utility for Linux and X11. It allows
9ba4a9
the automation of virtually any task by responding to typed abbreviations
9ba4a9
and hot keys. It offers a full-featured GUI that makes it highly
9ba4a9
accessible for novices, as well as a scripting interface offering
112826
the full flexibility and power of the Python language.
112826
742cb8
%package common
9ba4a9
Summary:	Desktop automation utility - common data
9d45d2
Requires:	python3-dbus
742cb8
Requires:	wmctrl
742cb8
Provides:	autokey = %{version}-%{release}
742cb8
742cb8
742cb8
%description common
742cb8
This package contains the common data shared between the various front ends.
742cb8
742cb8
742cb8
%package gtk
742cb8
Summary:	AutoKey GTK+ front end
af96d2
Requires:	libappindicator-gtk3
af96d2
Requires:	python3-gobject
742cb8
Requires:	zenity
742cb8
Requires:	autokey-common = %{version}-%{release}
742cb8
Provides:	autokey = %{version}-%{release}
742cb8
%description gtk
742cb8
This package contains the GTK+ front end for autokey
742cb8
742cb8
742cb8
%package qt
742cb8
Summary:	AutoKey QT front end
c7eee4
Requires:	python3-qscintilla-qt5
2dac0e
Requires:	python3-qscintilla
04446a
Requires:	python3-qt5
742cb8
Requires:	autokey-common = %{version}-%{release}
742cb8
Provides:	autokey = %{version}-%{release}
742cb8
%description qt
742cb8
This package contains the QT front end for autokey
742cb8
112826
112826
%prep
af96d2
%setup -q -n %{name}-%{version}
112826
112826
112826
%build
af96d2
%{__python3} setup.py build
112826
92fce0
112826
%install
112826
rm -rf %{buildroot}
af96d2
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --prefix %{_prefix}
112826
112826
# remove shebang from python libraries
af96d2
for lib in $(find %{buildroot}%{python3_sitelib}/autokey/ -name "*.py"); do
112826
 sed '/\/usr\/bin\/env/d' $lib > $lib.new &&
112826
 touch -r $lib $lib.new &&
112826
 mv $lib.new $lib
112826
done
112826
af96d2
# ensure pkg_resources is able to find the required python packages
9d45d2
 sed -i 's/python3-xlib/python-xlib/' %{buildroot}%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info/requires.txt
112826
742cb8
%files common
af96d2
%doc ACKNOWLEDGMENTS README.rst new_features.rst CHANGELOG.rst
af96d2
%{python3_sitelib}/*
af96d2
%exclude %{python3_sitelib}/autokey/gtkapp.py*
af96d2
%exclude %{python3_sitelib}/autokey/gtkui/*
af96d2
%exclude %{python3_sitelib}/autokey/qtapp.py*
af96d2
%exclude %{python3_sitelib}/autokey/qtui/*
af96d2
%{_datadir}/icons/*
6d4f51
%{_bindir}/autokey-run
af96d2
%{_bindir}/autokey-shell
742cb8
%{_mandir}/man1/autokey-run.1*
742cb8
742cb8
%files gtk
742cb8
%{_bindir}/autokey-gtk
af96d2
%{python3_sitelib}/autokey/gtkapp.py*
af96d2
%{python3_sitelib}/autokey/gtkui/*
112826
%{_datadir}/applications/autokey-gtk.desktop
742cb8
%{_mandir}/man1/autokey-gtk.1*
742cb8
742cb8
%files qt
742cb8
%{_bindir}/autokey-qt
af96d2
%{python3_sitelib}/autokey/qtapp.py*
af96d2
%{python3_sitelib}/autokey/qtui/*
742cb8
%{_datadir}/applications/autokey-qt.desktop
742cb8
%{_mandir}/man1/autokey-qt.1*
112826
112826
112826
%changelog
7f23ff
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.95.7-4
7f23ff
- Rebuilt for Python 3.8
7f23ff
b11b3e
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.95.7-3
b11b3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b11b3e
9ba4a9
* Sun May 12 2019 Raghu Udiyar <raghusiddarth@gmail.com> - 0.95.7-1
9ba4a9
- Update to latest bugfix 0.95.7
9ba4a9
b92ab3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.95.4-3
b92ab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b92ab3
e7dd81
* Thu Dec 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.95.4-2
e7dd81
- Enable python dependency generator
e7dd81
c7eee4
* Mon Dec 10 2018 Raghu Udiyar <raghusiddarth@gmail.com> - 0.95.4-1
c7eee4
- Fix missing qsci dependency for QT
c7eee4
04446a
* Mon Dec 10 2018 Raghu Udiyar <raghusiddarth@gmail.com> - 0.95.4
04446a
- Update to latest bugfix 0.95.4 to fix (#1646812)
04446a
- Remove qt5 requires (#1607903)
04446a
be04c1
* Sun Dec 09 2018 Miro Hrončok <mhroncok@redhat.com> - 0.95.2-2
be04c1
- Remove unused Python 2 pygtksourceview dependency
be04c1
04446a
* Mon Jul 23 2018 Raghu Udiyar <raghusiddarth@gmail.com> - 0.95.2-1
f88854
- Update to latest 0.95.2 release (#1596426)
f88854
1aab2b
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.94.0-3
1aab2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1aab2b
e084a2
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.94.0-2
e084a2
- Rebuilt for Python 3.7
e084a2
af96d2
* Tue May 01 2018 Raghu Udiyar <raghusiddarth@gmail.com> - 0.94.0-1
af96d2
- Update to latest 0.94.0 and use python3 (#1567688)
af96d2
1a9050
* Wed Apr 04 2018 Kalev Lember <klember@redhat.com> - 0.90.4-14
1a9050
- Add missing dependencies for autokey-gtk (#1520592)
1a9050
b00d48
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.90.4-13
b00d48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b00d48
cb08f3
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.90.4-12
cb08f3
- Remove obsolete scriptlets
cb08f3
ab0638
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.90.4-11
ab0638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ab0638
05907c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.90.4-10
05907c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
05907c
5d5d41
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.90.4-9
5d5d41
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
5d5d41
d55610
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.90.4-8
d55610
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d55610
86f60b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.90.4-7
86f60b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
86f60b
2a1225
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.90.4-6
2a1225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2a1225
eb2580
6bb0aa
* Mon Sep 16 2013 Raghu Udiyar <raghusiddarth@gmail.com> - 0.90.4-5
eb2580
- Updated pygtksourceview dependency to gtksourceview3
eb2580
e35544
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.90.4-4
e35544
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e35544
fce8aa
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.90.4-3
fce8aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fce8aa
ad0a6c
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.90.4-2
ad0a6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ad0a6c
742cb8
* Thu May 17 2012 Raghu Udiyar <raghusiddarth@gmail.com> 0.90.4-1
742cb8
- Update to upstream 0.90-4 release
742cb8
- Qt interface is back with major updates to both frontends
742cb8
- Back to the old split package structure
742cb8
ea4f91
* Tue Jan 10 2012 Matěj Cepl <mcepl@redhat.com> 0.81.4-1
ea4f91
- Upgrade to the latest upstream package.
ea4f91
af96d2
* Tue Nov 22 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.81.0-2
6d4f51
- Add autokey-run files to the package
6d4f51
af96d2
* Tue Nov 22 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.81.0-1
42bd88
- Update to upstream 0.81.0 release
42bd88
- Changelog : http://code.google.com/p/autokey/source/browse/trunk/debian/changelog?r=408
42bd88
c7d04c
* Wed Oct 26 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.80.3-1
c7d04c
- Update to upstream 0.80.3 release
c7d04c
- Changelog : http://code.google.com/p/autokey/source/browse/trunk/debian/changelog?spec=svn379&r=379
c7d04c
92fce0
* Sat Oct 8 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.80.2-1
92fce0
- Update to upstream 0.80.2 release
92fce0
- Qt interface deprecated and removed
92fce0
- Change package structure and remove qt subpackage/files
92fce0
- Updated application icon
92fce0
- Full changelog : http://code.google.com/p/autokey/source/browse/trunk/debian/changelog?spec=svn376&r=376
112826
112826
* Thu Jul 21 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.3-4
112826
- Update to upstream 0.71.3-2 release
112826
- Source tarball now extracts to "autokey-version" instead of "build" directory
112826
- The README file now explicitly mentions the licence
112826
- Drop defattr from the spec since recent RPM makes it redundant
112826
112826
* Fri Jul 15 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.3-3
112826
- Add build requirement for desktop-file-utils
112826
- Require pygtksourceview for gtk frontend
112826
- Require qscintilla-python for qt frontend
112826
112826
* Wed May 25 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.3-2
112826
- Improve spec readability
112826
112826
* Tue Apr 19 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.3-1
112826
- Update to upstream 0.71.3 release
112826
112826
* Sun Mar 13 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.2-6
112826
- Add desktop-file-validate
112826
112826
* Sun Mar 06 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.2-5
112826
- Remove Python-xlib dependency
112826
- Add doc/scripting to docs
112826
112826
* Fri Mar 04 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.2-4
112826
- Remove deprecated daemon, see : http://code.google.com/p/autokey/issues/detail?id=106
112826
af96d2
* Mon Feb 28 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.2-3
112826
- Add script to remove shebang from python libraries
112826
- Remove default start from initscript
112826
- Add patch to use lockfile in initscript
112826
112826
* Wed Feb 02 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.2-2
112826
- Add postun scriptlet to handle upgrades
112826
- Set autokey service to start only in runlevel 5
112826
af96d2
* Sun Jan 30 2011 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.2-1
112826
- Update to upstream 0.71.2 release
112826
- Add COPYING file to docs
112826
- Update init script to match upstream
112826
112826
* Sat Dec 18 2010 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.1-1
112826
- Update to upstream 0.71.1 release
112826
112826
* Fri Oct 01 2010 Raghu Udiyar <raghusiddarth@gmail.com> 0.71.0-1
112826
- Initial version of the package