source: projects/specs/trunk/f/freepats/freepats-vl.spec @ 9324

Revision 9324, 9.1 KB checked in by inagaki, 9 years ago (diff)

2015-02-02 Ryoichi INAGAKI <ryo1@…>

  • TiMidity?++4ALSA: updated, fixed spec
  • freepats: fixed spec


Line 
1Name:           freepats
2Version:        20060219
3Release:        5%{?_dist_release}
4Summary:        Patch set(soundfonts) for MIDI audio synthesis (GUS)
5Summary(ja):    MIDIシンセのためのサウンドフォントセット(GUSパッチ互換)
6Group:          Applications/Multimedia
7License:        GPLv2
8URL:            http://freepats.zenvoid.org/
9#--------------------------------------------------------------------
10
11Source0:        http://freepats.zenvoid.org/%{name}-%{version}.tar.bz2
12Source1:        timidity.freepats.cfg
13Source2:        freepats.cfg
14# Source3:      mandrake-freepats.cfg
15Source4:        freepat_README.ja
16Source5:        mkcfg.sh.txt
17Source6:        mkdist.sh.txt
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20BuildArch:      noarch
21Requires(post):  alternatives
22Requires(preun): alternatives
23
24Provides:       soundfont2
25
26#--------------------------------------------------------------------
27#
28# NOTE:
29#
30# 1. When big change is involved (e.g. timidity.cfg change location),
31# so that new timidity binray and old patch RPM won't work together,
32# increment this number by 1 for all timidity related RPMs
33#
34# 2. Current config is hand merged from freepats.cfg and crude.cfg,
35# so if new version is available, please merge both config, and make
36# sure all patch files listed in config file do exist.
37#
38#--------------------------------------------------------------------
39# (リリース番号の)覚書:
40#                     ※Mandrake、Mandriva の NOTEの和訳です(馬場崎)
41#
42# 1.大きな変化に巻き込まれて(例えば timidity.cfgの場所が変更された時)、
43#   新しい timidityバイナリと古いパッチ(音源)のRPMが一緒に働かせられ
44#   ないのならば、このナンバーを全ての timidityに関連付けられたRPM
45#   パッケージで、1から増分(+1)する。
46#
47# 2.現在のコンフィグは、freepats.cfg と crude.cfg から手作業でマージ
48#   してあり、新しいバージョンが利用可能になった場合は、両方の
49#   コンフィグをマージしてください。そして、全てのパッチファイルで
50#   コンフィグファイルのリスト通りであるかを確認してください。
51#
52#--------------------------------------------------------------------
53
54%description
55Freepats is a project to create a free and open set of GUS
56compatible patches that can be used with softsynths such as
57Timidity and WildMidi. They are verified to contain no non-free
58restriction. Freepats is distributed under GPL v2 or later, with
59the follow exception clause about the relation of MIDI composition
60and patches:
61
62=========================================================
63As a special exception, if you create a composition which uses
64these patches, and mix these patches or unaltered portions of
65these patches into the composition, these patches do not by
66themselves cause the resulting composition to be covered by the
67GNU General Public License. This exception does not however
68invalidate any other reasons why the document might be covered
69by the GNU General Public License. If you modify these patches,
70you may extend this exception to your version of the patches,
71but you are not obligated to do so. If you do not wish to do so,
72delete this exception statement from your version.
73==========================================================
74
75This patch set is of limited quality, because some instruments are
76still missing. For personal use, feel free to use other patch sets
77(such as eawpatches which has excellent quality, but the site is
78no more), or other free soundfonts.
79
80
81%description -l ja
82  Freepats はフリーでオープンな、そして例えば Timidity や WildMidi
83  といったソフトウェアシンセで使う事の出来る GUSパッチセット互換の
84  パッチ製作を目的としたプロジェクトです。それらは、少しも非自由で
85  ない制限を証明します。Freepats は GPL バージョン2か、それ以降の
86  元で再配布されており、MIDIでの作曲とパッチに関係した例外条項を
87  次のようにフォローしています。
88
89  =========================================================
90                         例外条項
91  =========================================================
92    特別な例外として、これらのパッチやパッチを混合(MIX)した
93  もの、あるいはこれらのパッチの変更が加えられていない
94  一部分を作曲の中に用いて、「曲」を創作したのであるならば、
95  これらのパッチそれ自体を原因(根拠)として、その結果(成果)
96  としての「曲」が、GNU一般公有使用許諾書の対象となるもの
97  ではありません。しかし、この例外は、そのドキュメントが
98  他の理由でGNU Public License の対象となる事を妨げません。
99   このパッチを修正する場合、あなたのパッチのバージョンに
100  この例外を拡張する事は出来ますが、義務ではありません。
101  望まないのでしたら、あなたのバージョンからこの例外宣言を
102  削除して下さい。
103  ==========================================================
104
105   このパッチセットは限られた品質のため、いくつかの楽器は依然として
106  (リストが)埋まっておりません。個人的な利用については、他のパッチ
107  セット(例えば 優れた品質の eawpatches のような、しかしもはや
108  そのサイトは存在しませんが)や、その他のフリーなサウンドフォントの
109  ように、お気軽にご利用下さい。
110
111
112#--------------------------------------------------------------------
113
114%prep
115%setup -q -n freepats
116
117cp -p  %{SOURCE4} ./
118cp -p  %{SOURCE5} ./
119cp -p  %{SOURCE6} ./
120
121#--------------------------------------------------------------------
122%install
123rm -rf $RPM_BUILD_ROOT
124
125mkdir -p $RPM_BUILD_ROOT%{_datadir}/soundfonts/freepats/
126cp -a Drum_000 Tone_000 $RPM_BUILD_ROOT%{_datadir}/soundfonts/freepats/
127
128mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/timidity/
129cp -p  %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/timidity/timidity.freepats.cfg
130cp -p  %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/timidity/freepats.cfg
131
132%clean
133rm -rf $RPM_BUILD_ROOT
134
135#--------------------------------------------------------------------
136%post
137/sbin/update-alternatives --install \
138    %{_sysconfdir}/timidity/timidity.cfg timidity.cfg \
139    %{_sysconfdir}/timidity/timidity.freepats.cfg 30
140
141%preun
142if [ "$1" = "0" ]; then
143    /sbin/update-alternatives --remove \
144        timidity.cfg %{_sysconfdir}/timidity/timidity.freepats.cfg
145fi
146
147#--------------------------------------------------------------------
148%files
149%defattr(-,root,root)
150%doc README COPYING mkcfg.sh.txt  mkdist.sh.txt crude.cfg freepats.cfg
151%config(noreplace) %{_sysconfdir}/timidity/timidity.freepats.cfg
152%config(noreplace) %{_sysconfdir}/timidity/freepats.cfg
153%{_datadir}/soundfonts/freepats
154
155#--------------------------------------------------------------------
156%changelog
157* Sun Feb  1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 20060219-5
158- fixed spec encoding to UTF-8 (BTS #2784)
159- updated encoding of SOURCE4 to UTF-8
160                       
161* Sun Oct 14 2012 Yoji TOYODA 20060219-4
162- fix %%URL and %%SOURCE0
163
164* Fri May 30 2008 Seiichirou Babasaki 20060219-3
165- genetic translation  freepat /README
166- Updated specfile
167
168* Fri May 2 2008 Seiichirou Babasaki 20060219-2
169- Import freepat - Packager: Babasaki
170- Updated specfile (base  Mandriva)
171
172#--------------------------------------------------------------------
173* Mon Feb 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 20060219-8mdv2008.1
174+ Revision: 171143
175- rebuild
176
177* Fri Jan 04 2008 G?tz Waschk <waschk@mandriva.org> 20060219-7mdv2008.1
178+ Revision: 144833
179- fix alternatives uninstallation
180
181  + Olivier Blin <oblin@mandriva.com>
182    - restore BuildRoot
183
184* Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 20060219-6mdv2008.1
185+ Revision: 128453
186- kill re-definition of %%buildroot on Pixel's request
187
188* Wed Sep 19 2007 Oden Eriksson <oeriksson@mandriva.com> 20060219-6mdv2008.0
189+ Revision: 90839
190- update to new version
191
192* Wed Sep 19 2007 Guillaume Rousse <guillomovitch@mandriva.org> 20060219-5mdv2008.0
193+ Revision: 90338
194- rebuild
195
196* Wed Aug 29 2007 Oden Eriksson <oeriksson@mandriva.com> 20060219-4mdv2008.0
197+ Revision: 73491
198- bump release
199
200* Mon Jun 25 2007 Thierry Vignaud <tvignaud@mandriva.com> 20060219-3mdv2008.0
201+ Revision: 44025
202- bump release
203
204* Mon Jun 25 2007 Thierry Vignaud <tvignaud@mandriva.com> 20060219-2mdv2008.0
205+ Revision: 44003
206- add "noreplace" flag
207
208* Sat Apr 28 2007 Per ?yvind Karlsen <pkarlsen@mandriva.com> 20060219-1mdv2008.0
209+ Revision: 18981
210- update to new release: 20060219
211
212
213* Tue Mar 20 2007 Per ?yvind Karlsen <pkarlsen@mandriva.com> 20040611-3mdv2007.1
214+ Revision: 146933
215- bump release
216
217  + Pixel <pixel@mandriva.com>
218    - fix typo making alternatives break (#29527)
219
220* Wed Feb 28 2007 Per ?yvind Karlsen <pkarlsen@mandriva.com> 20040611-2mdv2007.1
221+ Revision: 126852
222- bump
223
224* Wed Feb 28 2007 Per ?yvind Karlsen <pkarlsen@mandriva.com> 20040611-1mdv2007.1
225+ Revision: 126842
226- add #extension in config files to avoid old timidity used by SDL_mixer
227  gets syntax errors
228- %%mkrel
229- Import timidity-patch-freepats
230
231* Thu Feb 17 2005 Abel Cheung <deaddog@mandrake.org> 20040611-1mdk
232- First package for Mandrakelinux
233
Note: See TracBrowser for help on using the repository browser.