summaryrefslogtreecommitdiffstats
path: root/rosegarden.spec.in
blob: 76620157e97d9bd732f22e5639b07a3583d082b2 (plain)
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
%define name    rosegarden
%define version @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@
%define release @VERSION_SUFFIX@

Summary:        Midi, audio and notation editor
Name:           %name
Version:        %version
Release:        %release
URL:            http://www.rosegardenmusic.com/
Source0:        %name-@VERSION@.tar.bz2
License:        GPL
Group:          Sound
BuildRequires:  qt3-devel
BuildRequires:  kdemultimedia-devel
BuildRequires:  jackit-devel
BuildRequires:  ladspa-devel
BuildRequires:  dssi-devel
BuildRequires:  liblrdf-devel
BuildRequires:  libxml2-utils
BuildRequires:  libfftw3-devel

BuildRoot:      %{_tmppath}/%{name}-buildroot

%description
Rosegarden is an attractive, user-friendly MIDI and audio sequencer,
notation editor, and general-purpose music composition and editing
application for Unix and Linux

%prep
rm -rf $RPM_BUILD_ROOT
%setup -q -n %{name}-@VERSION@

%build
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
%make

%install
rm -rf $RPM_BUILD_ROOT
%make DESTDIR=$RPM_BUILD_ROOT install

#rm 0 byte fonts----why were they kept Lenny?
rm -rf  `find $RPM_BUILD_ROOT -name accordion*.xpm`
rm -rf  `find $RPM_BUILD_ROOT -name custodes*.xpm`

#menu
mkdir -p %{buildroot}%{_menudir}
kdedesktop2mdkmenu.pl %{name} "Multimedia/Sound" $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/rosegarden.desktop $RPM_BUILD_ROOT%{_menudir}/%{name}

%find_lang %name

%post
%update_menus

%postun
%clean_menus

%clean
rm -rf $RPM_BUILD_ROOT

%files -n %name -f %name.lang
%defattr(-,root,root)
%defattr(-, root,root)
%doc AUTHORS COPYING Doxyfile INSTALL README TRANSLATORS
%{_bindir}/*

%{_datadir}/applnk/Applications/kde/rosegarden.desktop
%{_datadir}/apps/%name
%{_datadir}/apps/profiles

%dir %_docdir/HTML/en/%name/
%doc %_docdir/HTML/en/%name/*

%dir %_docdir/HTML/ja/%name/
%doc %_docdir/HTML/ja/%name/*.bz2
%doc %_docdir/HTML/ja/%name/*.docbook

%dir %_docdir/HTML/sv/%name/
%doc %_docdir/HTML/sv/%name/*.bz2
%doc %_docdir/HTML/sv/%name/*.docbook
%doc %_docdir/HTML/sv/%name/*.png

%doc %_docdir/HTML/es/%name/*.bz2
%doc %_docdir/HTML/es/%name/*.docbook

%{_datadir}/mimelnk/audio/*

%_menudir/*

%{_iconsdir}/hicolor/*/apps/*
%{_iconsdir}/locolor/*/apps/*
%{_iconsdir}/hicolor/16x16/mimetypes/x-rosegarden.png
%{_iconsdir}/hicolor/32x32/mimetypes/x-rosegarden.png
%{_iconsdir}/locolor/16x16/mimetypes/x-rosegarden.png
%{_iconsdir}/locolor/32x32/mimetypes/x-rosegarden.png

%changelog
* Mon Dec 4 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.5.0
- Using CMake

* Mon Sep 25 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.4.0-1mdk
- 1.4.0

* Fri Jul 14 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.2.4-1mdk
- New release
- Include DSSI support
- Use the internal scons-mini to avoid broken SCons versions

* Sun Feb 19 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.2.3-1mdk
- 1.2.3
- drop patches 1,2,3,4 - don't apply + not needed
- scons...
- no shared libraries built, drop lib packages

* Wed Aug 24 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.0-5mdk
- harmless 64-bit fixes

* Sat Aug 20 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.0-4mdk
- patch3: fix build (for gcc 4.0?)

* Mon Jun 13 2005 Pascal Terjan <pterjan@mandriva.org> 1.0-3mdk
- fix build with gcc4 (patch2)

* Mon Mar 21 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.0-2mdk
- fix build on lib64 platforms

* Tue Feb 15 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 1.0-1mdk
- 1.0

* Mon Dec 20 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.91-1mdk
- 0.9.91

* Tue Oct 19 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.9.9-2mdk
- -Wmissing-prototypes is only valid for the C front-end

* Tue Aug 17 2004 Pascal Terjan <pterjan@mandrake.org> 0.9.9-1mdk
- 0.9.9
- update patch0

* Fri Jul 16 2004 Michael Scherer <misc@mandrake.org> 0.9.8-2mdk
- rebuild for new gcc ( patch 0 )

* Tue May 26 2004 Austin Acton <austin@mandrake.org> 0.9.8-1mdk
- 0.9.8

* Tue Apr 20 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.7-2mdk
- Fix menu

* Thu Apr 1 2004 Austin Acton <austin@mandrake.org> 0.9.7-1mdk
- 0.9.7

* Tue Feb 17 2004 Austin Acton <austin@mandrake.org> 0.9.6-4mdk
- rebuild for liblrdf2

* Wed Jan 14 2004 Charles A Edwards <eslrahc@mandrake.org> 0.9.6-3mdk
- put back correct changelog entry for Austin's 0.9.6-1mdk--don't
  know how I screwed that

* Wed Jan 14 2004 Charles A Edwards <eslrahc@mandrake.org> 0.9.6-2mdk
- use libtoolize /bin/true
- define iconname
- build with liblrdf
- buildrequire liblrdf0-devel and ImageMagick
- use source xpm to create icons
- fix rpath for _libdir  and _bindir
- use marcos configure2_5x and makeinstall_std
- rm 0 byte fonts
- add docand doc/howtos

* Mon Jan 12 2004 Austin Acton <austin@mandrake.org> 0.9.6-1mdk
- 0.9.6
- does not require "jack" or libname
- buildrequires jackit and ladspa libs
- mklibname
- lib64 fix buildrequires

* Thu Dec 04 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.5-1mdk
- 0.9.5

* Thu Jun 5 2003 Austin Acton <aacton@yorku.ca> 0.9.1-1mdk
- 0.9.1
- pretty-up spec
- tie bin and lib package versions

* Sun May 11 2003 Laurent Culioli <laurent@pschit.net> 0.9-1mdk
- 0.9
- frop patch0

* Tue May 06 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.8.5-2mdk
- buildrequires

* Fri Dec 20 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.8.5-1mdk
- add mandrake menu
- add libraries rpm
- keep zero length xpm icons...
- from ccrma package

* Wed Dec 18 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu> 0.8.5-1
- changed name to rosegarden, anaconda does not like the current name
  (anaconda should be fixed, name is legal)
- update to 0.8.5

* Sun Nov 10 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu> 0.8-2
- changed name of package to rosegarden-4 (what was I thinking?...)
- added patch to rename jack alsa ports for jack >= 0.40
- added explicit dependency to jack
- added redhat menu entry

* Fri Oct 18 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu>
- Initial build.