~ubuntu-branches/ubuntu/quantal/muse/quantal

« back to all changes in this revision

Viewing changes to packaging/muse_mdk.spec

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-08-12 11:16:41 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: package-import@ubuntu.com-20110812111641-sg7bj019yhh91mpl
Tags: upstream-2.0~beta2
ImportĀ upstreamĀ versionĀ 2.0~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%define name                            muse
 
2
%define museversion                     0.7.0pre3
 
3
%define release                         1thac
 
4
%define alsa_version                    0.9.8
 
5
%define jackit_version                  0.93.11
 
6
%define libjack0_version                0.93.11
 
7
%define libsndfile1_version             1.0.5
 
8
%define ladspa_version                  1.12
 
9
%define glib2_0_version                 2.2.3
 
10
%define qtversion                       3.2
 
11
%define dssslver                        1.78
 
12
%define musever                         0.7.0pre3
 
13
%define musedir                         0.7.0pre3
 
14
%define capver                          1.0
 
15
%define fluidsynth_version              1.0.3
 
16
%define graphviz_version                1.9.0
 
17
%define jade_version                    1.3.1
 
18
%define doxy_version                    1.2.17
 
19
%define ladccaver                       0.4.0
 
20
 
 
21
%define major   0
 
22
%define libname %mklibname %name %major
 
23
 
 
24
 
 
25
Name:                           %{name}
 
26
Summary:                        MusE is a MIDI/Audio sequencer with recording and editing capabilities.
 
27
Version:                        %{museversion}
 
28
Release:                        %{release}
 
29
URL:                            http://muse.sourceforge.net/
 
30
Source0:                        %{name}-%{musever}.tar.bz2
 
31
Source1:                        %{name}-ardour-tutorial.tar.bz2
 
32
Group:                          Sound
 
33
BuildRoot:                      %{_tmppath}/%{name}-buildroot
 
34
License:                        GPL
 
35
Requires:                       libqt3 >= %{qtversion}
 
36
Requires:                       libsndfile1 >= %{libsndfile1_version}
 
37
Requires:                       libalsa2 >= %{alsa_version}
 
38
Requires:                       jackit >= %{jackit_version}
 
39
Requires:                       libjack0 >= %{libjack0_version}
 
40
BuildRequires:                  graphviz >= %{graphviz_version}
 
41
BuildRequires:                  libgraphviz7 >= %{graphviz_version}
 
42
BuildRequires:                  openjade >= %{jade_version}
 
43
BuildRequires:                  doxygen >= %{doxy_version}
 
44
BuildRequires:          libfluidsynth1 >= %{fluidsynth_version}
 
45
BuildRequires:          libfluidsynth1-devel >= %{fluidsynth_version}
 
46
BuildRequires:          fluidsynth >= %{fluidsynth_version}
 
47
BuildRequires:          libalsa2-devel >= %{alsa_version}
 
48
BuildRequires:                  docbook-style-dsssl >= %{dssslver}
 
49
BuildRequires:                  libjack0-devel >= %{libjack0_version}
 
50
BuildRequires:                  libsndfile1-devel >= %{libsndfile1_version}
 
51
BuildRequires:                  libgraphviz7-devel >= %{graphviz_version}
 
52
BuildRequires:                  libcap1-devel >= %{capver}
 
53
BuildRequires:                  ladcca >= %{ladccaver}
 
54
BuildRequires:                  docbook-dtd41-sgml
 
55
BuildRequires:                  libext2fs2-devel
 
56
 
 
57
%description
 
58
MusE is a MIDI/Audio sequencer with recording and editing capabilities.
 
59
Some Highlights:
 
60
 
 
61
    * standard midifile (smf) import-/export
 
62
    * organizes songs in tracks and parts which you can arrange
 
63
      with the part editor
 
64
    * midi editors: pianoroll, drum, list, controller
 
65
    * score editor with high quality postscript printer output
 
66
    * realtime: editing while playing
 
67
    * unlimited number of open editors
 
68
    * unlimited undo/redo
 
69
    * realtime and step-recording
 
70
    * multiple midi devices
 
71
    * unlimited number of tracks
 
72
    * audio playback/recording 
 
73
    * Sync to external devices: MTC/MMC, Midi Clock,
 
74
      Master/Slave (currently only partial implemented)
 
