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