SDL2_mixer-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Name: SDL2_mixer
  2. Version: 2.0.4
  3. Release: 1%{?_dist_release}
  4. Summary: Simple DirectMedia Layer - Sample Mixer Library
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. Packager: iwaim
  8. Group: System Environment/Libraries
  9. License: zlib
  10. URL: https://www.libsdl.org/projects/SDL_mixer/
  11. Source0: https://www.libsdl.org/projects/SDL_mixer/release/%{name}-%{version}.tar.gz
  12. BuildRequires: SDL2-devel
  13. BuildRequires: libvorbis-devel
  14. BuildRequires: flac-devel
  15. BuildRequires: chrpath
  16. BuildRequires: libmodplug-devel
  17. BuildRequires: fluidsynth-devel
  18. BuildRequires: libmikmod-devel
  19. %description
  20. SDL_mixer is a sample multi-channel audio mixer library.
  21. It supports any number of simultaneously playing channels of 16 bit stereo
  22. audio, plus a single channel of music, mixed by the popular FLAC,
  23. MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries.
  24. %package devel
  25. Summary: Development files for %{name}
  26. Group: Development/Libraries
  27. Requires: %{name}%{?_isa} = %{version}-%{release}
  28. Requires: SDL2-devel
  29. Requires: libvorbis-devel
  30. %description devel
  31. The %{name}-devel package contains libraries and header files for
  32. developing applications that use %{name}.
  33. %prep
  34. %autosetup -p1
  35. sed -i -e 's/\r//g' README.txt CHANGES.txt COPYING.txt
  36. rm -rf external/
  37. %build
  38. %configure --disable-dependency-tracking \
  39. --disable-static
  40. sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
  41. %make_build
  42. %install
  43. %make_install install-bin
  44. for i in playmus playwave
  45. do
  46. chrpath -d %{buildroot}%{_bindir}/${i}
  47. mv %{buildroot}%{_bindir}/${i} %{buildroot}%{_bindir}/${i}2
  48. done
  49. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %license COPYING.txt
  54. %doc CHANGES.txt
  55. %{_bindir}/playmus2
  56. %{_bindir}/playwave2
  57. %{_libdir}/lib*.so.*
  58. %files devel
  59. %doc README.txt
  60. %{_libdir}/lib*.so
  61. %{_libdir}/pkgconfig/%{name}.pc
  62. %{_includedir}/SDL2/*
  63. %changelog
  64. * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.4-1
  65. - new upstream release.
  66. * Wed May 23 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.2-1
  67. - update to 2.0.2
  68. * Sun Apr 16 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.1-1
  69. * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  71. * Sun Jan 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.1-1
  72. - Update to 2.0.1 (RHBZ #1296752)
  73. * Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-8
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  75. * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-7
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  77. * Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-6
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  79. * Thu May 01 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-5
  80. - Fix FTBFS with autoreconf
  81. * Thu May 01 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-4
  82. - Add patch for properly include modplug (RHBZ #1093378)
  83. * Wed Nov 20 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-3
  84. - Add some BuildRequires (cicku)
  85. - Delete pkgconfig from -devel subpackage (cicku)
  86. - Removing external folder in prep section (ignatenkobrain)
  87. - Fix license to correct zlib (cicku & ignatenkobrain)
  88. * Mon Nov 18 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-2
  89. - Update for review
  90. * Sat Sep 7 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-1
  91. - Based on SDL_mixer