fmit/fmit.spec

94 lines
2.6 KiB
RPMSpec
Raw Normal View History

Name: fmit
Version: 1.2.14
Release: 1mamba
Summary: Free Music Instrument Tuner
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/gillesdegottex/fmit
Source: https://github.com/gillesdegottex/fmit.git/v%{version}/fmit-%{version}.tar.bz2
Source1: fmit-desktop
Source2: fmit-icon.png
Patch0: %{name}-0.97.7-jack_autoconnect.patch
Patch1: %{name}-0.97.7-input_40db.patch
Patch2: %{name}-0.98.1-jackd2.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libGLUT-devel
BuildRequires: libICE-devel
BuildRequires: libjack-devel
BuildRequires: libportaudio-devel
BuildRequires: libqt-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libXmu-devel
BuildRequires: libXt-devel
## AUTOBUILDREQ-END
%description
A Free Music Instrument Tuner.
#% debug_package
%prep
%setup -q
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
%build
%{_qt5_qmake} PREFIX=%{_prefix}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/fmit
%dir %{_datadir}/fmit
%dir %{_datadir}/fmit/scales
%{_datadir}/fmit/scales/*
%{_datadir}/appdata/fmit.appdata.xml
%{_datadir}/applications/fmit.desktop
%{_datadir}/icons/hicolor/128x128/apps/fmit.png
%{_datadir}/icons/hicolor/symbolic/apps/fmit-symbolic.svg
%{_datadir}/icons/hicolor/scalable/apps/fmit.svg
#%lang(de) %{_datadir}/fmit/tr/fmit_de.qm
#%lang(fr) %{_datadir}/fmit/tr/fmit_fr.qm
#%lang(pt) %{_datadir}/fmit/tr/fmit_pt.qm
%doc COPYING_GPL.txt COPYING_LGPL.txt
%changelog
* Sat Mar 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.14-1mamba
- update to 1.2.14
* Wed Jun 04 2014 Automatic Build System <autodist@mambasoft.it> 0.99.5-1mamba
- automatic update by autodist
* Sun Mar 06 2011 Automatic Build System <autodist@mambasoft.it> 0.99.2-1mamba
- automatic update by autodist
* Wed Dec 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.98.1-1mamba
- update to 0.98.1
* Mon Feb 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.97.7-1mamba
- update to 0.97.7
* Fri Oct 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.97.6-1mamba
- package created by autospec