fmit/fmit.spec

91 lines
2.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: fmit
Version: 0.99.2
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
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
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.
%prep
%setup -q -n fmit-%{version}-Source
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
%build
%cmake
%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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%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
%{_datadir}/applications/fmit.desktop
%{_datadir}/pixmaps/fmit.png
%{_datadir}/icons/hicolor/scalable/apps/fmit.svg
#%{_datadir}/fmit/tr/fmit_fr.qm
%doc README.txt COPYING ChangeLog TODO
%changelog
* 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