12b439d
Summary:       Free Music Instrument Tuner
12b439d
Name:          fmit
1eedbaa
Version:       1.2.13
eed86ab
Release:       2%{?dist}
d59160d
License:       GPLv2+ and LGPLv2+
d59160d
URL:           http://gillesdegottex.github.io/fmit/
e770765
Source0:       https://github.com/gillesdegottex/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
12b439d
3f4fa82
BuildRequires: gcc-c++
d59160d
BuildRequires: libappstream-glib
e770765
BuildRequires: qt5-devel
e770765
BuildRequires: itstool
12b439d
BuildRequires: freeglut-devel
12b439d
BuildRequires: libXi-devel
12b439d
BuildRequires: libXmu-devel
12b439d
BuildRequires: fftw3-devel
12b439d
BuildRequires: alsa-lib-devel
12b439d
BuildRequires: jack-audio-connection-kit-devel
12b439d
BuildRequires: portaudio-devel
12b439d
BuildRequires: desktop-file-utils
12b439d
12b439d
12b439d
%description
12b439d
%{name} is a graphical utility for tuning musical instruments, with
12b439d
error and volume history and advanced features like waveform shape,
12b439d
harmonics ratio (formants), and micro-tonal tuning.
12b439d
e770765
12b439d
%prep
d59160d
%setup -q
e770765
e770765
# disable acs_qt capture system on linux
e770765
sed -i 's/^\(CONFIG += acs_qt\)/# \1/g' fmit.pro
e770765
12b439d
12b439d
%build
e770765
%{qmake_qt5} PREFIX=%{_prefix} CONFIG+="acs_alsa acs_jack acs_portaudio"
e770765
lrelease-qt5 %{name}.pro
e770765
%make_build
e770765
12b439d
12b439d
%install
e770765
%make_install INSTALL_ROOT=%{buildroot}
e770765
d59160d
# we use svg icon
d59160d
rm -rf %{buildroot}%{_datadir}/icons/hicolor/128x128
e770765
d59160d
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml
e770765
12b439d
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
e770765
a9870c2
mkdir -p %{buildroot}%{_datadir}/%{name}/tr/
d59160d
cp -a tr/*.qm %{buildroot}%{_datadir}/%{name}/tr/
d59160d
rm -f %{buildroot}%{_datadir}/%{name}/tr/*.ts
12b439d
%find_lang %{name} --with-qt --without-mo
12b439d
e770765
12b439d
%files -f %{name}.lang
d59160d
%license COPYING_GPL.txt COPYING_LGPL.txt
d59160d
%doc INSTALL.txt README.txt
12b439d
%dir %{_datadir}/%{name}
12b439d
%dir %{_datadir}/%{name}/tr
d59160d
%dir %{_datadir}/%{name}/scales
d59160d
%{_datadir}/%{name}/scales/*.scl
12b439d
%{_bindir}/%{name}
12b439d
%{_datadir}/applications/%{name}.desktop
Richard Hughes 26fb66e
%{_datadir}/appdata/%{name}.appdata.xml
e770765
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
e770765
%{_datadir}/icons/hicolor/symbolic/apps/%{name}-symbolic.svg
e770765
12b439d
12b439d
%changelog
eed86ab
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-2
eed86ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
eed86ab
1eedbaa
* Wed Nov 13 2019 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 1.2.13-1
1eedbaa
- Update to the latest available version.
1eedbaa
6280390
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-3
6280390
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6280390
fa2be00
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-2
fa2be00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fa2be00
e770765
* Thu Jan 03 2019 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 1.2.6-2
e770765
- Update to the latest available version.
e770765
- Switch to compile with qt5.
e770765
- Modernize .spec file.
e770765
81275b7
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-2
81275b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
81275b7
12a4b52
* Mon Mar 12 2018 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 1.1.13-1
12a4b52
- Update to the latest available version.
12a4b52
3f4fa82
* Sat Feb 24 2018 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 1.1.12-5
3f4fa82
- Add missing BR (gcc-c++)
3f4fa82
a30039d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-4
a30039d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a30039d
da5266e
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-3
da5266e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
da5266e
1b9e255
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-2
1b9e255
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1b9e255
fe5c58e
* Tue Jun 13 2017 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 1.1.12-1
fe5c58e
- Update to the latest available version.
fe5c58e
1763976
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-3
1763976
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
1763976
5b74d06
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.8-2
5b74d06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5b74d06
a9870c2
* Thu Aug 18 2016 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 1.1.8-5
a9870c2
- Update to the latest available version.
a9870c2
8d07e44
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-4
8d07e44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8d07e44
Rex Dieter ea7c01f
* Sat Jan 30 2016 Rex Dieter <rdieter@fedoraproject.org> 1.0.12-3
Rex Dieter ea7c01f
- use %%{qmake_qt4} macro to ensure proper build flags (#1303288)
Rex Dieter ea7c01f
d4ae687
* Mon Jan 25 2016 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 1.0.12-2
d4ae687
- Enable also ALSA, JACK and PortAudio backends.
d4ae687
d59160d
* Wed Nov 11 2015 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 1.0.12-1
d59160d
- Update to the latest available version, rhbz#1239505.
d59160d
79c7a3f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.5-4
79c7a3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
79c7a3f
d48bd4d
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.5-3
d48bd4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d48bd4d
dfb3ce7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.5-2
dfb3ce7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
dfb3ce7
Richard Hughes 224e2ee
* Fri May 30 2014 Richard Hughes <richard@hughsie.com> - 0.99.5-1
Richard Hughes 224e2ee
- Rebuilt for new upstream version 0.99.5
Richard Hughes 224e2ee
Richard Hughes 26fb66e
* Fri May 30 2014 Richard Hughes <richard@hughsie.com> - 0.99.4-1
Richard Hughes 26fb66e
- Rebuilt for new upstream version 0.99.4
Richard Hughes 26fb66e
baeb5b4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.2-6
baeb5b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
baeb5b4
c8f4c80
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.2-5
c8f4c80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c8f4c80
f733ff6
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.2-4
f733ff6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f733ff6
9aa9848
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.2-3
9aa9848
- Rebuilt for c++ ABI breakage
9aa9848
95ead7e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.2-2
95ead7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
95ead7e
12b439d
* Sat Jan 27 2011 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 0.99.2-1
12b439d
- update to the 0.99.2 version,
12b439d
- drop patches now upstream,
12b439d
- translation's files installation enabled.
12b439d
12b439d
* Mon Jan 17 2011 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 0.98.1-4
12b439d
- preserve the timestamp of the icon file.
12b439d
12b439d
* Wed Dec 30 2010 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 0.98.1-3
12b439d
- build process does not depend on the BUILD_SHARED_LIBS variable.
12b439d
12b439d
* Mon Dec 28 2010 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 0.98.1-2
12b439d
- build corrected.
12b439d
- translation's files installation disabled until fixed upstream.
12b439d
12b439d
* Mon Dec 28 2010 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 0.98.1-1
12b439d
- initial RPM release.