Репозитории ALT
Последнее обновление в Пт, 07 мая 2021, 22:43:17 +0000 | Пакетов: 9785
en ru
Исходные пакеты в ветвях
свернуть окно
  • 1.0.95-alt2.git20140910.1
  • 1.0.95-alt2.git20140910.1
  • 1.2.0-alt1.rc2.0.M80P.1
Группа :: Звук
Исходный пакет: lmms
Необработанный spec-файл

Name: lmms
Version: 0.4.5
Release: alt1

Summary: Linux MultiMedia Studio
License: GPL
Group: Sound
Url: http://lmms.sourceforge.net

Packager: Slava Dubrovskiy <dubrsl at altlinux.ru>
Source: %name-%version.tar.bz2
Source4: %name-16x16.png
Source5: %name-32x32.png
Source6: %name-48x48.png

BuildPreReq: rpm-build-lmms

BuildRequires: cmake gcc-c++ libSDL-devel libalsa-devel libpulseaudio-devel libqt4-devel libstk-devel libvorbis-devel
BuildRequires: esound-devel fontconfig freetype2 libfftw3-devel libfluidsynth-devel jackit-devel libICE-devel libSDL_sound-devel libX11-devel libogg-devel libsamplerate-devel libsndfile-devel libstdc++-devel xorg-cf-files xorg-x11-proto-devel
##BuildRequires: libncurses-devel

BuildRequires: libfestival-devel libestools-devel shared-mime-info
#TODO: Find or build -lFestival


#Requires: ladspa-caps ladspa-mcp-plugins ladspa-tap-plugins ladspa-swh-plugins ladspa-rev-plugins ladspa-vco-plugins


%description
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, using effects, playing live with keyboard and much more...

%package devel
Summary: Development package for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
Development files and headers for %name

%prep
%setup -q

##find ./plugins -type f -print0 | xargs -r0 %__subst "s|(LDFLAGS)|(LDFLAGS) \$(QT_LDADD) -lpthread |g"

##find ./plugins -type f -print0 | xargs -r0 %__subst "s|(LIBS)|(LIBS) \$(QT_LDADD) -lpthread |g"

# (tpg) fix ladspa plugins path

%__subst "s|/usr/lib|%{_libdir}|g" src/core/ladspa_manager.cpp

%build
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DWANT_CAPS:BOOL=OFF -DWANT_CMT:BOOL=OFF -DWANT_SWH:BOOL=OFF -DWANT_TAP:BOOL=OFF
%make

%install
%__make DESTDIR=%buildroot install

%find_lang %name

%__mkdir_p %buildroot%_pixmapsdir
%__install -p -m 644 data/themes/default/icon.png %buildroot%_pixmapsdir/%name.png
#icons

%__mkdir_p %buildroot%_miconsdir
%__mkdir_p %buildroot%_liconsdir
%__mkdir_p %buildroot%_niconsdir
%__install -p -m 644 %SOURCE4 %buildroot%_miconsdir/%name.png
%__install -p -m 644 %SOURCE5 %buildroot%_niconsdir/%name.png
%__install -p -m 644 %SOURCE6 %buildroot%_liconsdir/%name.png


# menu

%__mkdir_p %buildroot%_desktopdir
%__cat << EOF > %buildroot%_desktopdir/%name.desktop
[Desktop Entry]
Name=LMMS
GenericName=Linux MultiMedia Studio
Comment=Linux MultiMedia Studio
TryExec=lmms
Exec=lmms
Icon=lmms
Terminal=false
StartupNotify=true
Type=Application
Categories=AudioVideo;Midi;Sequencer;Recorder;
EOF

%files -f %name.lang
%doc AUTHORS ChangeLog README TODO
%_bindir/*
%_libdir/%name/
%_datadir/%name/
%_man1dir/*
%_pixmapsdir/*
%_miconsdir/*
%_liconsdir/*
%_niconsdir/*
%_desktopdir/*
%_datadir/mime/packages/*

%files devel
%_includedir/%name

%changelog
* Wed Aug 26 2009 Slava Dubrovskiy <dubrsl at altlinux.ru> 0.4.5-alt1
- 0.4.5
- Switch off system ladspa
- Remove all patches

* Mon Mar 09 2009 Slava Dubrovskiy <dubrsl at altlinux.org> 0.4.3-alt1
- 0.4.3
- Add Patch1: lmms-0.4.2-literal.patch from lmms-0.4.3-1mdv2009.1
- Add subpackage %name-devel
- Switch to system ladspa
- Add Requires: ladspa-caps ladspa-mcp-plugins ladspa-tap-plugins ladspa-swh-plugins ladspa-rev-plugins ladspa-vco-plugins

* Wed Dec 17 2008 Slava Dubrovskiy <dubrsl at altlinux.org> 0.4.0-alt2
- Fix build in x86_64.

* Mon Dec 15 2008 Slava Dubrovskiy <dubrsl at altlinux.org> 0.4.0-alt1
- 0.4.0
- Fix repocop tests: iconsdir, shared-mime-info, update_menus, freedesktop-categories et ctr.
- Update spec

* Thu Sep 11 2008 Slava Dubrovskiy <dubrsl at altlinux.org> 0.3.2-alt2
- Fix for repocop solution
- Update BuildRequires

* Wed Jun 25 2008 Slava Dubrovskiy <dubrsl at altlinux.org> 0.3.2-alt1
- 0.3.2

* Tue Dec 11 2007 Slava Dubrovskiy <dubrsl at altlinux.org> 0.3.1-alt3
- Fix build in x86_64.
- Remove BuildPreReq: libwine-devel
- Add BuildPreReq: rpm-build-lmms

* Fri Dec 07 2007 Slava Dubrovskiy <dubrsl at altlinux.org> 0.3.1-alt2
- Fix build in x86_64.
- Remove BuildPreReq: libwine-devel for x86_64

* Mon Nov 19 2007 Slava Dubrovskiy <dubrsl at altlinux.org> 0.3.1-alt1
- 0.3.1
- update spec

* Tue Sep 11 2007 Slava Dubrovskiy <dubrsl at altlinux.org> 0.3.0-alt1
- 0.3.0
- update spec

* Mon Jun 11 2007 Slava Dubrovskiy <dubrsl at altlinux.org> 0.2.1-alt1
- 0.2.1
- update spec

* Fri Jul 21 2006 Slava Dubrovskiy <dubrsl at altlinux.ru> 0.2.0-alt0
- 0.2.0
- Removed ALT menu file

* Thu Mar 23 2006 Slava Dubrovskiy <dubrsl at altlinux.ru> 0.1.4-alt2
- Removed BuildRequires: libqt4-core

* Tue Mar 21 2006 Slava Dubrovskiy <dubrsl at altlinux.ru> 0.1.4-alt1
- Removed BuildPreReq: wine

* Fri Feb 17 2006 Slava Dubrovskiy <dubrsl at altlinux.ru> 0.1.4-alt0
- initial build
 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT