Advertisement
panoramix1246

mpg123.spec

Oct 31st, 2012
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 2.12 KB | None | 0 0
  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.14.4
  8. Release:        1
  9. URL:            http://www.mpg123.org/
  10. License:        GPL
  11. Group:          Applications/Multimedia
  12. Packager:       Michael Ryzhykh <mclroy@gmail.com>
  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.  
  19. %description
  20. This is a console based decoder/player for mono/stereo mpeg audio files,
  21. probably more familiar as MP3 or MP2 files. It's focus is speed.
  22. It can play MPEG1.0/2.0/2.5 layer I, II, II (1, 2, 3;-) files
  23. (VBR files are fine, too) and produce output on a number of different ways:
  24. raw data to stdout and different sound systems depending on your platform.
  25.  
  26. %package devel
  27. Summary:        Files needed for development with mpg123
  28. Group:          Development/Libraries
  29.  
  30. %description devel
  31. Libraries and header files for development with mpg123.
  32.  
  33. %prep
  34. %setup -q -n %name-%version
  35.  
  36. %build
  37. %configure --with-cpu=x86_dither --enable-shared --enable-static --disable-ltdl-install
  38. make
  39.  
  40. %install
  41. %{__rm} -rf %{buildroot}
  42. %makeinstall
  43.  
  44. %clean
  45. %{__rm} -rf %{buildroot}
  46.  
  47. %files
  48. %defattr(755,root,root)
  49. %{_bindir}/*
  50. %defattr(644,root,root)
  51. %doc %{_mandir}/*/mpg123.1.gz
  52. %{_libdir}/libmpg123.so.*
  53. %{_libdir}/mpg123/output_*.la
  54. %{_libdir}/mpg123/output_*.so
  55.  
  56. %files devel
  57. %defattr(644,root,root)
  58. %{_libdir}/pkgconfig/libmpg123.pc
  59. %{_includedir}/*.h
  60. %{_libdir}/libmpg123.a
  61. %{_libdir}/libmpg123.la
  62. %{_libdir}/libmpg123.so
  63. %exclude %{_libdir}/mpg123/output_*.a
  64.  
  65. %changelog
  66. * Tue Jan  1 2008 Michael Ryzhykh <mclroy@gmail.com>
  67. - Initial Version.
  68.  
  69.  
  70. "mpg123.spec" 68L, 1920C                                      1,1           Cim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement