Пакет zynaddsubfx: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | Name: zynaddsubfx Version: 2.4.1 Release: alt2.1.qa1 Summary: %name is a open source software synthesizer License: GPLv2+ Group: Sound Url: http://zynaddsubfx.sourceforge.net/ Packager: Egor Glukhov <kaman@altlinux.org> Source: %name-%version-%release.tar BuildRequires: cmake gcc-c++ jackit-devel libGL-devel libXScrnSaver-devel libXau-devel libXcomposite-devel libXcursor-devel libXdmcp-devel libXext-devel libXft-devel libXinerama-devel libXpm-devel libXrandr-devel libXt-devel libXtst-devel libXv-devel libalsa-devel libfftw3-devel libfltk-devel libmxml-devel libxkbfile-devel zlib-devel BuildPreReq: libpixman-devel libcairo-devel %description %name is a open source software synthesizer capable of making a countless number of instruments, from some common heard from expensive hardware to interesting sounds that you'll boost to an amazing universe of sounds. %package alsa Summary: %name synthesizer with ALSA midi input Provides: %name = %version-%release Requires: %name-common = %version-%release Group: Sound %description alsa %name is a open source software synthesizer capable of making a countless number of instruments, from some common heard from expensive hardware to interesting sounds that you'll boost to an amazing universe of sounds. This package contains %name compiled with ALSA midi input and OSS output. %package jack Summary: %name synthesizer for using with JACK Provides: %name = %version-%release Requires: %name-common = %version-%release Group: Sound %description jack %name is a open source software synthesizer capable of making a countless number of instruments, from some common heard from expensive hardware to interesting sounds that you'll boost to an amazing universe of sounds. This package contains %name compiled for using with JACK. %package common Summary: Common files for %name BuildArch: noarch Group: Sound %description common %name is a open source software synthesizer capable of making a countless number of instruments, from some common heard from expensive hardware to interesting sounds that you'll boost to an amazing universe of sounds. This package contains common files for %name. %package programs Summary: External programs from %name distribution Group: Sound %description programs This package contains external programs, which can be used with %name or any other midi device. %prep %setup %build for snd in alsa jack do if [ "$snd" != "alsa" ] then sed -i -e "s/OutputModule .* CACHE/OutputModule $snd CACHE/" src/CMakeLists.txt fi mkdir build-$snd pushd build-$snd cmake ../ \ -DCMAKE_INSTALL_PREFIX=%_prefix \ -DCMAKE_CXX_FLAGS:STRING="%optflags" \ -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_SKIP_RPATH=YES %make_build VERBOSE=1 popd done # external programs for d in ExternalPrograms/{Controller,Spliter}; do pushd $d make popd done %install # executables install -pD build-alsa/src/%name %buildroot%_bindir/%name-alsa install -pD build-jack/src/%name %buildroot%_bindir/%name-jack # banks and examples mkdir -p %buildroot%_datadir/%name cp -r banks examples %buildroot%_datadir/%name # external programs install -pD ExternalPrograms/Controller/controller %buildroot%_bindir install -pD ExternalPrograms/Spliter/spliter %buildroot%_bindir # icon and desktop files mkdir -p %buildroot%_pixmapsdir install -pD %name.png %buildroot%_pixmapsdir mkdir -p %buildroot%_desktopdir install -pD %name-alsa.desktop %buildroot%_desktopdir install -pD %name-jack.desktop %buildroot%_desktopdir %files alsa %_bindir/%name-alsa %_desktopdir/%name-alsa.desktop %files jack %_bindir/%name-jack %_desktopdir/%name-jack.desktop %files common %doc AUTHORS.txt bugs.txt ChangeLog doc/ FAQ.txt HISTORY.txt README.txt %_datadir/%name %_pixmapsdir/%name.png %files programs %_bindir/controller %_bindir/spliter %changelog * Fri Apr 19 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 2.4.1-alt2.1.qa1 - NMU: rebuilt for updated dependencies. * Fri Apr 15 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.4.1-alt2.1 - Rebuilt with FLTK 1.3.0.r8575 * Mon Feb 28 2011 Egor Glukhov <kaman@altlinux.org> 2.4.1-alt2 - Fixed to build against fltk 1.3 * Sun Jul 18 2010 Egor Glukhov <kaman@altlinux.org> 2.4.1-alt1 - 2.4.1 from upstream tarball |