source: projects/specs/trunk/m/multimedia/multimedia-vl.spec @ 521

Revision 521, 5.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: Several X utilities mainly for use with multimedia files.
2Summary(ja): マルチメディアファイルを扱う為の X ユーティリティ
3Name: multimedia
4Version: 2.1
5Release: 21%{?_dist_release}
6License: GPL
7Group: Applications/Multimedia
8Source: ftp://sunsite.unc.edu/pub/Linux/apps/sound/suites/multimedia-2.1.tar.gz
9Patch: multimedia-2.1-misc.patch
10Patch1: multimedia-2.1-scsi.patch
11Patch2: multimedia-2.1-res.patch
12Patch3: multimedia-2.1-64bit.patch
13Patch4: multimedia-2.1-ustat.patch
14Patch5: multimedia-dir.patch
15Patch6: multimedia-umask.patch
16Patch100: multimedia-2.1-gcc33.patch
17Patch101: multimedia-2.1-files.patch
18Buildroot: %{_tmppath}/%{name}-%{version}-root
19
20
21%description
22The multimedia package contains several X Window System utilities for
23handling multimedia files, including xplaycd, xmixer and xgetfile.
24Xplaycd is a CD player for playing audio CDs on your machine's CD-ROM
25drive.  Xmixer controls the volume settings on your machine's sound
26card.  Xgetfile is a versatile file browser, intended for use in shell
27scripts.
28
29Install the multimedia package if you need an audio CD player, a sound
30card volume controller, or a file browser for use in shell scripts.
31
32%description -l ja
33multimedia パッケージには,xplaycd, xmixer, xgetfile 等
34マルチメディアファイルを扱う為の X ウィンドウシステム向け
35ユーティリティが幾つか収められています.
36xplaycd は CD-ROM ドライブのオーディオ CD を再生する為の
37CD プレーヤです.xmixer はサウンドカードのボリュームを設定
38するツールです.xgetfile はシェルスクリプト内で使うことを主眼に置いた
39万能ファイルブラウザです.
40
41オーディオ CD プレーヤ,サウンドカードのボリューム設定ツール,
42シェルスクリプト内から使うファイルブラウザが必要ならば
43この multimedia パッケージをインストールして下さい.
44
45
46%prep
47%setup -q -n multimedia
48%patch -p1
49%patch1 -p1
50%patch2 -p1
51%patch3 -p1
52%patch4 -p1
53%patch5 -p1
54%patch6 -p1
55%patch100 -p1
56%patch101 -p1
57
58
59%build
60make depend
61make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBOPTS=-L%{_libdir}
62
63
64%install
65rm -rf $RPM_BUILD_ROOT
66mkdir -p $RPM_BUILD_ROOT%{_bindir}
67mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
68mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
69make install \
70        BINDIR=$RPM_BUILD_ROOT%{_bindir} \
71        MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
72        DEFAULTDIR=$RPM_BUILD_ROOT%{_datadir}/X11/app-defaults \
73        LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
74        MKDIR="mkdir -p"
75
76chmod 644 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults/*
77chmod 644 $RPM_BUILD_ROOT%{_mandir}/man1/*
78strip $RPM_BUILD_ROOT%{_bindir}/*
79mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Multimedia
80cat > $RPM_BUILD_ROOT/etc/X11/applnk/Multimedia/xplaycd.desktop <<EOF
81[Desktop Entry]
82Name=XPlayCD
83Name[sv]=XPlayCD
84Type=Application
85Comment=CD player
86Comment[sv]=CD-spelare
87Exec=xplaycd
88EOF
89
90cat > $RPM_BUILD_ROOT/etc/X11/applnk/Multimedia/xmixer.desktop <<EOF
91[Desktop Entry]
92Name=XMixer
93Name[sv]=XMixer
94Type=Application
95Comment=Sound card mixer panel
96Comment[sv]=Ljudkortsmixerpanel
97Exec=xmixer
98EOF
99
100mkdir -p $RPM_BUILD_ROOT/var/lib/cddb/
101chmod 1777 $RPM_BUILD_ROOT/var/lib/cddb/
102
103
104%clean
105rm -rf $RPM_BUILD_ROOT
106
107
108%files
109%defattr(-,root,root)
110%config(missingok) /etc/X11/applnk/Multimedia/*
111%{_bindir}/*
112%{_mandir}/man1/*
113%dir /var/lib/cddb/
114
115%config %{_datadir}/X11/app-defaults/*
116%doc INSTALL
117
118%changelog
119* Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 2.1-21vl5
120- applied new versioning policy, spec in utf-8
121
122* Mon Jun 11 2007 Shu KONNO <owa@bg.wakwak.com> 2.1-20vl3
123- rebuilt with new toolchain
124- changed lib to %%{_lib}
125- added Patch101: multimedia-2.1-files.patch
126
127* Fri Mar 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-20vl2
128- rebuild with new toolchains
129- add Patch100 to compile with gcc-3.3.x
130- s/Copyright/License/
131
132* Thu Jan 25 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
133- 2.1-20vl1
134- based on 2.1-20 from Rawhide
135- added Japanese summary and description
136- use better macros (%%{_tmppath})
137
138* Fri Aug  4 2000 Bill Nottingham <notting@redhat.com>
139- add translation to desktop entry
140
141* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
142- automatic rebuild
143
144* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
145- fix cddb stuff (#11372)
146
147* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
148- wmconfig -> desktop
149
150* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
151- handle compressed man pages
152
153* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
154- auto rebuild in the new build environment (release 15)
155
156* Thu Feb 11 1999 Michael Maher <mike@redhat.com>
157- fixed bug #633
158
159* Tue Jan 24 1999 Michael Maher <mike@redhat.com>
160- changed groups, ran thru build system.
161
162* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
163- built package for 6.0
164
165* Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
166- use "mkdir -p" rather than mkdirhier to avoid IFS problem with bash-2.02.
167
168* Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com>
169- spec install fix
170
171* Fri May 01 1998 Prospector System <bugs@redhat.com>
172- translations modified for de, fr, tr
173
174* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
175- Manhattan build
176- buildroot
177
178* Tue Oct 21 1997 Michael Fulbright <msf@redhat.com>
179- updated spec file
180- added wmconfig stuff, but not included in file lists
181  because users genarally cant control /dev/cdrom or /dev/mixer.
182  Once users can do this we should include the wmconfig files.
183
184* Fri Aug 22 1997 Erik Troan <ewt@redhat.com>
185- incorporated 64bit cleanliness patch
186- incorporated pointer init patch w/ makes xmplay work on Alphas
187- built against glibc
Note: See TracBrowser for help on using the repository browser.