SDL2_mixer.spec
author Sam Lantinga <slouken@libsdl.org>
Fri, 06 Sep 2013 20:42:05 -0700
changeset 660 4641ef4c0fa6
parent 615 4c87c4fabeb5
child 712 7e59d684b070
permissions -rw-r--r--
Updated documentation file names
slouken@579
     1
%define name SDL2_mixer
slouken@615
     2
%define version 2.0.0
slouken@579
     3
%define release 1
slouken@579
     4
slouken@579
     5
Summary: Simple DirectMedia Layer - Sample Mixer Library
slouken@579
     6
Name: %{name}
slouken@579
     7
Version: %{version}
slouken@579
     8
Release: %{release}
slouken@579
     9
Source0: %{name}-%{version}.tar.gz
slouken@579
    10
License: LGPL
slouken@579
    11
Group: System Environment/Libraries
slouken@579
    12
BuildRoot: /var/tmp/%{name}-buildroot
slouken@579
    13
Prefix: %{_prefix}
slouken@579
    14
slouken@579
    15
%description
slouken@579
    16
Due to popular demand, here is a simple multi-channel audio mixer.
slouken@579
    17
It supports 4 channels of 16 bit stereo audio, plus a single channel
slouken@579
    18
of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis,
slouken@579
    19
Tremor, SMPEG MP3, and libmad MP3 libraries.
slouken@579
    20
slouken@579
    21
%package devel
slouken@579
    22
Summary: Libraries, includes and more to develop SDL applications.
slouken@579
    23
Group: Development/Libraries
slouken@579
    24
Requires: %{name}
slouken@579
    25
slouken@579
    26
%description devel
slouken@579
    27
Due to popular demand, here is a simple multi-channel audio mixer.
slouken@579
    28
It supports 4 channels of 16 bit stereo audio, plus a single channel
slouken@579
    29
of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis,
slouken@579
    30
Tremor, SMPEG MP3, and libmad MP3 libraries.
slouken@579
    31
slouken@579
    32
%prep
slouken@579
    33
%setup 
slouken@579
    34
slouken@579
    35
%build
slouken@579
    36
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
slouken@579
    37
make
slouken@579
    38
slouken@579
    39
%install
slouken@579
    40
rm -rf $RPM_BUILD_ROOT
slouken@579
    41
make install prefix=$RPM_BUILD_ROOT/%{prefix}
slouken@579
    42
slouken@579
    43
%clean
slouken@579
    44
rm -rf $RPM_BUILD_ROOT
slouken@579
    45
slouken@579
    46
%files
slouken@579
    47
%defattr(-,root,root)
slouken@660
    48
%doc README.txt CHANGES.txt COPYING.txt
slouken@579
    49
%{prefix}/lib/lib*.so.*
slouken@579
    50
slouken@579
    51
%files devel
slouken@579
    52
%defattr(-,root,root)
slouken@579
    53
%{prefix}/lib/lib*.a
slouken@579
    54
%{prefix}/lib/lib*.la
slouken@579
    55
%{prefix}/lib/lib*.so
slouken@579
    56
%{prefix}/include/*/
slouken@579
    57
%{prefix}/lib/pkgconfig/*.pc
slouken@579
    58
slouken@579
    59
%changelog
slouken@579
    60
* Wed Jan 19 2000 Sam Lantinga 
slouken@579
    61
- converted to get package information from configure
slouken@579
    62
* Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
slouken@579
    63
- initial spec file
slouken@579
    64