Sophie

Sophie

distrib > Mageia > 8 > x86_64 > by-pkgid > 09475a6ec5081f45d414b2d907acd96d > files > 5

cutecw-1.2-9.mga8.src.rpm

Summary:	Morse Code Training Software
Name:		cutecw
Version:	1.2
Release:	%mkrel 9
License:	GPLv2
Group:		Communications/Radio
URL:		https://github.com/rhaamo/CuteCW
Source0:	https://github.com/rhaamo/CuteCW/archive/upstream/1.2/%{name}-%{version}.tar.gz
Source1:	%{name}.desktop

Patch1:		cutecw-paths.patch
Patch2:		cutecw-1.2-mga-audio.patch

BuildRequires:	pkgconfig(Qt5Core)
BuildRequires:	pkgconfig(Qt5Multimedia)
BuildRequires:	pkgconfig(Qt5Widgets)
BuildRequires:	pkgconfig(Qt5Xml)
BuildRequires:	desktop-file-utils

Requires:	qtmultimedia5

%description
Most Morse code training requires you to learn everything at once
without a training process. This application changes that and
separates training into phases.
The term 'CW' is often incorrectly used to refer to Morse code.
In reality it is the carrier wave mode, commonly used to transmit Morse code. 

%prep
%autosetup -p1

%build
%qmake_qt5 PREFIX=%{_prefix}

%make_build

%install
%make_install INSTALL_ROOT=%{buildroot}

%{__mkdir_p} %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
%{__cp} icons/%{name}.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
%{__mkdir_p} %{buildroot}%{_datadir}/%{name}
%{__cp} -r words %{buildroot}%{_datadir}/%{name}/
%{__cp} -r books %{buildroot}%{_datadir}/%{name}/
%{__cp} %{SOURCE1} .

desktop-file-install --vendor="" \
    --dir %{buildroot}%{_datadir}/applications %{name}.desktop

%files 
%doc LICENSE README.org
%{_bindir}/%{name}
%{_iconsdir}/hicolor/*/apps/*.png
%{_iconsdir}/hicolor/*/apps/*.svg
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/


%changelog
* Wed Dec 16 2020 umeabot <umeabot> 1.2-9.mga8
+ Revision: 1658300
- Rebuild for new Qt5

* Sat Feb 15 2020 umeabot <umeabot> 1.2-8.mga8
+ Revision: 1525991
- Mageia 8 Mass Rebuild

* Thu Apr 18 2019 barjac <barjac> 1.2-7.mga7
+ Revision: 1393303
- Upstream patch to fix trucated audio

* Sat Mar 30 2019 umeabot <umeabot> 1.2-6.mga7
+ Revision: 1381507
- Qt5 Rebuild

* Sun Sep 23 2018 umeabot <umeabot> 1.2-5.mga7
+ Revision: 1297379
- Mageia 7 Mass Rebuild

* Fri Dec 15 2017 barjac <barjac> 1.2-4.mga7
+ Revision: 1182694
- fix SOURCE0 properly

* Mon Nov 06 2017 barjac <barjac> 1.2-3.mga7
+ Revision: 1176185
- Add Requires: qtmultimedia5
- to fix Mga#21911 (cutecw has no sound)
+ daviddavid <daviddavid>
- fix owner of data dir

* Sun Oct 22 2017 wally <wally> 1.2-2.mga7
+ Revision: 1173025
- properly fix 'empty debuginfo'

* Sun Oct 22 2017 barjac <barjac> 1.2-1.mga7
+ Revision: 1173008
- new version 1.2
- use fork from git
- fix desktop file to have better category like cwstudio
- fix paths to new directories in this version
- update to some newer macros
- changed BRs for new qt5 port
- fixes missing sound with pulseaudio

* Sun Feb 14 2016 umeabot <umeabot> 1.0-9.mga6
+ Revision: 959833
- Mageia 6 Mass Rebuild

* Wed Sep 09 2015 neoclust <neoclust> 1.0-8.mga6
+ Revision: 875055
- Fix build with new rpm ( empty debuginfo)

* Wed Oct 15 2014 umeabot <umeabot> 1.0-7.mga5
+ Revision: 747553
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.0-6.mga5
+ Revision: 678643
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 1.0-5.mga4
+ Revision: 503650
- Mageia 4 Mass Rebuild

* Fri Jan 11 2013 umeabot <umeabot> 1.0-4.mga3
+ Revision: 348506
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Sep 28 2012 barjac <barjac> 1.0-3.mga3
+ Revision: 299027
- Change group to new policy

* Sun Aug 26 2012 barjac <barjac> 1.0-2.mga3
+ Revision: 284134
- Rebuild against new tools, pulseaudio etc. for mga3

* Sat Jan 07 2012 barjac <barjac> 1.0-1.mga2
+ Revision: 192951
- Cleaned with Summary and Description edits
- Desktop file updated
- imported package cutecw


* Sun Mar  6 2011 Wes Hardaker <wjhns174@hardakers.net> - 1.0-1
- Updated to 1.0 upstream

* Mon Feb 14 2011 Wes Hardaker <wjhns174@hardakers.net> - 0.5-1
- Update to 0.5

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Wed Jan 12 2011 Wes Hardaker <wjhns174@hardakers.net> - 0.4-3
- made the icons point to the -datadir instead of _iconsdir

* Wed Jan 12 2011 Wes Hardaker <wjhns174@hardakers.net> - 0.4-2
- Added desktop-file-utils to buildreqs for pulling in desktop-file-install

* Mon Jan 10 2011 Wes Hardaker <wjhns174@hardakers.net> - 0.4-1
- Initial Release for Fedora