update to 1.2.14 [release 1.2.14-1mamba;Sat Mar 27 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 22:28:37 +01:00
parent 0bc68671c5
commit 5d024cf33e
2 changed files with 20 additions and 22 deletions

View File

@ -1,4 +1,3 @@
# fmit
A Free Music Instrument Tuner.

View File

@ -1,20 +1,19 @@
Name: fmit
Version: 0.99.5
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: http://home.gna.org/fmit
Source: http://download.gna.org/fmit/fmit-%{version}-Source.tar.bz2
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
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
@ -39,25 +38,21 @@ BuildRequires: libXt-devel
%description
A Free Music Instrument Tuner.
#% debug_package
%prep
%setup -q -n fmit-%{version}-Source
%setup -q
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
%build
%cmake
%{_qt5_qmake} PREFIX=%{_prefix}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m 0664 %{SOURCE1} %{buildroot}%{_datadir}/applications/fmit.desktop
install -D -m 0664 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/fmit.png
#install -D -m 0755 libs/CppAddons/libCppAddons.so %{buildroot}%{_libdir}/libCppAddons.so
#install -D -m 0755 libs/Music/libMusic.so %{buildroot}%{_libdir}/libMusic.so
#install -D -m 0755 src/modules/libfmit_modules.so %{buildroot}%{_libdir}/libfmit_modules.so
rm -rf %{buildroot}%{_datadir}/mimelnk
%makeinstall INSTALL_ROOT=%{buildroot}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -65,19 +60,23 @@ rm -rf %{buildroot}%{_datadir}/mimelnk
%files
%defattr(-,root,root)
%{_bindir}/fmit
#%{_libdir}/libCppAddons.so
#%{_libdir}/libMusic.so
#%{_libdir}/libfmit_modules.so
%lang(de) %{_datadir}/fmit/tr/fmit_de.qm
%lang(fr) %{_datadir}/fmit/tr/fmit_fr.qm
%dir %{_datadir}/fmit
%dir %{_datadir}/fmit/scales
%{_datadir}/fmit/scales/*
%{_datadir}/appdata/fmit.appdata.xml
%{_datadir}/applications/fmit.desktop
%{_datadir}/pixmaps/fmit.png
%{_datadir}/icons/hicolor/128x128/apps/fmit.png
%{_datadir}/icons/hicolor/symbolic/apps/fmit-symbolic.svg
%{_datadir}/icons/hicolor/scalable/apps/fmit.svg
%{_datadir}/fmit/tr/fmit_pt.qm
%doc README.txt COPYING ChangeLog TODO
#%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