This commit is contained in:
commit
e408acea4b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
libmikmod-3.1.11.tar.bz2
Normal file
3
libmikmod-3.1.11.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c7f33640c494a61ce53c3547f6b29f3e90e07b14262edc7a9529f17e7e6ec282
|
||||
size 483860
|
20
libmikmod-config-fix.dif
Normal file
20
libmikmod-config-fix.dif
Normal file
@ -0,0 +1,20 @@
|
||||
--- libmikmod-config.in
|
||||
+++ libmikmod-config.in
|
||||
@@ -3,6 +3,7 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
exec_prefix_set=no
|
||||
+libdir=@libdir@
|
||||
|
||||
usage="\
|
||||
Usage: libmikmod-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--ldadd]"
|
||||
@@ -49,8 +50,7 @@
|
||||
echo @LIB_LDADD@
|
||||
;;
|
||||
--libs)
|
||||
- libdir=-L${exec_prefix}/lib
|
||||
- echo $libdir -lmikmod @LIBRARY_LIB@
|
||||
+ echo -L$libdir -lmikmod @LIBRARY_LIB@
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
28
libmikmod-conftest_fix.diff
Normal file
28
libmikmod-conftest_fix.diff
Normal file
@ -0,0 +1,28 @@
|
||||
--- libmikmod.m4
|
||||
+++ libmikmod.m4
|
||||
@@ -64,6 +64,7 @@
|
||||
#include <mikmod.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
char* my_strdup (char *str)
|
||||
{
|
||||
@@ -78,7 +79,7 @@
|
||||
return new_str;
|
||||
}
|
||||
|
||||
-int main()
|
||||
+int main(void)
|
||||
{
|
||||
int major,minor,micro;
|
||||
int libmikmod_major_version,libmikmod_minor_version,libmikmod_micro_version;
|
||||
@@ -118,7 +119,7 @@
|
||||
(libmikmod_micro_version != LIBMIKMOD_REVISION))
|
||||
{
|
||||
printf("*** libmikmod header files (version %d.%d.%d) do not match\n",
|
||||
- LIBMIKMOD_VERSION_MAJOR, LIBMIKMOD_VERSION_MINOR, LIBMIKMOD_REVISION);
|
||||
+ (int)LIBMIKMOD_VERSION_MAJOR, (int)LIBMIKMOD_VERSION_MINOR, (int)LIBMIKMOD_REVISION);
|
||||
printf("*** library (version %d.%d.%d)\n",
|
||||
libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version);
|
||||
}
|
11
libmikmod-m4-fix.dif
Normal file
11
libmikmod-m4-fix.dif
Normal file
@ -0,0 +1,11 @@
|
||||
--- libmikmod.m4-dist 2004-03-04 12:47:24.135379005 +0100
|
||||
+++ libmikmod.m4 2004-03-04 12:47:50.260458034 +0100
|
||||
@@ -8,7 +8,7 @@
|
||||
dnl Test for libmikmod, and define LIBMIKMOD_CFLAGS, LIBMIKMOD_LIBS and
|
||||
dnl LIBMIKMOD_LDADD
|
||||
dnl
|
||||
-AC_DEFUN(AM_PATH_LIBMIKMOD,
|
||||
+AC_DEFUN([AM_PATH_LIBMIKMOD],
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the libmikmod-config script
|
||||
dnl
|
130
libmikmod.changes
Normal file
130
libmikmod.changes
Normal file
@ -0,0 +1,130 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 26 15:51:26 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Added %install_info_prereq.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:37:33 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 4 12:31:35 CET 2005 - ltinkl@suse.cz
|
||||
|
||||
- update to 3.1.11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 8 17:24:37 CEST 2005 - pth@suse.de
|
||||
|
||||
- Fix libmikmod-config for real (#96912)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 6 02:04:59 CEST 2005 - jpr@suse.de
|
||||
|
||||
- Make sure libmikmod-config reports libdir correctly on all
|
||||
architectures (96912)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 14 17:17:06 CEST 2005 - sbrabec@suse.cz
|
||||
|
||||
- Added audiofile-devel to neededforbuild.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 4 19:15:48 CET 2004 - tiwai@suse.de
|
||||
|
||||
- fixed m4 file for the recent autoconf.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 7 09:41:37 CET 2004 - adrian@suse.de
|
||||
|
||||
- fix some autoconf issues
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 14 10:11:36 CET 2003 - adrian@suse.de
|
||||
|
||||
- fix info file name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 13 00:13:10 CET 2003 - adrian@suse.de
|
||||
|
||||
- add %install_info section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 20 17:19:52 CEST 2002 - tiwai@suse.de
|
||||
|
||||
- fixed the detection of 64bit architectures [bug #18106]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 6 11:24:59 CEST 2002 - adrian@suse.de
|
||||
|
||||
- add %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 02:30:16 CEST 2002 - ro@suse.de
|
||||
|
||||
- fix file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 31 20:25:10 CEST 2002 - adrian@suse.de
|
||||
|
||||
- update to version 3.1.10
|
||||
- renamed libmikmo -> libmikmod
|
||||
- fix for lib64 and ppc64
|
||||
- add esd support
|
||||
- add alsa support
|
||||
- use buildroot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 4 14:36:05 CET 2000 - kukuk@suse.de
|
||||
|
||||
- use new long package names
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 17:59:23 CEST 2000 - schwab@suse.de
|
||||
|
||||
- Add %suse_update_config.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 18 09:28:43 CEST 2000 - adrian@suse.de
|
||||
|
||||
- fixed man path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 16 17:41:55 CEST 2000 - adrian@suse.de
|
||||
|
||||
- update to 3.1.9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 2 16:37:17 CEST 2000 - uli@suse.de
|
||||
|
||||
- moved docs to %{_docdir}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 2 15:30:24 CET 2000 - uli@suse.de
|
||||
|
||||
- moved info files to %{_infodir}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 7 10:04:02 MEST 1999 - kettner@suse.de
|
||||
|
||||
- New version 3.1.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 7 10:09:31 MEST 1999 - kettner@suse.de
|
||||
|
||||
- Install additional include files for kmikmod
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 6 09:02:07 MEST 1999 - kettner@suse.de
|
||||
|
||||
- Spec file created from libmikmod-3.1.6.tar.gz by autospec
|
30
libmikmod.diff
Normal file
30
libmikmod.diff
Normal file
@ -0,0 +1,30 @@
|
||||
--- configure.in
|
||||
+++ configure.in 2004/02/07 08:30:41
|
||||
@@ -134,9 +134,8 @@
|
||||
AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
-AM_PROG_LIBTOOL
|
||||
AC_PROG_MAKE_SET
|
||||
-AC_PROG_RANLIB
|
||||
+AC_PROG_LIBTOOL
|
||||
|
||||
# Check if makeinfo support html output. If it doesn't, pretend it's missing
|
||||
# rather than failing rebuilding the documentation.
|
||||
@@ -377,7 +376,7 @@
|
||||
AC_CHECK_FUNCS(setenv snprintf srandom)
|
||||
AC_REPLACE_FUNCS(strcasecmp strdup strstr)
|
||||
# Change extension, as we use libtool
|
||||
-LIBOBJS="`echo $LIBOBJS|sed -e 's/\.o/\.lo/g'`"
|
||||
+# LIBOBJS="`echo $LIBOBJS|sed -e 's/\.o/\.lo/g'`"
|
||||
|
||||
AC_HEADER_EGREP(srandom,math.h,AC_DEFINE(SRANDOM_IN_MATH_H))
|
||||
|
||||
--- include/Makefile.am
|
||||
+++ include/Makefile.am 2004/02/07 08:28:27
|
||||
@@ -1,3 +1,4 @@
|
||||
### This @#!&*%$@ autoconf wants to have a mikmod_build.h.in file !!!
|
||||
EXTRA_DIST = mikmod_internals.h mikmod_build.h.in
|
||||
-include_HEADERS = mikmod.h
|
||||
+include_HEADERS = mikmod.h mikmod_internals.h mikmod_build.h
|
||||
+
|
137
libmikmod.spec
Normal file
137
libmikmod.spec
Normal file
@ -0,0 +1,137 @@
|
||||
#
|
||||
# spec file for package libmikmod (Version 3.1.11)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: libmikmod
|
||||
BuildRequires: esound-devel
|
||||
URL: http://mikmod.raphnet.net/
|
||||
License: LGPL
|
||||
Group: System/Libraries
|
||||
Obsoletes: libmikmo
|
||||
Provides: libmikmo
|
||||
PreReq: %install_info_prereq
|
||||
Autoreqprov: on
|
||||
Summary: MikMod Sound Library
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Version: 3.1.11
|
||||
Release: 2
|
||||
Source0: libmikmod-%{version}.tar.bz2
|
||||
Patch0: libmikmod.diff
|
||||
Patch1: mikmod-64bit-fix.diff
|
||||
Patch2: libmikmod-m4-fix.dif
|
||||
Patch3: libmikmod-config-fix.dif
|
||||
Patch4: libmikmod-conftest_fix.diff
|
||||
|
||||
%description
|
||||
Libmikmod is a portable sound library, capable of playing samples as
|
||||
well as module files. It was originally written by Jean-Paul Mikkers
|
||||
(MikMak) for DOS. It supports OSS /dev/dsp, ALSA, and Esound and can
|
||||
also write wav files. Supported file formats include mod, stm, s3m,
|
||||
mtm, xm, and it.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
|
||||
%build
|
||||
libtoolize -f
|
||||
autoreconf -f -i
|
||||
export CFLAGS="%optflags"
|
||||
%configure
|
||||
|
||||
make
|
||||
|
||||
%install
|
||||
make DESTDIR=%buildroot install
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/mikmod.info.gz
|
||||
|
||||
%postun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/mikmod.info.gz
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README AUTHORS COPYING.LIB NEWS TODO COPYING.LESSER
|
||||
%{_bindir}/*
|
||||
%{_includedir}/*
|
||||
%doc %{_mandir}/man1/*
|
||||
%doc %{_infodir}/mikmod*
|
||||
/%{_libdir}/libmikmod.*
|
||||
%{_datadir}/aclocal/libmikmod.m4
|
||||
|
||||
%changelog -n libmikmod
|
||||
* Thu Jan 26 2006 - sbrabec@suse.cz
|
||||
- Added %%install_info_prereq.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Fri Nov 04 2005 - ltinkl@suse.cz
|
||||
- update to 3.1.11
|
||||
* Thu Sep 08 2005 - pth@suse.de
|
||||
- Fix libmikmod-config for real (#96912)
|
||||
* Tue Sep 06 2005 - jpr@suse.de
|
||||
- Make sure libmikmod-config reports libdir correctly on all
|
||||
architectures (96912)
|
||||
* Thu Apr 14 2005 - sbrabec@suse.cz
|
||||
- Added audiofile-devel to neededforbuild.
|
||||
* Thu Mar 04 2004 - tiwai@suse.de
|
||||
- fixed m4 file for the recent autoconf.
|
||||
* Sat Feb 07 2004 - adrian@suse.de
|
||||
- fix some autoconf issues
|
||||
* Thu Apr 24 2003 - ro@suse.de
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
* Fri Feb 14 2003 - adrian@suse.de
|
||||
- fix info file name
|
||||
* Thu Feb 13 2003 - adrian@suse.de
|
||||
- add %%install_info section
|
||||
* Tue Aug 20 2002 - tiwai@suse.de
|
||||
- fixed the detection of 64bit architectures [bug #18106]
|
||||
* Tue Aug 06 2002 - adrian@suse.de
|
||||
- add %%run_ldconfig
|
||||
* Tue Jun 04 2002 - ro@suse.de
|
||||
- fix file list
|
||||
* Fri May 31 2002 - adrian@suse.de
|
||||
- update to version 3.1.10
|
||||
- renamed libmikmo -> libmikmod
|
||||
- fix for lib64 and ppc64
|
||||
- add esd support
|
||||
- add alsa support
|
||||
- use buildroot
|
||||
* Sat Nov 04 2000 - kukuk@suse.de
|
||||
- use new long package names
|
||||
* Wed Jun 21 2000 - schwab@suse.de
|
||||
- Add %%suse_update_config.
|
||||
* Sun Jun 18 2000 - adrian@suse.de
|
||||
- fixed man path
|
||||
* Fri Jun 16 2000 - adrian@suse.de
|
||||
- update to 3.1.9
|
||||
* Fri Jun 02 2000 - uli@suse.de
|
||||
- moved docs to %%{_docdir}
|
||||
* Thu Mar 02 2000 - uli@suse.de
|
||||
- moved info files to %%{_infodir}
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Tue Sep 07 1999 - kettner@suse.de
|
||||
- New version 3.1.7
|
||||
* Fri May 07 1999 - kettner@suse.de
|
||||
- Install additional include files for kmikmod
|
||||
* Thu May 06 1999 - kettner@suse.de
|
||||
- Spec file created from libmikmod-3.1.6.tar.gz by autospec
|
24
mikmod-64bit-fix.diff
Normal file
24
mikmod-64bit-fix.diff
Normal file
@ -0,0 +1,24 @@
|
||||
--- include/mikmod.h.in-dist 2002-08-20 16:40:45.000000000 +0200
|
||||
+++ include/mikmod.h.in 2002-08-20 16:50:34.000000000 +0200
|
||||
@@ -85,7 +85,8 @@
|
||||
|
||||
@DOES_NOT_HAVE_SIGNED@
|
||||
|
||||
-#if defined(__arch64__) || defined(__alpha)
|
||||
+#include <stdint.h>
|
||||
+#if __WORDSIZE == 64
|
||||
/* 64 bit architectures */
|
||||
|
||||
typedef signed char SBYTE; /* 1 byte, signed */
|
||||
--- include/mikmod_internals.h-dist 2002-08-20 16:41:51.000000000 +0200
|
||||
+++ include/mikmod_internals.h 2002-08-20 16:50:59.000000000 +0200
|
||||
@@ -50,7 +50,8 @@
|
||||
/*========== More type definitions */
|
||||
|
||||
/* SLONGLONG: 64bit, signed */
|
||||
-#if defined (__arch64__) || defined(__alpha)
|
||||
+#include <stdint.h>
|
||||
+#if __WORDSIZE == 64
|
||||
typedef long SLONGLONG;
|
||||
#define NATIVE_64BIT_INT
|
||||
#elif defined(__WATCOMC__)
|
Loading…
Reference in New Issue
Block a user