75
    * LADSPA host
 
76
    * ALSA and JACK audio driver
 
77
    * uses raw midi devices (ALSA, OSS & serial ports)
 
78
    * XML project file
 
79
    * project file contains complete app state (session data)
 
80
    * Application spanning Cut/Paste Drag/Drop
 
81
    * uses C++, QT2 GUI Library, STL
 
82
    * GPL Licenced 
 
83
 
 
84
%package -n %libname
 
85
Summary:        Main libraries for %name.
 
86
Group:          System/Libraries
 
87
 
 
88
%description -n %{libname}
 
89
This package contains the dynamic library of plugins from %name.
 
90
 
 
91
%package -n %{libname}-static
 
92
Summary:        Static libraries for %name plugins.
 
93
Group:          System/Libraries
 
94
 
 
95
%description -n %{libname}-static
 
96
This package contains the dynamic library of plugins from %name.
 
97
 
 
98
 
 
99
Group:          Development/C++
 
100
%package -n givertcap
 
101
Summary:      Give applications real-time capabilities
 
102
Version:      %{capver}
 
103
Group:        Sound
 
104
URL:          http://www.tml.hut.fi/~tilmonen/givertcap/
 
105
 
 
106
%description -n givertcap
 
107
Givertcap is a small Linux application that is used to give other
 
108
application real-time capabilities. With the aid of givertcap you can
 
109
run real-time applications (audio and video -processing apps for
 
110
example) with high priority without running the application as root.
 
111
 
 
112
%prep
 
113
rm -rf $RPM_BUILD_ROOT
 
114
 
 
115
%setup -n %{name}-%{musever} -a 1
 
116
#perl -p -i -e 's|version="3.2.3"|version="3.1"||g' widgets/*.ui
 
117
 
 
118
 
 
119
%build
 
120
 
 
121
export QTDIR=/usr/lib/qt3
 
122
export KDEDIR=%_prefix
 
123
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
 
124
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
 
125
 
 
126
%configure2_5x --prefix=%{_prefix} --datadir=%{_datadir} --libdir=%{_libdir} --with-jack \
 
127
    --disable-suid-install --disable-suid-build --enable-patchbay --disable-rtcap \
 
128
    --with-docbook-stylesheets=/usr/share/sgml/docbook/dsssl-stylesheets-%{dssslver} \
 
129
    --enable-arch=i586 --enable-laddca
 
130
#    --disable-static --enable-shared --disable-qttest 
 
131
 
 
132
%make
 
133
 
 
134
%install
 
135
rm -rf $RPM_BUILD_ROOT
 
136
 
 
137
%makeinstall
 
138
 
 
139
mkdir -p $RPM_BUILD_ROOT%_menudir
 
140
 
 
141
# (mandrake) menu support
 
142
cat << EOF > %{buildroot}%{_menudir}/%{name}
 
143
?package(%{name}): longtitle="MusE audio editor" \
 
144
command="/usr/bin/muse" title="MusE audio editor"  needs="x11" \
 
145
section="Multimedia/Sound" \
 
146
icon="sound_section.png"
 
147
EOF
 
148
 
 
149
 
 
150
%post
 
151
%update_menus
 
152
/sbin/ldconfig
 
153
 
 
154
%postun
 
155
%clean_menus
 
156
 /sbin/ldconfig
 
157
 
 
158
%post -n %{libname} -p /sbin/ldconfig
 
159
 
 
160
%postun -n %{libname} -p /sbin/ldconfig
 
161
 
 
162
%clean
 
163
rm -rf $RPM_BUILD_ROOT
 
164
 
 
165
%files
 
166
%defattr(-,root,root,0755)
 
167
%doc AUTHORS COPYING INSTALL ChangeLog NEWS README* SECURITY
 
168
%doc html
 
169
%{_bindir}/muse
 
170
%{_bindir}/grepmidi
 
171
%{_libdir}/%name
 
172
%{_datadir}/%name
 
