source: projects/specs/trunk/r/rosegarden/rosegarden-vl.spec @ 1828

Revision 1828, 4.0 KB checked in by Takemikaduchi, 14 years ago (diff)

fix for BTS:983

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