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

Revision 12382, 3.6 KB checked in by tomop, 4 years ago (diff)

updated 8 packages

SDL2-2.0.12-1

SDL2_image-2.0.5-1

SDL2_mixer-2.0.4-1

SDL2_ttf-2.0.15-1

babl-0.1.74-1

bubblewrap-0.4.1-1

gegl04-0.4.22-1

libcap-2.33-1

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