|
|
329c281 |
Name: tuna
|
|
|
d71a3b7 |
Version: 0.19
|
|
|
d71a3b7 |
Release: 1%{?dist}
|
|
|
329c281 |
License: GPLv2
|
|
|
329c281 |
Summary: Application tuning GUI & command line utility
|
|
Jiri Kastner |
86d179b |
Source: https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz
|
|
Jiri Kastner |
86d179b |
URL: https://rt.wiki.kernel.org/index.php/Tuna
|
|
|
329c281 |
BuildArch: noarch
|
|
Jiri Kastner |
0d5b15e |
BuildRequires: python3-devel, gettext
|
|
|
5518672 |
BuildRequires: python3-setuptools
|
|
Jiri Kastner |
0d5b15e |
Requires: python3-ethtool
|
|
Jiri Kastner |
0d5b15e |
Requires: python3-linux-procfs >= 0.6
|
|
Jiri Kastner |
0d5b15e |
Requires: python3-schedutils >= 0.6
|
|
|
329c281 |
# This really should be a Suggests...
|
|
|
329c281 |
# Requires: python-inet_diag
|
|
|
329c281 |
|
|
|
d71a3b7 |
# Patches
|
|
|
d71a3b7 |
|
|
|
329c281 |
%description
|
|
|
329c281 |
Provides interface for changing scheduler and IRQ tunables, at whole CPU and at
|
|
|
329c281 |
per thread/IRQ level. Allows isolating CPUs for use by a specific application
|
|
|
329c281 |
and moving threads and interrupts to a CPU by just dragging and dropping them.
|
|
|
329c281 |
Operations can be done on CPU sockets, understanding CPU topology.
|
|
|
329c281 |
|
|
|
329c281 |
Can be used as a command line utility without requiring the GUI libraries to be
|
|
|
329c281 |
installed.
|
|
|
329c281 |
|
|
|
329c281 |
%package -n oscilloscope
|
|
|
329c281 |
Summary: Generic graphical signal plotting tool
|
|
Jiri Kastner |
0d5b15e |
Requires: python3-matplotlib-gtk3
|
|
Jiri Kastner |
0d5b15e |
Requires: python3-numpy
|
|
Jiri Kastner |
0d5b15e |
Requires: python3-cairocffi
|
|
Jiri Kastner |
0d5b15e |
Requires: gobject-introspection
|
|
|
329c281 |
Requires: tuna = %{version}-%{release}
|
|
|
329c281 |
|
|
|
329c281 |
%description -n oscilloscope
|
|
|
329c281 |
Plots stream of values read from standard input on the screen together with
|
|
|
329c281 |
statistics and a histogram.
|
|
|
329c281 |
|
|
|
329c281 |
Allows to instantly see how a signal generator, such as cyclictest, signaltest
|
|
|
329c281 |
or even ping, reacts when, for instance, its scheduling policy or real time
|
|
|
329c281 |
priority is changed, be it using tuna or plain chrt & taskset.
|
|
|
329c281 |
|
|
|
329c281 |
%prep
|
|
|
329c281 |
%setup -q
|
|
|
329c281 |
|
|
|
329c281 |
%build
|
|
Jiri Kastner |
0d5b15e |
%py3_build
|
|
|
fe74639 |
%py3_shebang_fix tuna/
|
|
|
fe74639 |
%py3_shebang_fix tuna-cmd.py
|
|
|
fe74639 |
%py3_shebang_fix oscilloscope-cmd.py
|
|
|
329c281 |
|
|
|
329c281 |
%install
|
|
|
329c281 |
rm -rf %{buildroot}
|
|
Jiri Kastner |
0d5b15e |
%py3_install
|
|
|
f9df1d7 |
mkdir -p %{buildroot}/%{_sysconfdir}/tuna/
|
|
|
f9df1d7 |
mkdir -p %{buildroot}/{%{_bindir},%{_datadir}/tuna/help/kthreads,%{_mandir}/man8}
|
|
|
b514fa4 |
mkdir -p %{buildroot}/%{_datadir}/polkit-1/actions/
|
|
|
329c281 |
install -p -m644 tuna/tuna_gui.glade %{buildroot}/%{_datadir}/tuna/
|
|
|
329c281 |
install -p -m755 tuna-cmd.py %{buildroot}/%{_bindir}/tuna
|
|
|
329c281 |
install -p -m755 oscilloscope-cmd.py %{buildroot}/%{_bindir}/oscilloscope
|
|
|
329c281 |
install -p -m644 help/kthreads/* %{buildroot}/%{_datadir}/tuna/help/kthreads/
|
|
|
f9df1d7 |
install -p -m644 docs/tuna.8 %{buildroot}/%{_mandir}/man8/
|
|
|
f9df1d7 |
install -p -m644 etc/tuna/example.conf %{buildroot}/%{_sysconfdir}/tuna/
|
|
|
f9df1d7 |
install -p -m644 etc/tuna.conf %{buildroot}/%{_sysconfdir}/
|
|
|
b514fa4 |
install -p -m644 org.tuna.policy %{buildroot}/%{_datadir}/polkit-1/actions/
|
|
|
329c281 |
|
|
|
329c281 |
# l10n-ed message catalogues
|
|
|
329c281 |
for lng in `cat po/LINGUAS`; do
|
|
|
329c281 |
po=po/"$lng.po"
|
|
|
329c281 |
mkdir -p %{buildroot}/%{_datadir}/locale/${lng}/LC_MESSAGES
|
|
|
329c281 |
msgfmt $po -o %{buildroot}/%{_datadir}/locale/${lng}/LC_MESSAGES/%{name}.mo
|
|
|
329c281 |
done
|
|
|
329c281 |
|
|
|
329c281 |
%find_lang %name
|
|
|
329c281 |
|
|
|
329c281 |
%files -f %{name}.lang
|
|
|
329c281 |
%doc ChangeLog
|
|
Jiri Kastner |
0d5b15e |
%{python3_sitelib}/*.egg-info
|
|
|
329c281 |
%{_bindir}/tuna
|
|
|
329c281 |
%{_datadir}/tuna/
|
|
Jiri Kastner |
0d5b15e |
%{python3_sitelib}/tuna/
|
|
|
f9df1d7 |
%{_mandir}/man8/tuna.8*
|
|
|
f9df1d7 |
%{_sysconfdir}/tuna.conf
|
|
|
f9df1d7 |
%{_sysconfdir}/tuna/*
|
|
|
b514fa4 |
%{_datadir}/polkit-1/actions/org.tuna.policy
|
|
|
329c281 |
|
|
|
329c281 |
%files -n oscilloscope
|
|
|
329c281 |
%{_bindir}/oscilloscope
|
|
|
329c281 |
%doc docs/oscilloscope+tuna.html
|
|
|
329c281 |
%doc docs/oscilloscope+tuna.pdf
|
|
|
329c281 |
|
|
|
329c281 |
%changelog
|
|
|
d71a3b7 |
* Thu Feb 16 2023 John Kacur <jkacur@redhat.com> - 0.19-1
|
|
|
d71a3b7 |
- Use setuptools and sysconfig instead of distutils in setup.py
|
|
|
d71a3b7 |
- Update to 0.19 upstream
|
|
|
d71a3b7 |
|
|
|
34c706d |
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-2
|
|
|
34c706d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
34c706d |
|
|
|
be36aac |
* Fri Aug 12 2022 Federico Pellegrin <fede@evolware.org> - 0.18-1
|
|
|
be36aac |
- update to 0.18, remove now merged patch
|
|
|
be36aac |
|
|
|
837ad4d |
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-4
|
|
|
837ad4d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
837ad4d |
|
|
|
7286c4b |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.17-3
|
|
|
7286c4b |
- Rebuilt for Python 3.11
|
|
|
7286c4b |
|
|
|
1d980ba |
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-2
|
|
|
1d980ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
1d980ba |
|
|
|
e3ae3eb |
* Tue Jan 11 2022 Federico Pellegrin <fede@evolware.org> - 0.17-1
|
|
|
e3ae3eb |
- update to 0.17 (various fixes and cleanups)
|
|
|
e3ae3eb |
|
|
|
94da830 |
* Fri Aug 20 2021 Federico Pellegrin <fede@evolware.org> - 0.16-1
|
|
|
94da830 |
- update to 0.16 (contains Gtk3 support)
|
|
|
94da830 |
|
|
|
8c1eeec |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-6
|
|
|
8c1eeec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
8c1eeec |
|
|
|
0e3d75a |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.14.1-5
|
|
|
0e3d75a |
- Rebuilt for Python 3.10
|
|
|
0e3d75a |
|
|
|
82a5222 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-4
|
|
|
82a5222 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
82a5222 |
|
|
|
ae7dfbc |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-3
|
|
|
ae7dfbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ae7dfbc |
|
|
|
eb2a530 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-2
|
|
|
eb2a530 |
- Rebuilt for Python 3.9
|
|
|
eb2a530 |
|
|
|
9bcb00a |
* Thu May 21 2020 Jiri Kastner <jkastner@fedoraproject.org> - 0.14.1
|
|
|
9bcb00a |
- update to 0.14.1
|
|
|
9bcb00a |
- fixes RHBZ#1773339
|
|
|
9bcb00a |
|
|
|
7177c2d |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-6
|
|
|
7177c2d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
7177c2d |
|
|
|
0c242e4 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14-5
|
|
|
0c242e4 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
0c242e4 |
|
|
|
0cf32b0 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14-4
|
|
|
0cf32b0 |
- Rebuilt for Python 3.8
|
|
|
0cf32b0 |
|
|
|
d2b1a91 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-3
|
|
|
d2b1a91 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d2b1a91 |
|
|
Jiri Kastner |
3422aee |
* Tue Feb 12 2019 Jiri Kastner <jkastner@fedoraproject.org> - 0.14-3
|
|
Jiri Kastner |
3422aee |
- upload patch
|
|
Jiri Kastner |
3422aee |
|
|
Jiri Kastner |
0d5b15e |
* Tue Feb 12 2019 Jiri Kastner <jkastner@fedoraproject.org> - 0.14-2
|
|
Jiri Kastner |
0d5b15e |
- oscilloscope gtk3 patch
|
|
Jiri Kastner |
0d5b15e |
|
|
Jiri Kastner |
0d5b15e |
* Tue Feb 12 2019 Jiri Kastner <jkastner@fedoraproject.org> - 0.14-1
|
|
Jiri Kastner |
0d5b15e |
- update to 0.14
|
|
Jiri Kastner |
0d5b15e |
- switch to python3
|
|
Jiri Kastner |
0d5b15e |
|
|
|
5e03ccc |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-8
|
|
|
5e03ccc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
5e03ccc |
|
|
|
77ab0f8 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-7
|
|
|
77ab0f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
77ab0f8 |
|
|
|
ddbd9a3 |
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.13.1-6
|
|
|
ddbd9a3 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
ddbd9a3 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
ddbd9a3 |
|
|
|
1381240 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-5
|
|
|
1381240 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
1381240 |
|
|
|
e52815f |
* Wed Nov 29 2017 Lubomir Rintel <lkundrak@v3.sk> - 0.13.1-4
|
|
|
e52815f |
- Add a missing dependency for oscilloscope
|
|
|
e52815f |
|
|
|
58d7a70 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-3
|
|
|
58d7a70 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
58d7a70 |
|
|
|
b5a32e5 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-2
|
|
|
b5a32e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b5a32e5 |
|
|
Jiri Kastner |
74cec89 |
* Wed Dec 21 2016 Jiri Kastner <jkastner@redhat.com> - 0.13.1-1
|
|
Jiri Kastner |
74cec89 |
- new version
|
|
Jiri Kastner |
74cec89 |
|
|
Dominik 'Rathann' Mierzejewski |
a082640 |
* Mon Sep 26 2016 Dominik Mierzejewski <rpm@greysector.net> - 0.12-5
|
|
Dominik 'Rathann' Mierzejewski |
a082640 |
- rebuilt for matplotlib-2.0.0
|
|
Dominik 'Rathann' Mierzejewski |
a082640 |
|
|
|
6e8e93e |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-4
|
|
|
6e8e93e |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
6e8e93e |
|
|
|
9a3fef4 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
|
|
|
9a3fef4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9a3fef4 |
|
|
|
cd6f3a6 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
|
|
|
cd6f3a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
cd6f3a6 |
|
|
Jiri Kastner |
86d179b |
* Fri Oct 10 2014 Jiri Kastner <jkastner@redhat.com> - 0.12-1
|
|
Jiri Kastner |
86d179b |
- new upstream release
|
|
Jiri Kastner |
86d179b |
|
|
|
03c998c |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-3
|
|
|
03c998c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
03c998c |
|
|
|
b514fa4 |
* Mon Jul 29 2013 Jiri Kastner <jkastner@redhat.com> - 0.11.1-1
|
|
|
b514fa4 |
- New upstream release
|
|
|
b514fa4 |
|
|
|
f9df1d7 |
* Tue Jun 11 2013 Jiri Kastner <jkastner@redhat.com> - 0.11-2
|
|
|
f9df1d7 |
- changed dependencies from python-numeric to numpy
|
|
|
f9df1d7 |
- merged spec changes from upstream
|
|
|
f9df1d7 |
|
|
|
af24f10 |
* Thu Jun 6 2013 Jiri Kastner <jkastner@redhat.com> - 0.11-1
|
|
|
af24f10 |
- New upstream release
|
|
|
af24f10 |
|
|
|
8b37b42 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-6
|
|
|
8b37b42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8b37b42 |
|
|
|
4852efd |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-5
|
|
|
4852efd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4852efd |
|
|
|
1074409 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-4
|
|
|
1074409 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
1074409 |
|
|
|
7f6815d |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
|
|
|
7f6815d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
7f6815d |
|
|
|
329c281 |
* Sun Aug 01 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.9.1-2
|
|
|
329c281 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
329c281 |
|
|
|
329c281 |
* Thu Sep 03 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.9.1-1
|
|
|
329c281 |
- New upstream release
|
|
|
329c281 |
|
|
|
329c281 |
* Wed Aug 26 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.9-3
|
|
|
329c281 |
- Rewrite the oscilloscope package summary
|
|
|
329c281 |
- Remove the shebang in tuna/oscilloscope.py
|
|
|
329c281 |
|
|
|
329c281 |
* Mon Aug 17 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.9-2
|
|
|
329c281 |
- Use install -p
|
|
|
329c281 |
- Add BuildRequires for gettext
|
|
|
329c281 |
|
|
|
329c281 |
* Fri Jul 10 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.9-1
|
|
|
329c281 |
- Fedora package reviewing changes: introduce ChangeLog file
|