12b439d
Summary:       Free Music Instrument Tuner
12b439d
Name:          fmit
Richard Hughes 224e2ee
Version:       0.99.5
d48bd4d
Release:       3%{?dist}
12b439d
License:       GPLv2+
12b439d
Group:         Applications/Multimedia
12b439d
URL:           http://home.gna.org/fmit/index.html
12b439d
Source0:       http://download.gna.org/fmit/%{name}-%{version}-Source.tar.bz2
12b439d
12b439d
BuildRequires: cmake
12b439d
BuildRequires: qt4-devel
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
%global the_icon_file %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
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
12b439d
%prep
12b439d
%setup -q -n %{name}-%{version}-Source
12b439d
sed -i 's#\(.*\)Name=.*#\1Name=Music Instrument Tuner#g' %{name}.desktop
12b439d
sed -i 's#^Comment=.*#Comment=Tunes music instruments#g' %{name}.desktop
12b439d
# Otherwise an icon is not visible in the menu (at least in GNOME).
12b439d
sed -i 's#^Icon=.*#Icon=%{the_icon_file}#g' %{name}.desktop
12b439d
12b439d
%build
12b439d
%cmake -DSOUNDSYSTEM_USE_PORTAUDIO=ON
12b439d
make %{?_smp_mflags}
12b439d
12b439d
%install
12b439d
make DESTDIR=%{buildroot} install
12b439d
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
12b439d
%find_lang %{name} --with-qt --without-mo
12b439d
12b439d
%files -f %{name}.lang
12b439d
%defattr(-,root,root,-)
12b439d
%doc COPYING ChangeLog TODO README.txt
12b439d
%dir %{_datadir}/%{name}
12b439d
%dir %{_datadir}/%{name}/tr
12b439d
%{_bindir}/%{name}
12b439d
%{_datadir}/applications/%{name}.desktop
Richard Hughes 26fb66e
%{_datadir}/appdata/%{name}.appdata.xml
12b439d
%{the_icon_file}
12b439d
12b439d
%changelog
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.