Rosegarden – music editor and MIDI/audio sequencer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

210 lines
5.8KB

  1. %define name rosegarden
  2. %define version @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@
  3. %define release @VERSION_SUFFIX@
  4. Summary: Midi, audio and notation editor
  5. Name: %name
  6. Version: %version
  7. Release: %release
  8. URL: http://www.rosegardenmusic.com/
  9. Source0: %name-@VERSION@.tar.bz2
  10. License: GPL
  11. Group: Sound
  12. BuildRequires: qt3-devel
  13. BuildRequires: tdemultimedia-devel
  14. BuildRequires: jackit-devel
  15. BuildRequires: ladspa-devel
  16. BuildRequires: dssi-devel
  17. BuildRequires: liblrdf-devel
  18. BuildRequires: libxml2-utils
  19. BuildRequires: libfftw3-devel
  20. BuildRoot: %{_tmppath}/%{name}-buildroot
  21. %description
  22. Rosegarden is an attractive, user-friendly MIDI and audio sequencer,
  23. notation editor, and general-purpose music composition and editing
  24. application for Unix and Linux
  25. %prep
  26. rm -rf $RPM_BUILD_ROOT
  27. %setup -q -n %{name}-@VERSION@
  28. %build
  29. cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
  30. %make
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. %make DESTDIR=$RPM_BUILD_ROOT install
  34. #rm 0 byte fonts----why were they kept Lenny?
  35. rm -rf `find $RPM_BUILD_ROOT -name accordion*.xpm`
  36. rm -rf `find $RPM_BUILD_ROOT -name custodes*.xpm`
  37. #menu
  38. mkdir -p %{buildroot}%{_menudir}
  39. kdedesktop2mdkmenu.pl %{name} "Multimedia/Sound" $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/rosegarden.desktop $RPM_BUILD_ROOT%{_menudir}/%{name}
  40. %find_lang %name
  41. %post
  42. %update_menus
  43. %postun
  44. %clean_menus
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %files -n %name -f %name.lang
  48. %defattr(-,root,root)
  49. %defattr(-, root,root)
  50. %doc AUTHORS COPYING Doxyfile INSTALL README TRANSLATORS
  51. %{_bindir}/*
  52. %{_datadir}/applnk/Applications/kde/rosegarden.desktop
  53. %{_datadir}/apps/%name
  54. %{_datadir}/apps/profiles
  55. %dir %_docdir/HTML/en/%name/
  56. %doc %_docdir/HTML/en/%name/*
  57. %dir %_docdir/HTML/ja/%name/
  58. %doc %_docdir/HTML/ja/%name/*.bz2
  59. %doc %_docdir/HTML/ja/%name/*.docbook
  60. %dir %_docdir/HTML/sv/%name/
  61. %doc %_docdir/HTML/sv/%name/*.bz2
  62. %doc %_docdir/HTML/sv/%name/*.docbook
  63. %doc %_docdir/HTML/sv/%name/*.png
  64. %doc %_docdir/HTML/es/%name/*.bz2
  65. %doc %_docdir/HTML/es/%name/*.docbook
  66. %{_datadir}/mimelnk/audio/*
  67. %_menudir/*
  68. %{_iconsdir}/hicolor/*/apps/*
  69. %{_iconsdir}/locolor/*/apps/*
  70. %{_iconsdir}/hicolor/16x16/mimetypes/x-rosegarden.png
  71. %{_iconsdir}/hicolor/32x32/mimetypes/x-rosegarden.png
  72. %{_iconsdir}/locolor/16x16/mimetypes/x-rosegarden.png
  73. %{_iconsdir}/locolor/32x32/mimetypes/x-rosegarden.png
  74. %changelog
  75. * Mon Dec 4 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.5.0
  76. - Using CMake
  77. * Mon Sep 25 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.4.0-1mdk
  78. - 1.4.0
  79. * Fri Jul 14 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.2.4-1mdk
  80. - New release
  81. - Include DSSI support
  82. - Use the internal scons-mini to avoid broken SCons versions
  83. * Sun Feb 19 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.2.3-1mdk
  84. - 1.2.3
  85. - drop patches 1,2,3,4 - don't apply + not needed
  86. - scons...
  87. - no shared libraries built, drop lib packages
  88. * Wed Aug 24 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.0-5mdk
  89. - harmless 64-bit fixes
  90. * Sat Aug 20 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.0-4mdk
  91. - patch3: fix build (for gcc 4.0?)
  92. * Mon Jun 13 2005 Pascal Terjan <pterjan@mandriva.org> 1.0-3mdk
  93. - fix build with gcc4 (patch2)
  94. * Mon Mar 21 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.0-2mdk
  95. - fix build on lib64 platforms
  96. * Tue Feb 15 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 1.0-1mdk
  97. - 1.0
  98. * Mon Dec 20 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.91-1mdk
  99. - 0.9.91
  100. * Tue Oct 19 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.9.9-2mdk
  101. - -Wmissing-prototypes is only valid for the C front-end
  102. * Tue Aug 17 2004 Pascal Terjan <pterjan@mandrake.org> 0.9.9-1mdk
  103. - 0.9.9
  104. - update patch0
  105. * Fri Jul 16 2004 Michael Scherer <misc@mandrake.org> 0.9.8-2mdk
  106. - rebuild for new gcc ( patch 0 )
  107. * Tue May 26 2004 Austin Acton <austin@mandrake.org> 0.9.8-1mdk
  108. - 0.9.8
  109. * Tue Apr 20 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.7-2mdk
  110. - Fix menu
  111. * Thu Apr 1 2004 Austin Acton <austin@mandrake.org> 0.9.7-1mdk
  112. - 0.9.7
  113. * Tue Feb 17 2004 Austin Acton <austin@mandrake.org> 0.9.6-4mdk
  114. - rebuild for liblrdf2
  115. * Wed Jan 14 2004 Charles A Edwards <eslrahc@mandrake.org> 0.9.6-3mdk
  116. - put back correct changelog entry for Austin's 0.9.6-1mdk--don't
  117. know how I screwed that
  118. * Wed Jan 14 2004 Charles A Edwards <eslrahc@mandrake.org> 0.9.6-2mdk
  119. - use libtoolize /bin/true
  120. - define iconname
  121. - build with liblrdf
  122. - buildrequire liblrdf0-devel and ImageMagick
  123. - use source xpm to create icons
  124. - fix rpath for _libdir and _bindir
  125. - use marcos configure2_5x and makeinstall_std
  126. - rm 0 byte fonts
  127. - add docand doc/howtos
  128. * Mon Jan 12 2004 Austin Acton <austin@mandrake.org> 0.9.6-1mdk
  129. - 0.9.6
  130. - does not require "jack" or libname
  131. - buildrequires jackit and ladspa libs
  132. - mklibname
  133. - lib64 fix buildrequires
  134. * Thu Dec 04 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.5-1mdk
  135. - 0.9.5
  136. * Thu Jun 5 2003 Austin Acton <aacton@yorku.ca> 0.9.1-1mdk
  137. - 0.9.1
  138. - pretty-up spec
  139. - tie bin and lib package versions
  140. * Sun May 11 2003 Laurent Culioli <laurent@pschit.net> 0.9-1mdk
  141. - 0.9
  142. - frop patch0
  143. * Tue May 06 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.8.5-2mdk
  144. - buildrequires
  145. * Fri Dec 20 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.8.5-1mdk
  146. - add mandrake menu
  147. - add libraries rpm
  148. - keep zero length xpm icons...
  149. - from ccrma package
  150. * Wed Dec 18 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu> 0.8.5-1
  151. - changed name to rosegarden, anaconda does not like the current name
  152. (anaconda should be fixed, name is legal)
  153. - update to 0.8.5
  154. * Sun Nov 10 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu> 0.8-2
  155. - changed name of package to rosegarden-4 (what was I thinking?...)
  156. - added patch to rename jack alsa ports for jack >= 0.40
  157. - added explicit dependency to jack
  158. - added redhat menu entry
  159. * Fri Oct 18 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu>
  160. - Initial build.