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

Revision 9032, 5.7 KB checked in by inagaki, 9 years ago (diff)

2014-10-27 Ryoichi INAGAKI <ryo1@…>

  • herqq, libalkimia: added Group tag
  • kdelibs3: omitted some binary files
  • libmikmod, libsocialweb, rtmpdump: changed Group


Line 
1Summary: A MOD music file player library
2Name: libmikmod
3Version: 3.3.7
4Release: 1%{?_dist_release}
5
6License: GPLv2 and LGPLv2+
7Group: System Environment/Libraries
8URL: http://mikmod.sourceforge.net/
9
10Source0: http://downloads.sourceforge.net/project/mikmod/libmikmod/3.3.7/%{name}-%{version}.tar.gz
11Patch0:  libmikmod-64bit.patch
12Patch1:  libmikmod-multilib.patch
13Patch2:  libmikmod-cflags.patch
14
15Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
16BuildRequires: alsa-lib-devel
17BuildRequires: pulseaudio-libs-devel
18
19Vendor: Project Vine
20Distribution: Vine Linux
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
28Summary: Header files and documentation for compiling mikmod applications
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires(post): /sbin/install-info
32Requires(postun): /sbin/install-info
33Provides: mikmod-devel = %{version}-%{release}
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%patch1 -p1 -b .multilib
44%patch2 -p1 -b .cflags
45
46%build
47%configure --enable-dl --enable-alsa --disable-simd
48make %{?_smp_flags}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
53rm -f $RPM_BUILD_ROOT%{_infodir}/dir $RPM_BUILD_ROOT%{_libdir}/*.a
54find $RPM_BUILD_ROOT | grep "\\.la$" | xargs rm -f
55
56%clean
57rm -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
67if [ $1 = 0 ] ; then
68        [ -x /sbin/install-info ] && /sbin/install-info  --delete %{_infodir}/mikmod.info %{_infodir}/dir > /dev/null 2>&1 || :
69fi
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
Note: See TracBrowser for help on using the repository browser.