[521] | 1 | # libmikmod rpm specification file |
---|
| 2 | %define lversion 3.1.11 |
---|
| 3 | |
---|
| 4 | Summary: A MOD music file player. |
---|
| 5 | Summary(ja): MOD ファイル再生プログラム |
---|
| 6 | Name: mikmod |
---|
| 7 | Version: 3.1.6 |
---|
[5648] | 8 | Release: 35%{?_dist_release} |
---|
[521] | 9 | License: GPL/LGPL |
---|
| 10 | Group: Applications/Multimedia |
---|
[5648] | 11 | Requires(pre): /sbin/ldconfig |
---|
[521] | 12 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | URL: http://mikmod.raphnet.net/ |
---|
| 14 | Source0: http://mikmod.raphnet.net/files/mikmod-%{version}.tar.gz |
---|
| 15 | Source1: http://mikmod.raphnet.net/files/libmikmod-%{lversion}.tar.gz |
---|
| 16 | Patch0: http://mikmod.raphnet.net/files/libmikmod-3.1.11-a.diff |
---|
| 17 | Patch1: mikmod-strip.patch |
---|
| 18 | Patch2: libmikmod-esd.patch |
---|
| 19 | Patch3: libmikmod-64bit.patch |
---|
| 20 | Patch4: patch-mikmod-3.1.6-a |
---|
| 21 | Patch5: mikmod-3.1.6-varargs.patch |
---|
| 22 | Patch6: libmikmod-strip-lib.patch |
---|
| 23 | Provides: libmikmod = %{lversion}-%{release} |
---|
| 24 | #Obsoletes: tracker |
---|
| 25 | |
---|
[5648] | 26 | Requires: gpm ncurses |
---|
| 27 | #BuildRequires: gpm ncurses |
---|
| 28 | BuildRequires: ncurses-devel texinfo |
---|
| 29 | |
---|
[521] | 30 | Vendor: Project Vine |
---|
| 31 | Distribution: Vine Linux |
---|
| 32 | Packager: OOI Keita <ooi.keita@gmail.com> |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | MikMod is one of the best and most well known MOD music file players |
---|
| 36 | for UNIX-like systems. This particular distribution is intended to |
---|
| 37 | compile fairly painlessly in a Linux environment. MikMod uses the OSS |
---|
| 38 | /dev/dsp driver including all recent kernels for output, and will also |
---|
| 39 | write .wav files. Supported file formats include MOD, STM, S3M, MTM, |
---|
| 40 | XM, ULT, and IT. The player uses ncurses for console output and |
---|
| 41 | supports transparent loading from gzip/pkzip/zoo archives and the |
---|
| 42 | loading/saving of playlists. |
---|
| 43 | |
---|
| 44 | Install the mikmod package if you need a MOD music file player. |
---|
| 45 | |
---|
| 46 | %description -l ja |
---|
| 47 | mikmod はとても手軽な音楽トラック再生プログラムです。 |
---|
| 48 | 幅広い種類のモジュール形式に対応しており、 |
---|
| 49 | その中には Impulse Tracker の圧縮サンプルも含まれます。 |
---|
| 50 | その他にも、多くのアーカイブ形式にも対応しています。 |
---|
| 51 | |
---|
| 52 | %package devel |
---|
| 53 | Group: Development/Libraries |
---|
| 54 | Summary: Header files and documentation for compiling mikmod applications. |
---|
| 55 | Requires: %{name} = %{version}-%{release} |
---|
[5648] | 56 | Requires(pre): /sbin/install-info |
---|
[521] | 57 | Provides: libmikmod-devel = %{lversion}-%{release} |
---|
| 58 | |
---|
| 59 | %description devel |
---|
| 60 | This package includes the header files you will need to compile |
---|
| 61 | applications for mikmod. |
---|
| 62 | |
---|
| 63 | %prep |
---|
| 64 | %setup -q -a 1 |
---|
| 65 | %patch0 -p0 |
---|
| 66 | %patch1 -p1 -b .strip |
---|
| 67 | %patch2 -p1 -b .esd |
---|
| 68 | %patch3 -p1 |
---|
| 69 | %patch4 -p1 -b .orig |
---|
| 70 | %patch5 -p1 |
---|
| 71 | %patch6 -p1 -b .lib-strip |
---|
| 72 | |
---|
| 73 | %build |
---|
| 74 | rm -rf $RPM_BUILD_ROOT |
---|
| 75 | cd libmikmod-%{lversion} |
---|
[5648] | 76 | cp /usr/share/libtool/config/config.{sub,guess} . |
---|
[521] | 77 | %configure |
---|
| 78 | make |
---|
[5648] | 79 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 80 | cd .. |
---|
| 81 | |
---|
| 82 | # Trick it into compiling while libmikmod is not installed... |
---|
[5648] | 83 | export LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_prefix}/lib:$LD_LIBRARY_PATH |
---|
| 84 | perl -pi -e "s,-lmikmod,-I$RPM_BUILD_ROOT%{_prefix}/include -L$RPM_BUILD_ROOT%{_libdir} -lmikmod,g" libmikmod-%{lversion}/libmikmod-config |
---|
[521] | 85 | export LIBMIKMOD_CONFIG=`pwd`/libmikmod-%{lversion}/libmikmod-config |
---|
[5648] | 86 | cp /usr/share/libtool/config/config.{sub,guess} . |
---|
[521] | 87 | %configure \ |
---|
[5648] | 88 | --with-libmikmod-prefix=$RPM_BUILD_ROOT%{_prefix} \ |
---|
| 89 | --with-libmikmod-exec-prefix=$RPM_BUILD_ROOT%{_prefix}/bin \ |
---|
[521] | 90 | --disable-libmikmodtest |
---|
| 91 | make CFLAGS="$RPM_OPT_FLAGS `libmikmod-%{lversion}/libmikmod-config --cflags` -I." |
---|
| 92 | |
---|
| 93 | %install |
---|
[5648] | 94 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 95 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
| 96 | |
---|
| 97 | ## remove unuse files |
---|
| 98 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 99 | |
---|
| 100 | %clean |
---|
| 101 | rm -fr $RPM_BUILD_ROOT |
---|
| 102 | |
---|
| 103 | %post -p /sbin/ldconfig |
---|
| 104 | |
---|
| 105 | %post devel |
---|
| 106 | /sbin/install-info %{_infodir}/mikmod.info.gz %{_infodir}/dir |
---|
| 107 | |
---|
| 108 | %postun -p /sbin/ldconfig |
---|
| 109 | |
---|
| 110 | %postun devel |
---|
| 111 | if [ $1 = 0 ] ; then |
---|
| 112 | /sbin/install-info --delete %{_infodir}/mikmod.info.gz %{_infodir}/dir |
---|
| 113 | fi |
---|
| 114 | |
---|
| 115 | %files |
---|
| 116 | %defattr(-, root, root) |
---|
| 117 | %doc AUTHORS COPYING NEWS README |
---|
| 118 | %doc libmikmod-%{lversion}/TODO |
---|
| 119 | %{_bindir}/mikmod |
---|
| 120 | %{_mandir}/man1/mikmod* |
---|
[5648] | 121 | %{_libdir}/*.so.* |
---|
[521] | 122 | |
---|
| 123 | %files devel |
---|
| 124 | %defattr(-, root, root) |
---|
| 125 | %{_bindir}/*-config |
---|
[5648] | 126 | %{_libdir}/*.so |
---|
[521] | 127 | %{_libdir}/*.a |
---|
| 128 | #%{_libdir}/*.la |
---|
| 129 | %{_datadir}/aclocal/* |
---|
| 130 | %{_includedir}/* |
---|
| 131 | %{_infodir}/mikmod* |
---|
| 132 | %{_mandir}/man1/libmikmod-config* |
---|
| 133 | |
---|
| 134 | %changelog |
---|
[5648] | 135 | * Tue Feb 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.6-35 |
---|
| 136 | - rebuild with Vine6 environment |
---|
| 137 | |
---|
[521] | 138 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 3.1.6-34vl5 |
---|
| 139 | - applied new versioning policy, spec in utf-8 |
---|
| 140 | - removed *.la |
---|
| 141 | |
---|
| 142 | * Thu Mar 10 2005 OOI Keita <ooi.keita@gmail.com> 3.1.6-33vl2 |
---|
| 143 | - build for vine |
---|
| 144 | - add ja summary and description from deb |
---|
| 145 | |
---|
| 146 | * Tue Dec 21 2004 Martin Stransky <stransky@redhat.com> 3.1.6-33 |
---|
| 147 | - strip library (#143258) |
---|
| 148 | |
---|
| 149 | * Mon Dec 13 2004 Bill Nottingham <notting@redhat.com> 3.1.6-31 |
---|
| 150 | - move mikmod binary back to main package (#142668) |
---|
| 151 | |
---|
| 152 | * Fri Oct 8 2004 Bill Nottingham <notting@redhat.com> 3.1.6-30 |
---|
| 153 | - add texinfo buildreqs (#135088) |
---|
| 154 | |
---|
| 155 | * Wed Oct 6 2004 Bill Nottingham <notting@redhat.com> 3.1.6-29 |
---|
| 156 | - install-info scripts go with -devel (#134882) |
---|
| 157 | |
---|
| 158 | * Wed Sep 22 2004 Than Ngo <than@redhat.com> 3.1.6-28 |
---|
| 159 | - increase release number |
---|
| 160 | |
---|
| 161 | * Wed Sep 22 2004 Than Ngo <than@redhat.com> 3.1.6-27 |
---|
| 162 | - new devel sub package, multiarch problem |
---|
| 163 | - add /sbin/ldconfig in Prereq |
---|
| 164 | - cleanup specfile |
---|
| 165 | |
---|
| 166 | * Wed Aug 4 2004 Miloslav Trmac <mitr@redhat.com> - 3.1.6-26 |
---|
| 167 | - Update to libmikmod-3.1.11-a, fixes #116182 |
---|
| 168 | |
---|
| 169 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 170 | - rebuilt |
---|
| 171 | |
---|
| 172 | * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 173 | - rebuilt |
---|
| 174 | |
---|
| 175 | * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 176 | - rebuilt |
---|
| 177 | |
---|
| 178 | * Wed Jul 23 2003 Bill Nottingham <notting@redhat.com> 3.1.6-23 |
---|
| 179 | - remove URL (#77375) |
---|
| 180 | |
---|
| 181 | * Mon Jul 14 2003 Bill Nottingham <notting@redhat.com> 3.1.6-22 |
---|
| 182 | - fix build with gcc-3.3 some more |
---|
| 183 | |
---|
| 184 | * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
---|
| 185 | - rebuilt |
---|
| 186 | |
---|
| 187 | * Thu May 22 2003 Bill Nottingham <notting@redhat.com> 3.1.6-21 |
---|
| 188 | - fix build with gcc-3.3 |
---|
| 189 | |
---|
| 190 | * Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
---|
| 191 | - rebuilt |
---|
| 192 | |
---|
| 193 | * Tue Jan 7 2003 Jeff Johnson <jbj@redhat.com> 3.1.6-19 |
---|
| 194 | - don't include -debuginfo files in package. |
---|
| 195 | |
---|
| 196 | * Sat Nov 02 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 197 | - add further lib64 support, clean up spec file |
---|
| 198 | |
---|
| 199 | * Sat Oct 12 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 200 | - add 64bit patch |
---|
| 201 | |
---|
| 202 | * Thu Jul 18 2002 Bill Nottingham <notting@redhat.com> |
---|
| 203 | - don't strip binaries |
---|
| 204 | - fix buffering with esd output (#57154, <stssppnn@yahoo.com>) |
---|
| 205 | |
---|
| 206 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 207 | - automated rebuild |
---|
| 208 | |
---|
| 209 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
| 210 | - automated rebuild |
---|
| 211 | |
---|
| 212 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
| 213 | - automated rebuild |
---|
| 214 | |
---|
| 215 | * Fri Jul 20 2001 Bill Nottingham <notting@redhat.com> |
---|
| 216 | - add buildprereq for ncurses-devel (#49524) |
---|
| 217 | |
---|
| 218 | * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> |
---|
| 219 | - Bump release + rebuild. |
---|
| 220 | |
---|
| 221 | * Thu Dec 7 2000 Bill Nottingham <notting@redhat.com> |
---|
| 222 | - fix %doc generation |
---|
| 223 | |
---|
| 224 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 225 | - automatic rebuild |
---|
| 226 | |
---|
| 227 | * Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> |
---|
| 228 | - FHS fixes, etc. |
---|
| 229 | |
---|
| 230 | * Mon Apr 3 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 231 | - rebuild with current ncurses |
---|
| 232 | - library 3.1.9 |
---|
| 233 | - fix build when libmikmod is not already installed |
---|
| 234 | |
---|
| 235 | * Thu Feb 3 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 236 | - gzip info page (Bug #9035) |
---|
| 237 | - Update URL and Source fields to present location |
---|
| 238 | |
---|
| 239 | * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> |
---|
| 240 | - fix description |
---|
| 241 | - get rid of useless defines |
---|
| 242 | |
---|
| 243 | * Tue Jan 11 2000 Bill Nottingham <notting@redhat.com> |
---|
| 244 | - update lib to 3.1.8 |
---|
| 245 | |
---|
| 246 | * Mon Aug 2 1999 Bill Nottingham <notting@redhat.com> |
---|
| 247 | - add more patches |
---|
| 248 | |
---|
| 249 | * Fri Jul 30 1999 Bill Nottingham <notting@redhat.com> |
---|
| 250 | - update to 3.1.6/3.1.7 |
---|
| 251 | |
---|
| 252 | * Mon Mar 22 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 253 | - fixed spec file description and group according to sepcspo |
---|
| 254 | |
---|
| 255 | * Mon Mar 22 1999 Michael Maher <mike@redhat.com> |
---|
| 256 | - changed spec file, updated package |
---|
| 257 | - added libmikmod to the package |
---|
| 258 | |
---|
| 259 | * Mon Feb 15 1999 Miodrag Vallat <miodrag@multimania.com> |
---|
| 260 | - Created for 3.1.5 |
---|
| 261 | |
---|
| 262 | * Tue Jan 24 1999 Michael Maher <mike@redhat.com> |
---|
| 263 | - changed group |
---|
| 264 | - fixed bug #145 |
---|
| 265 | |
---|
| 266 | * Fri Sep 04 1998 Michael Maher <mike@redhat.com> |
---|
| 267 | - added patch for alpha |
---|
| 268 | |
---|
| 269 | * Wed Sep 02 1998 Michael Maher <mike@redhat.com> |
---|
| 270 | - built package; obsoletes the ancient tracker program. |
---|
| 271 | |
---|