Added the spec file to Mercurial so we can do hg archive for distribution archives
authorSam Lantinga <slouken@libsdl.org>
Sat, 28 Jan 2012 11:05:43 -0500
changeset 5792b0af956825c
parent 578 3b2c95ee3398
child 580 5d5483acd03d
Added the spec file to Mercurial so we can do hg archive for distribution archives
.hgignore
SDL2_mixer.spec
     1.1 --- a/.hgignore	Sat Jan 28 10:55:23 2012 -0500
     1.2 +++ b/.hgignore	Sat Jan 28 11:05:43 2012 -0500
     1.3 @@ -5,6 +5,5 @@
     1.4  config.status
     1.5  Makefile
     1.6  SDL2_mixer.pc
     1.7 -SDL2_mixer.spec
     1.8  libtool
     1.9  build
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/SDL2_mixer.spec	Sat Jan 28 11:05:43 2012 -0500
     2.3 @@ -0,0 +1,64 @@
     2.4 +%define name SDL2_mixer
     2.5 +%define version 1.2.13
     2.6 +%define release 1
     2.7 +
     2.8 +Summary: Simple DirectMedia Layer - Sample Mixer Library
     2.9 +Name: %{name}
    2.10 +Version: %{version}
    2.11 +Release: %{release}
    2.12 +Source0: %{name}-%{version}.tar.gz
    2.13 +License: LGPL
    2.14 +Group: System Environment/Libraries
    2.15 +BuildRoot: /var/tmp/%{name}-buildroot
    2.16 +Prefix: %{_prefix}
    2.17 +
    2.18 +%description
    2.19 +Due to popular demand, here is a simple multi-channel audio mixer.
    2.20 +It supports 4 channels of 16 bit stereo audio, plus a single channel
    2.21 +of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis,
    2.22 +Tremor, SMPEG MP3, and libmad MP3 libraries.
    2.23 +
    2.24 +%package devel
    2.25 +Summary: Libraries, includes and more to develop SDL applications.
    2.26 +Group: Development/Libraries
    2.27 +Requires: %{name}
    2.28 +
    2.29 +%description devel
    2.30 +Due to popular demand, here is a simple multi-channel audio mixer.
    2.31 +It supports 4 channels of 16 bit stereo audio, plus a single channel
    2.32 +of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis,
    2.33 +Tremor, SMPEG MP3, and libmad MP3 libraries.
    2.34 +
    2.35 +%prep
    2.36 +%setup 
    2.37 +
    2.38 +%build
    2.39 +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
    2.40 +make
    2.41 +
    2.42 +%install
    2.43 +rm -rf $RPM_BUILD_ROOT
    2.44 +make install prefix=$RPM_BUILD_ROOT/%{prefix}
    2.45 +
    2.46 +%clean
    2.47 +rm -rf $RPM_BUILD_ROOT
    2.48 +
    2.49 +%files
    2.50 +%defattr(-,root,root)
    2.51 +%doc README CHANGES COPYING
    2.52 +%{prefix}/lib/lib*.so.*
    2.53 +
    2.54 +%files devel
    2.55 +%defattr(-,root,root)
    2.56 +%{prefix}/lib/lib*.a
    2.57 +%{prefix}/lib/lib*.la
    2.58 +%{prefix}/lib/lib*.so
    2.59 +%{prefix}/include/*/
    2.60 +%{prefix}/lib/pkgconfig/*.pc
    2.61 +
    2.62 +%changelog
    2.63 +* Wed Jan 19 2000 Sam Lantinga 
    2.64 +- converted to get package information from configure
    2.65 +* Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
    2.66 +- initial spec file
    2.67 +