]> git.pld-linux.org Git - packages/playmidi.git/commitdiff
- Removed 'awe_voice.h' from list of sources. Newer version of this
authormkochano <mkochano@pld-linux.org>
Sun, 30 Jan 2000 19:14:11 +0000 (19:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  file is currently included in kernel sources.
- Added removal of 'awe_voice.h' included in *.tar.gz in %prep
  section.
- Removed 'playmidi-2.3-awe2.patch', beacuse it is no longer needed
  (see above for reason).
- Moved 'splaymidi' (SVGAlib version) to separate package.
- Replaced 'i386' with '%ix86'.
- Manuals moved to '%_mandir'.
- Gzipped documentation and manuals.
- Default attributes set to (644, root, root, 755).
- Added polish 'Summary', 'Group' and 'Description'.
- release++

Changed files:
    playmidi.spec -> 1.2

playmidi.spec

index 56458709e847f74445fad828d1a5e44aedcd69ff..ec0fcca889ef11a6bae54da2117f45e5f3d8f4f6 100644 (file)
@@ -1,21 +1,32 @@
 Summary: A MIDI sound file player.
 Summary: A MIDI sound file player.
+Summary(pl): Odtwarzacz plików MIDI.
 Name: playmidi
 Version: 2.4
 Name: playmidi
 Version: 2.4
-Release: 7
+Release: 8
 Source: ftp://ftp.linpeople.org/pub/People/nathan/playmidi-2.4.tar.gz
 Source: ftp://ftp.linpeople.org/pub/People/nathan/playmidi-2.4.tar.gz
-Source2: awe_voice.h
 Copyright: GPL
 Copyright: GPL
-Group: Applications/Multimedia
+Group: Applications/Sound
+Group(pl): Aplikacje/D¼wiêk
 Patch0: playmidi-2.3-hertz.patch
 Patch0: playmidi-2.3-hertz.patch
-Patch1: playmidi-2.3-awe2.patch
-Patch2: playmidi-2.4-make.patch
-Patch3: playmidi-2.4-midimap.patch
+Patch1: playmidi-2.4-make.patch
+Patch2: playmidi-2.4-midimap.patch
+Patch3: playmidi-2.4-glibconfig.patch
 BuildRoot: /var/tmp/playmidi-root
 
 %package X11
 Summary: An X Window System based MIDI sound file player.
 BuildRoot: /var/tmp/playmidi-root
 
 %package X11
 Summary: An X Window System based MIDI sound file player.
+Summary(pl): Odtwarzacz plików MIDI dla systemu X Window
+Requires: playmidi = 2.4
+Group: Applications/Multimedia
+Group(pl): Aplikacje/D¼wiêk
+
+%package svga
+Summary: An SVGAlib based MIDI sound file player.
+Summary(pl): Odtwarzacz plików MIDI wykorzystuj±cy SVGAlib.
 Requires: playmidi = 2.4
 Group: Applications/Multimedia
 Requires: playmidi = 2.4
 Group: Applications/Multimedia
+Group(pl): Aplikacje/D¼wiêk
+ExclusiveArch: %ix86
 
 %description
 Playmidi plays MIDI (Musicial Instrument Digital Interface) sound
 
 %description
 Playmidi plays MIDI (Musicial Instrument Digital Interface) sound
@@ -25,27 +36,47 @@ drum samples for use with simple FM synthesizers.
 Install playmidi if you want to play MIDI files using your computer's
 sound card.
 
 Install playmidi if you want to play MIDI files using your computer's
 sound card.
 
+%description -l pl
+Playmidi odtwarza pliki MIDI poprzez syntetyzer karty d¼wiêkowej.
+Pakiet zawiera podstawowe instrumenty perkusyjne do wykorzystania z
+prostymi syntetyzerami FM.
+
 %description X11
 Playmidi-X11 provides an X Window System interface for playing MIDI
 (Musical Instrument Digital Interface) sound files through a sound
 %description X11
 Playmidi-X11 provides an X Window System interface for playing MIDI
 (Musical Instrument Digital Interface) sound files through a sound
-card synthesizer.  This package includes basic drum samples for use
-with simple FM synthesizers.
+card synthesizer.
 
 Install playmidi-X11 if you want to use an X interface to play MIDI
 sound files using your computer's sound card.
 
 
 Install playmidi-X11 if you want to use an X interface to play MIDI
 sound files using your computer's sound card.
 
+%description X11 -l pl
+Playmidi-X11 dostarcza interfejs opary o system X Window umo¿liwiaj±cy
+odtwarzanie plików MIDI poprzez kartê d¼wiêkow±.
+
+%description svga
+Playmidi-svga provides an SVGAlib interface for playing MIDI (Musical
+Instrument Digital Interface) sound files through a sound card
+synthesizer.
+
+Install playmidi-svga if you want to use an SVGAlib interface to play
+MIDI sound files using your computer's sound card.
+
+%description svga -l pl
+Playmidi-svga dostarcza interfejs oparty o SVGAlib umo¿liwiaj±cy
+odtwarzanie plików MIDI poprzez kartê d¼wiêkow±.
+
 %prep
 %setup -q
 %prep
 %setup -q
-cp $RPM_SOURCE_DIR/awe_voice.h .
+# awe_voice.h is now part of the kernel source.
+rm awe_voice.h
 %patch0 -p1 -b .consthertz
 %patch0 -p1 -b .consthertz
-%patch1 -p1 -b .awe2
-%patch2 -p1 -b .make
-%patch3 -p1 -b .midimap
-
+%patch1 -p1 -b .make
+%patch2 -p1 -b .midimap
+%patch3 -p1 -b .glibconfig
 %build
 PATH=.:$PATH
 
 %build
 PATH=.:$PATH
 
-%ifarch i386
+%ifarch %ix86
 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" playmidi splaymidi xplaymidi <<EOF
 2
 EOF
 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" playmidi splaymidi xplaymidi <<EOF
 2
 EOF
@@ -58,17 +89,20 @@ EOF
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/etc/{midi}
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/etc/{midi}
-mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1,X11R6/bin,X11R6/lib/X11/app-defaults}
+mkdir -p $RPM_BUILD_ROOT/usr/{bin,X11R6/bin,X11R6/lib/X11/app-defaults}
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
 
 install -s -m 755 playmidi $RPM_BUILD_ROOT/usr/bin
 install -s -m 755 xplaymidi $RPM_BUILD_ROOT/usr/X11R6/bin
 install -m 644 XPlaymidi.ad $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults/XPlaymidi
 
 
 install -s -m 755 playmidi $RPM_BUILD_ROOT/usr/bin
 install -s -m 755 xplaymidi $RPM_BUILD_ROOT/usr/X11R6/bin
 install -m 644 XPlaymidi.ad $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults/XPlaymidi
 
