rosegarden-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. Summary: Integrated musical notation editor and MIDI sequencer
  2. Summary(ja): 統合楽譜エディタ・MIDIシーケンサ
  3. Name: rosegarden
  4. Version: 2.1pl3
  5. Release: 3%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Multimedia
  8. URL: http://www.bath.ac.uk/~masjpf/rose.html
  9. Source0: http://www.cannam.demon.co.uk/%{name}/distribution/%{name}-%{version}.tar.gz
  10. Source1: ftp://ftp.maths.bath.ac.uk/pub/dream/ROSE/rosegarden-2.1-manual.ps.gz
  11. Patch0: rosegarden-2.1pl3.install.patch
  12. Patch1: rosegarden-2.1pl2.ad.patch
  13. Patch2: rosegarden-2.1pl2.help.patch
  14. Requires: playmidi-X11
  15. Requires: xorg-x11-jpfonts
  16. BuildRequires: libXt-devel
  17. BuildRequires: libXaw-devel
  18. Buildroot: %{_tmppath}/%{name}-%{version}-root
  19. %description
  20. Rosegarden is a free integrated musical notation editor and MIDI
  21. sequencer for Unix/X platforms, with specific support for Linux PCs
  22. and SGI IRIX workstations.
  23. %description -l ja
  24. Rosegarden は Unix/X プラットフォームの楽譜エディタと MIDI シーケンサを
  25. 統合したフリーソフトウェアです。Linux と SGI IRIX ワークステーションを
  26. サポートしています。
  27. %package manual
  28. Summary: Manual of Rosegarden 2.1
  29. Group: Applications/Documentation
  30. Summary(ja): Rosegarden 2.1 マニュアル
  31. %description manual
  32. This subpackage includes the manual of Rosegarden 2.1 (PostScript)
  33. %description -l ja manual
  34. このサブパッケージは Rosegarden 2.1 のマニュアル(ポストスクリプト形式)
  35. を含んでいます。
  36. %prep
  37. %setup -q
  38. %patch0 -p1
  39. %patch1 -p1
  40. %patch2 -p1
  41. cp %{SOURCE1} .
  42. %build
  43. %configure
  44. make OPTFLAGS="${RPM_OPT_FLAGS}" clean all
  45. %install
  46. rm -fr %{buildroot}
  47. ./do-install
  48. mkdir -p %{buildroot}/usr/share/rosegarden/bin
  49. install -c ./bin/debug-aux %{buildroot}/usr/share/rosegarden/bin
  50. install -c ./bin/debug-edit %{buildroot}/usr/share/rosegarden/bin
  51. install -c ./bin/debug-seq %{buildroot}/usr/share/rosegarden/bin
  52. rm -f rpm-files
  53. touch rpm-files
  54. if [ -d /etc/X11/wmconfig ]; then
  55. mkdir -p %{buildroot}/etc/X11/wmconfig
  56. cat << WMC >%{buildroot}/etc/X11/wmconfig/rosegarden
  57. rosegarden name "Rosegarden"
  58. rosegarden description "Integrated musical notation and MIDI sequencer."
  59. rosegarden exec "rosegarden &"
  60. rosegarden group Applications/Sound
  61. WMC
  62. echo "%attr(-, root, root) %config /etc/X11/wmconfig/rosegarden" >rpm-files
  63. fi
  64. %clean
  65. rm -fr %{buildroot}
  66. %files -f rpm-files
  67. %defattr(-, root, root)
  68. %doc ANNOUNCEMENT CHANGES COPYING COPYRIGHT INSTALL PORTING README
  69. /usr/share/X11/app-defaults/Rosegarden
  70. /usr/bin/*
  71. /usr/libexec/rosegarden/
  72. %dir /usr/share/rosegarden/
  73. /usr/share/rosegarden/bin
  74. /usr/share/rosegarden/example
  75. /usr/share/rosegarden/help
  76. /usr/share/rosegarden/petal
  77. /usr/share/rosegarden/rosepetal-filters
  78. /usr/share/rosegarden/synth-patches
  79. %files manual
  80. %defattr(-, root, root)
  81. %doc rosegarden-2.1-manual.ps.gz
  82. %changelog
  83. * Sun Sep 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1pl3-3
  84. - fix Patch0 (fix BTS:983)
  85. - add BuildRequires: libXt-devel, libXaw-devel
  86. - add Requires: xorg-x11-jpfonts
  87. * Sun Nov 09 2008 Shu KONNO <owa@bg.wakwak.com> 2.1pl3-2vl5
  88. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  89. * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 2.1pl3-1vl5
  90. - applied new versioning policy, spec in utf-8
  91. * Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1pl3-0vl2
  92. - rebuilt with new toolchains
  93. - s/Copyright/License/
  94. - changed manual Group to Applications/Documentation
  95. * Sun Dec 9 2001 Jun Nishii <jun@vinelinux.org> 2.1pl3-0vl1
  96. - ver.up
  97. * Thu Jun 28 2001 Jun Nishii <jun@vinelinux.org>
  98. - 2.1pl2-0vl1
  99. - change spec to adapt Vine Linux
  100. * Tue Jan 25 2000 Atsushi Yamagata <yamagata@plathome.co.jp>
  101. - removed /usr/share/rosegarden/manual from the main package
  102. - changed Group: Applications/Sound -> Applications/Multimedia
  103. * Mon Nov 22 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
  104. - Updated to version 2.1pl2
  105. - changed directries installed
  106. - removed patch for glibc
  107. * Tue Apr 21 1998 Atsushi Yamagata
  108. - 2nd release
  109. - built against glibc
  110. - added wmconfig file
  111. - corrected %files stage
  112. * Tue Mar 24 1998 Atsushi Yamagata <yamagata@jwu.ac.jp>
  113. - 1st release