1.1 --- a/.hgignore Thu Oct 12 22:26:55 2017 -0700
1.2 +++ b/.hgignore Thu Oct 12 22:27:09 2017 -0700
1.3 @@ -17,3 +17,4 @@
1.4 xcuserdata
1.5 *.xcworkspace
1.6 SDL2_mixer.pc
1.7 +SDL2_mixer.spec
2.1 --- a/SDL2_mixer.spec Thu Oct 12 22:26:55 2017 -0700
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,64 +0,0 @@
2.4 -%define name SDL2_mixer
2.5 -%define version 2.0.1
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.txt CHANGES.txt COPYING.txt
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 -