1 | Summary: A MOD music file player library |
---|
2 | Name: libmikmod |
---|
3 | Version: 3.3.7 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | License: GPLv2 and LGPLv2+ |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: http://mikmod.sourceforge.net/ |
---|
9 | |
---|
10 | Source0: http://downloads.sourceforge.net/project/mikmod/libmikmod/3.3.7/%{name}-%{version}.tar.gz |
---|
11 | Patch0: libmikmod-64bit.patch |
---|
12 | Patch1: libmikmod-multilib.patch |
---|
13 | Patch2: libmikmod-cflags.patch |
---|
14 | |
---|
15 | Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
16 | BuildRequires: alsa-lib-devel |
---|
17 | BuildRequires: pulseaudio-libs-devel |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | |
---|
22 | %description |
---|
23 | libmikmod is a library used by the mikmod MOD music file player for |
---|
24 | UNIX-like systems. Supported file formats include MOD, STM, S3M, MTM, |
---|
25 | XM, ULT and IT. |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Header files and documentation for compiling mikmod applications |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | Requires(post): /sbin/install-info |
---|
32 | Requires(postun): /sbin/install-info |
---|
33 | Provides: mikmod-devel = %{version}-%{release} |
---|
34 | Obsoletes: mikmod-devel < 3.2.2 |
---|
35 | |
---|
36 | %description devel |
---|
37 | This package includes the header files you will need to compile |
---|
38 | applications for mikmod. |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | %patch0 -p1 -b .64bit |
---|
43 | %patch1 -p1 -b .multilib |
---|
44 | %patch2 -p1 -b .cflags |
---|
45 | |
---|
46 | %build |
---|
47 | %configure --enable-dl --enable-alsa --disable-simd |
---|
48 | make %{?_smp_flags} |
---|
49 | |
---|
50 | %install |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
53 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
54 | find $RPM_BUILD_ROOT | grep "\\.la$" | xargs rm -f |
---|
55 | |
---|
56 | %clean |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | |
---|
59 | %post -p /sbin/ldconfig |
---|
60 | |
---|
61 | %post devel |
---|
62 | [ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/mikmod.info %{_infodir}/dir > /dev/null 2>&1 || : |
---|
63 | |
---|
64 | %postun -p /sbin/ldconfig |
---|
65 | |
---|
66 | %postun devel |
---|
67 | if [ $1 = 0 ] ; then |
---|
68 | [ -x /sbin/install-info ] && /sbin/install-info --delete %{_infodir}/mikmod.info %{_infodir}/dir > /dev/null 2>&1 || : |
---|
69 | fi |
---|
70 | |
---|
71 | %files |
---|
72 | %defattr(-, root, root) |
---|
73 | %doc AUTHORS COPYING.LIB COPYING.LESSER NEWS README TODO |
---|
74 | %{_libdir}/*.so.* |
---|
75 | |
---|
76 | %files devel |
---|
77 | %defattr(-, root, root) |
---|
78 | %{_bindir}/*-config |
---|
79 | %{_libdir}/*.so |
---|
80 | %{_libdir}/pkgconfig/%{name}.pc |
---|
81 | %{_datadir}/aclocal/* |
---|
82 | %{_includedir}/* |
---|
83 | %{_infodir}/mikmod* |
---|
84 | %{_mandir}/man1/libmikmod-config* |
---|
85 | |
---|
86 | %changelog |
---|
87 | * Mon Oct 27 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.3.7-1 |
---|
88 | - new upstream release |
---|
89 | - updated Patch0, 1 (re-numbered from Patch 2) |
---|
90 | - added Patch2 from fc |
---|
91 | - dropt Patch 1, 5 and 6 |
---|
92 | - added BR: alsa-lib-devel, pulseaudio-libs-devel |
---|
93 | |
---|
94 | * Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
95 | - initial build for Vine Linux |
---|
96 | |
---|
97 | * Wed Jun 06 2012 Jindrich Novy <jnovy@redhat.com> 3.2.0-1 |
---|
98 | - update to stable libmikmod-3.2.0 |
---|
99 | |
---|
100 | * Sun May 13 2012 Karsten Hopp <karsten@redhat.com> 3.2.0-14.beta4.1 |
---|
101 | - disable altivec (used on PPC only) |
---|
102 | |
---|
103 | * Sun May 13 2012 Jindrich Novy <jnovy@redhat.com> - 3.2.0-13.beta4 |
---|
104 | - update to 3.2.0-beta4 |
---|
105 | |
---|
106 | * Tue Apr 10 2012 Jindrich Novy <jnovy@redhat.com> - 3.2.0-13.beta3 |
---|
107 | - update to 3.2.0-beta3 |
---|
108 | - drop upstreamed patches, forwardport the rest |
---|
109 | |
---|
110 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-13.beta2 |
---|
111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
112 | |
---|
113 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-12.beta2 |
---|
114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
115 | |
---|
116 | * Fri Aug 20 2010 Jindrich Novy <jnovy@redhat.com> 3.2.0-11.beta2 |
---|
117 | - update the CVE-2009-3995,3996 patch and fix its naming |
---|
118 | |
---|
119 | * Thu Jul 15 2010 Jindrich Novy <jnovy@redhat.com> 3.2.0-10.beta2 |
---|
120 | - fix CVE-2009-3995,3996 (#614643) |
---|
121 | |
---|
122 | * Mon Nov 23 2009 Hans de Goede <hdegoede@redhat.com> 3.2.0-9.beta2 |
---|
123 | - Fix CVE-2007-6720 fix, it causes mods to sound wrong, and even causes |
---|
124 | crashes under certain circumstances (#540234), see: |
---|
125 | http://bugzilla.libsdl.org/show_bug.cgi?id=506 |
---|
126 | |
---|
127 | * Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-8.beta2 |
---|
128 | - fix CVE-2009-0179 (#519992) |
---|
129 | |
---|
130 | * Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-7.beta2 |
---|
131 | - fix CVE-2007-6720 (#519990) |
---|
132 | |
---|
133 | * Tue Aug 11 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-6.beta2 |
---|
134 | - don't complain if installing with --excludedocs (#515953) |
---|
135 | - add missing requires |
---|
136 | |
---|
137 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-5.beta2 |
---|
138 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
139 | |
---|
140 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-4.beta2 |
---|
141 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
142 | |
---|
143 | * Mon Feb 18 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.0-3.beta2 |
---|
144 | - Fix MikMod_InfoLoader() and MikMod_InfoDriver() functions, fixing mikmod -n |
---|
145 | output |
---|
146 | |
---|
147 | * Mon Feb 18 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.0-2.beta2 |
---|
148 | - Replace completely braindead (hint to author, drink coffee first, then code) |
---|
149 | esd non blocking patch with one that actually works. This fixes using mikmod |
---|
150 | with pulseaudio (bz 247865) |
---|
151 | - Note: this makes the 2 supported output devices oss and esd (and pulseaudio's |
---|
152 | esd emulation) alsa is not supported, this requires a rewrite of the mikmod |
---|
153 | alsa code which was written for alsa-0.5 and never updated for the new alsa |
---|
154 | 0.9/1.0 api |
---|
155 | |
---|
156 | * Fri Feb 15 2008 Jindrich Novy <jnovy@redhat.com> 3.2.0-1 |
---|
157 | - update to libmikmod-3.2.0-beta2 |
---|
158 | - fix playback on 64bit arches |
---|
159 | |
---|
160 | * Thu Feb 14 2008 Jindrich Novy <jnovy@redhat.com> 3.1.11-5 |
---|
161 | - fix rpath patch so that there are no undefined symbols in |
---|
162 | libmikmod.so (#431745) |
---|
163 | |
---|
164 | * Thu Oct 25 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-4 |
---|
165 | - virtually provide mikmod-devel |
---|
166 | |
---|
167 | * Wed Oct 24 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-3 |
---|
168 | - add multilib patch |
---|
169 | |
---|
170 | * Tue Oct 23 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-2 |
---|
171 | - update description |
---|
172 | - add smp_flags to make |
---|
173 | - don't ship static library |
---|
174 | - update upstream patch, drop texinfo dependency (thanks to Stepan Kasal) |
---|
175 | |
---|
176 | * Wed Oct 18 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-1 |
---|
177 | - package libmikmod |
---|