-%ifarch i386
+%ifarch %ix86
 install -s -m 755 splaymidi $RPM_BUILD_ROOT/usr/bin
 %endif
 
 install -s -m 755 splaymidi $RPM_BUILD_ROOT/usr/bin
 %endif
 
-install -m 644 playmidi.1 $RPM_BUILD_ROOT/usr/man/man1
+install -m 644 playmidi.1 $RPM_BUILD_ROOT%{_mandir}/man1
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/*\
+       BUGS COPYING QuickStart
 
 mkdir -p $RPM_BUILD_ROOT/etc/midi
 for n in std.o3 drums.o3 std.sb drums.sb
 
 mkdir -p $RPM_BUILD_ROOT/etc/midi
 for n in std.o3 drums.o3 std.sb drums.sb
@@ -80,19 +114,20 @@ done
 rm -rf $RPM_BUILD_ROOT
 
 %files
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
-%doc QuickStart COPYING BUGS
+%defattr(644,root,root,755)
+%doc {QuickStart,COPYING,BUGS}.gz
 /usr/bin/playmidi 
 %config /etc/midi/std.o3
 %config /etc/midi/std.sb
 %config /etc/midi/drums.o3
 %config /etc/midi/drums.sb
 /usr/bin/playmidi 
 %config /etc/midi/std.o3
 %config /etc/midi/std.sb
 %config /etc/midi/drums.o3
 %config /etc/midi/drums.sb
-%ifarch i386
-/usr/bin/splaymidi
-%endif
-/usr/man/man1/playmidi.1
+%{_mandir}/man1/playmidi.1.gz
 
 %files X11
 
 %files X11
-%defattr(-,root,root)
+%defattr(644,root,root,755)
 %config /usr/X11R6/lib/X11/app-defaults/XPlaymidi
 /usr/X11R6/bin/xplaymidi
 %config /usr/X11R6/lib/X11/app-defaults/XPlaymidi
 /usr/X11R6/bin/xplaymidi
+
+%files svga
+%defattr(644,root,root,755)
+%attr(4644,root,root)/usr/bin/splaymidi
This page took 0.116491 seconds and 4 git commands to generate.