SDL_mixer.spec.in
author Sam Lantinga <slouken@lokigames.com>
Thu, 20 Jan 2000 07:00:21 +0000
changeset 40 e8c2428f4492
parent 38 d6f9745b780b
child 54 d8d1aa950b6b
permissions -rw-r--r--
*** empty log message ***
slouken@38
     1
%define name @PACKAGE@
slouken@38
     2
%define version @VERSION@
slouken@38
     3
%define release 1
slouken@38
     4
slouken@38
     5
Summary: Simple DirectMedia Layer - Sample Mixer Library
slouken@38
     6
Name: %{name}
slouken@38
     7
Version: %{version}
slouken@38
     8
Release: %{release}
slouken@38
     9
Source0: %{name}-%{version}.tar.gz
slouken@38
    10
Copyright: LGPL
slouken@38
    11
Group: System Environment/Libraries
slouken@38
    12
BuildRoot: /var/tmp/%{name}-buildroot
slouken@38
    13
Prefix: %{_prefix}
slouken@38
    14
BuildRequires: SDL-devel
slouken@38
    15
slouken@38
    16
%description
slouken@38
    17
Due to popular demand, here is a simple multi-channel audio mixer.
slouken@38
    18
It supports 4 channels of 16 bit stereo audio, plus a single channel
slouken@38
    19
of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
slouken@38
    20
libraries.
slouken@38
    21
slouken@38
    22
%package devel
slouken@38
    23
Summary: Libraries, includes and more to develop SDL applications.
slouken@38
    24
Group: Development/Libraries
slouken@38
    25
Requires: %{name}
slouken@38
    26
Requires: SDL-devel
slouken@38
    27
slouken@38
    28
%description devel
slouken@38
    29
Due to popular demand, here is a simple multi-channel audio mixer.
slouken@38
    30
It supports 4 channels of 16 bit stereo audio, plus a single channel
slouken@38
    31
of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
slouken@38
    32
libraries.
slouken@38
    33
slouken@38
    34
%prep
slouken@38
    35
%setup 
slouken@38
    36
slouken@38
    37
%build
slouken@38
    38
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
slouken@40
    39
make
slouken@38
    40
slouken@38
    41
%install
slouken@38
    42
rm -rf $RPM_BUILD_ROOT
slouken@38
    43
make install prefix=$RPM_BUILD_ROOT/%{prefix}
slouken@38
    44
slouken@38
    45
%clean
slouken@38
    46
rm -rf $RPM_BUILD_ROOT
slouken@38
    47
slouken@38
    48
%files
slouken@38
    49
%defattr(-,root,root)
slouken@40
    50
%doc README CHANGES COPYING
slouken@38
    51
%{prefix}/bin/playmus
slouken@38
    52
%{prefix}/bin/playwave
slouken@38
    53
%{prefix}/lib/lib*.so.*
slouken@38
    54
%{prefix}/lib/lib*.so
slouken@38
    55
slouken@38
    56
%files devel
slouken@38
    57
%defattr(-,root,root)
slouken@38
    58
%{prefix}/lib/*a
slouken@38
    59
%{prefix}/include/SDL/
slouken@38
    60
slouken@38
    61
%changelog
slouken@38
    62
* Wed Jan 19 2000 Sam Lantinga 
slouken@38
    63
- converted to get package information from configure
slouken@38
    64
* Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
slouken@38
    65
- initial spec file
slouken@38
    66