source: projects/specs/trunk/S/SDL2_mixer/SDL2_mixer-vl.spec @ 11683

Revision 11683, 3.5 KB checked in by iwaim, 6 years ago (diff)

SDL2_mixer 2.0.2-1

Line 
1%define ver 2.0.2
2%define rel 1
3
4Name:           SDL2_mixer
5Version:        %{ver}
6Release:        %{rel}%{?_dist_release}
7Summary:        Simple DirectMedia Layer - Sample Mixer Library
8
9Group:          System Environment/Libraries
10License:        zlib
11URL:            http://www.libsdl.org/projects/SDL_mixer/
12Source0:        http://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
13
14BuildRequires:  SDL2-devel
15BuildRequires:  libvorbis-devel
16BuildRequires:  flac-devel
17BuildRequires:  chrpath
18BuildRequires:  libmodplug-devel
19BuildRequires:  fluidsynth-devel
20BuildRequires:  libmikmod-devel
21
22Vendor: Project Vine
23Distribution: Vine Linux
24Packager: iwaim
25
26%description
27SDL_mixer is a sample multi-channel audio mixer library.
28It supports any number of simultaneously playing channels of 16 bit stereo
29audio, plus a single channel of music, mixed by the popular FLAC,
30MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries.
31
32%package devel
33Summary:        Development files for %{name}
34Group:          Development/Libraries
35Requires:       %{name}%{?_isa} = %{version}-%{release}
36Requires:       SDL2-devel
37Requires:       libvorbis-devel
38
39%description devel
40The %{name}-devel package contains libraries and header files for
41developing applications that use %{name}.
42
43%prep
44%autosetup -p1
45sed -i -e 's/\r//g' README.txt CHANGES.txt COPYING.txt
46rm -rf external/
47
48%build
49%configure --disable-dependency-tracking \
50           --disable-static
51sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
52%make_build
53
54%install
55%make_install install-bin
56for i in playmus playwave
57do
58  chrpath -d %{buildroot}%{_bindir}/${i}
59  mv %{buildroot}%{_bindir}/${i} %{buildroot}%{_bindir}/${i}2
60done
61
62find %{buildroot} -name '*.la' -exec rm -f {} ';'
63
64%post -p /sbin/ldconfig
65
66%postun -p /sbin/ldconfig
67
68%files
69%license COPYING.txt
70%doc CHANGES.txt
71%{_bindir}/playmus2
72%{_bindir}/playwave2
73%{_libdir}/lib*.so.*
74
75%files devel
76%doc README.txt
77%{_libdir}/lib*.so
78%{_libdir}/pkgconfig/%{name}.pc
79%{_includedir}/SDL2/*
80
81%changelog
82* Wed May 23 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.2-1
83- update to 2.0.2
84
85* Sun Apr 16 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.1-1
86
87* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
88- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
89
90* Sun Jan 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.1-1
91- Update to 2.0.1 (RHBZ #1296752)
92
93* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-8
94- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
95
96* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-7
97- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
98
99* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-6
100- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
101
102* Thu May 01 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-5
103- Fix FTBFS with autoreconf
104
105* Thu May 01 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-4
106- Add patch for properly include modplug (RHBZ #1093378)
107
108* Wed Nov 20 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-3
109- Add some BuildRequires (cicku)
110- Delete pkgconfig from -devel subpackage (cicku)
111- Removing external folder in prep section (ignatenkobrain)
112- Fix license to correct zlib (cicku & ignatenkobrain)
113
114* Mon Nov 18 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-2
115- Update for review
116
117* Sat Sep  7 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-1
118- Based on SDL_mixer
Note: See TracBrowser for help on using the repository browser.