source: projects/specs/trunk/lib/libm/libmikmod/libmikmod-vl.spec @ 6414

Revision 6414, 5.5 KB checked in by Takemikaduchi, 12 years ago (diff)

supertuxkart: rebuild
others: new upstream release

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