mpg123.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # This is a generic spec file that should "just work" with rpmbuild on any distro.
  2. # Make sure you have appropriate -devel packes installed:
  3. # - the package providing libltdl.so and .la (libtool or libtool-devel)
  4. # - devel packages for alsa, sdl, etc... to build the respective output modules.
  5. Summary: The fast console mpeg audio decoder/player.
  6. Name: mpg123
  7. Version: 1.17.0
  8. Release: 1
  9. URL: http://www.mpg123.org/
  10. License: GPL
  11. Group: Applications/Multimedia
  12. Packager: Michael Ryzhykh <[email protected]>
  13. Source: http://www.mpg123.org/download/mpg123-%{version}.tar.bz2
  14. BuildRoot: %_tmppath/%name-%version
  15. Prefix: /usr
  16. # That is specific to fedora 4 already.
  17. #BuildPrereq: libtool-ltdl-devel
  18. %description
  19. This is a console based decoder/player for mono/stereo mpeg audio files,
  20. probably more familiar as MP3 or MP2 files. It's focus is speed.
  21. It can play MPEG1.0/2.0/2.5 layer I, II, II (1, 2, 3;-) files
  22. (VBR files are fine, too) and produce output on a number of different ways:
  23. raw data to stdout and different sound systems depending on your platform.
  24. %package devel
  25. Summary: Files needed for development with mpg123
  26. Group: Development/Libraries
  27. %description devel
  28. Libraries and header files for development with mpg123.
  29. %prep
  30. %setup -q -n %name-%version
  31. %build
  32. %configure --with-cpu=x86_dither --enable-shared --enable-static --disable-ltdl-install
  33. make
  34. %install
  35. %{__rm} -rf %{buildroot}
  36. %makeinstall
  37. %clean
  38. %{__rm} -rf %{buildroot}
  39. %files
  40. %defattr(755,root,root)
  41. %{_bindir}/*
  42. %defattr(644,root,root)
  43. %doc %{_mandir}/*/mpg123.1.gz
  44. %{_libdir}/libmpg123.so.*
  45. %{_libdir}/mpg123/output_*.la
  46. %{_libdir}/mpg123/output_*.so
  47. %files devel
  48. %defattr(644,root,root)
  49. %{_libdir}/pkgconfig/libmpg123.pc
  50. %{_includedir}/*.h
  51. %{_libdir}/libmpg123.a
  52. %{_libdir}/libmpg123.la
  53. %{_libdir}/libmpg123.so
  54. %exclude %{_libdir}/mpg123/output_*.a
  55. %changelog
  56. * Tue Jan 1 2008 Michael Ryzhykh <[email protected]>
  57. - Initial Version.