173
%{_menudir}/*
 
174
 
 
175
%files -n %{libname}
 
176
%defattr(-,root,root)
 
177
%{_libdir}/%name/plugins/*.so*
 
178
%{_libdir}/%name/synthi/*.so*
 
179
 
 
180
%files -n %{libname}-static
 
181
%defattr(-,root,root)
 
182
%{_libdir}/%name/plugins/*.la
 
183
%{_libdir}/%name/plugins/*.a
 
184
%{_libdir}/%name/synthi/*.a
 
185
%{_libdir}/%name/synthi/*.la
 
186
 
 
187
#%files -n givertcap
 
188
#%attr(4755, root, root)
 
189
#%{_bindir}/givertcap
 
190
 
 
191
 
 
192
 
 
193
%changelog
 
194
* Thu May 27 2004 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.7.0pre3-1thac
 
195
- Updated to latest version
 
196
 
 
197
* Wed May 05 2004 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.7.0pre2-1thac
 
198
- Updated to latest version
 
199
 
 
200
* Tue Apr 20 2004 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.7.0pre1-1thac
 
201
- Updated to latest version
 
202
 
 
203
* Tue Apr 20 2004 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.3-2thac
 
204
- Rebuilt against Mandrake 10.0 official
 
205
 
 
206
* Mon Jan 12 2004 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.3-1thac
 
207
- Updated to latest version
 
208
 
 
209
* Mon Nov 17 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.2-2thac
 
210
- Rebuilt for jackit-0.9.0
 
211
 
 
212
* Fri Nov 07 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.2-1thac
 
213
- Rebuilt for Mandrake 9.2
 
214
 
 
215
* Thu Oct 30 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.1-1thac
 
216
- Rebuilt for Mandrake 9.2
 
217
 
 
218
* Tue Sep 09 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.1-1thac
 
219
- Added muse-softsynth-fix
 
220
  on muse 0.6.1, it results in a dead lock when muse starts a softsynth
 
221
  without RT.  the patch is an adhoc fix for this problem.
 
222
- Added jackit 0.80.0 type patch
 
223
- Changed naming to differ from Mandrake cooker
 
224
 
 
225
* Fri Jul 25 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.1-1mdk
 
226
- Updated to 0.6.1 final built against fluidsynth-1.0.2
 
227
- Built with qt-3.1.2 patch
 
228
 
 
229
* Sat May 17 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0-1mdk
 
230
- Updated to 0.6.0 final built against fluidsynth-1.0.1
 
231
 
 
232
* Sat May 03 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0pre8.3mdk
 
233
- Rebuilt with rpmmacro patch that removes nvidia dependency.
 
234
 
 
235
* Tue Apr 22 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0pre8.2mdk
 
236
- Rebuilt against latest version of jackit 0.67.2
 
237
 
 
238
* Fri Apr 04 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0pre8.1mdk
 
239
- Updated to latest version
 
240
 
 
241
* Wed Mar 26 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0pre7.2mdk
 
242
- Rebuilt for Mandrake 9.1
 
243
 
 
244
* Sun Mar 23 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0pre7.2mdk
 
245
- Updated to latest version
 
246
- Compiled against jackit-0.62.0 and iiwusynth-0.2.5
 
247
 
 
248
* Sun Feb 16 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0pre5.4mdk
 
249
- Recompiled against jackit-0.51.0.
 
250
 
 
251
* Fri Feb 14 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0pre5.3mdk
 
252
- Recompiled against libsndfile-1.0.4.
 
253
 
 
254
* Sat Feb 08 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0pre5.2mdk
 
255
- Recompiled against jack-0.44,graphviz and i586 optimized.
 
256
 
 
257
* Wed Dec 11 2002 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0pre5.1mdk
 
258
- Removed jack dependency again
 
259
 
 
260
* Mon Dec 09 2002 Torbjorn Turpeinen <tobbe@nyvalls.se> 0.6.0pre5mdk
 
261
- Rebuilt for Mandrake 9.0
 
262
 
 
263
* Fri Nov 15 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.6.0-0.pre3.2mdk
 
264
- remove jack dependency
 
265
 
 
266
* Wed Nov 13 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.6.0-0.pre3.1mdk
 
267
- 0.6.0pre3
 
268
- clean filelist
 
269
- disable-suid-build for now
 
270
- from James Gregory <james@james.id.au> :
 
271
        - fixed file locations to use macros rather than absolute paths
 
272
 
 
273
* Thu Oct  3 2002 James Gregory <james@james.id.au>  0.6.0-0.pre2.2mdk
 
274
- First version to build.