Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
217 lines (182 sloc) 5.83 KB
# Configuration variables
%define name lmms
%define version 0.3.0
%define rel 1
%define release %{rel}%{?disttag}%{?repotag}
# Define what you can/want to build:
%define with_sdl 0%{nil}
%define with_jack 1%{nil}
%define with_vorbis 1%{nil}
%define with_flac 1%{nil}
%define with_sr 1%{nil}
%define with_sf 1%{nil}
# Build by setting these defines on the command line, for example:
# rpmbuild --define 'disttag .EL' --define 'repotag .fc6'
%{!?desktop_vendor: %{expand: %%define desktop_vendor rpmfarm}}
# This can be changed at build time:
# rpmbuild --define 'desktop_vendor RPMfarm'
Name: %{name}
Version: %{version}
Release: %{release}
Summary: powerful sequencer-, synthesizer- and sample-studio for Linux
Summary(de): Leistungsfaehiges Sequenzer-, Synthesizer- und Sample-Studio fuer Linux
License: GPL
Group: Applications/Multimedia
Provides: lmms = %{version}-%{release}
BuildRequires: gcc gcc-c++ libstdc++-devel autoconf automake libtool make
BuildRequires: alsa-lib-devel
BuildRequires: qt-devel > 3.0
# ------------- BuildRequires:
%if %{with_vorbis}
BuildRequires: libvorbis libvorbis-devel
%if %{with_sdl}
BuildRequires: SDL SDL-devel SDL_sound
%if %{with_sr}
BuildRequires: libsamplerate libsamplerate-devel
%if %{with_sf}
BuildRequires: libsndfile libsndfile-devel
%if %{with_jack}
BuildRequires: jack-audio-connection-kit-devel
%if %{with_flac}
BuildRequires: flac-devel
# ------------- Requires:
Requires: qt >= 3.0 alsa-lib
%if %{with_sr}
Requires: libsamplerate
%if %{with_sf}
Requires: libsndfile
%if %{with_jack}
Requires: jack-audio-connection-kit
%if %{with_vorbis}
Requires: libvorbis
%if %{with_flac}
Requires: flac
%if %{with_sdl}
Requires: SDL_sound
Requires: lmms-data
Source: %{name}-%{version}.tar.bz2
Patch1: %{name}-%{version}-patch
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Prefix: %{_prefix}
LMMS aims to be a free alternative to popular (but commercial and closed-
source) programs like FruityLoops, Cubase and Logic giving you the ability of
producing music with your computer by creating/synthesizing sounds, arranging
samples, playing live with keyboard and much more...
LMMS combines the features of a tracker-/sequencer-program (pattern-/channel-/
sample-/song-/effect-management) and those of powerful synthesizers and
samplers in a modern, user-friendly and easy to use graphical user-interface.
LMMS is still in heavy development, so with this version please don't expect a
complete, ready and bugfree program!!
%description -l de
LMMS ist eine freie Alternative zu bekannten (aber kommerziellen und
Closed-Source-) Programmen wie FruityLoops, Cubase und Logic, die Ihnen die
Moeglichkeit geben, mit Ihrem Computer Musik zu produzieren, indem Sie
Klaenge kreieren/synthetisieren, Samples anordnen, mit dem Keyboard live
spielen usw....
LMMS kombiniert die Funktionen eines Tracker-/Sequenzer-Programms (Pattern-/
Kanal-/Sample-/Song-/Effekt-Management) und die von leistungsfaehigen
Synthesizern und Samplern in einer modernen, benutzerfreundlichen und einfach zu
benutzenden grafischen Oberflaeche.
Derzeit befindet sich LMMS komplett in Entwicklung. Also erwarten Sie bitte mit
dieser Version nicht ein vollstaendiges, fertiges und fehlerfreies Programm!!
%package data
Summary: samples, presets, demo-projects and localization-files for LMMS
Summary(de): Samples, Presets, Demo-Projekte und Lokalisierungsdateien fuer LMMS
Group: Applications/Multimedia
Provides: lmms-data = %{version}-%{release}
%description data
This package contains platform-independent data and resources for Linux
MultiMedia Studio (LMMS), e.g. samples, presets and demo-projects.
%description data -l de
Dieses Paket beinhaltet plattform-unabhaengige Daten und Resourcen fuer Linux
MultiMedia Studio (LMMS), wie z.B. Samples, Presets und Demo-Projekte.
%setup -n %{name}-%{version}
%patch1 -p1 -b .EL
%configure \
%if !%{with_jack}
--without-jack \
%if !%{with_sdl}
--without-sdl \
--without-sdlsound \
%if !%{with_vorbis}
--without-vorbis \
%if !%{with_flac}
--without-flac \
%if !%{with_sr}
--without-libsrc \
%if !%{with_sf}
--without-libsf \
%{__make} %{?_smp_mflags}
# Create a desktop menu entry
%{__cat} > %{name}.desktop << EOF
[Desktop Entry]
Name=Linux MultiMedia Studio
Comment=Powerful sequencer-, synthesizer- and sample-studio for Linux
%{__rm} -rf %{buildroot}
# Install menu entry
%{__mkdir_p} %{buildroot}%{_datadir}/applications
desktop-file-install \
--vendor %{desktop_vendor} \
--dir %{buildroot}%{_datadir}/applications \
%{name}.desktop || :
%{__rm} -rf %{buildroot}
%defattr(-, root, root, 0755)
%dir %{_libdir}/lmms
%files data
%dir %{_datadir}/lmms
* Fri Apr 13 2007 Eric Lassauge <> - 0.2.1-1
- build for FC6
- added dependencies and build configuration
- added .desktop file
* Tue Sep 20 2005 Tobias Doerffel
- added JACK-dependencies
* Fri Jul 22 2005 Tobias Doerffel
- added more dependencies for builds under SuSE
* Sat Jun 25 2005 Tobias Doerffel
- splitted package into lmms and lmms-data
- additional requirements
- updated project-homepage and email-address of packager
* Thu May 12 2005 Tobias Doerffel
- created
Something went wrong with that request. Please try again.