libshout-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. Summary: Icecast streaming library
  2. Summary(ja): Icecast ストリーミングライブラリ
  3. Name: libshout
  4. Version: 2.2.2
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://www.icecast.org/
  9. Source: http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz
  10. Patch0: libshout-2.2.2-fix_speex.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: libogg-devel
  13. BuildRequires: libvorbis-devel
  14. BuildRequires: libtheora-devel
  15. BuildRequires: speex-devel
  16. %description
  17. libshout is a library for communicating with and sending data to an
  18. icecast server. It handles the socket connection, the timing of the
  19. data, and prevents most bad data from getting to the icecast server.
  20. %package devel
  21. Summary: Development files for %{name}
  22. Summary(ja): %{name} の開発ファイル
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: libogg-devel
  26. Requires: libvorbis-devel
  27. Requires: libtheora-devel
  28. Requires: speex-devel
  29. %description devel
  30. The libshout-devel package contains the header files needed for developing
  31. applications that send data to an icecast server. Install libshout-devel if
  32. you want to develop applications using libshout.
  33. %prep
  34. %setup -q
  35. %patch0 -p1 -b .fix_speex
  36. %build
  37. %configure --disable-static
  38. # clean unused-direct-shlib-dependencies
  39. sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make DESTDIR="$RPM_BUILD_ROOT" INSTALL="install -p " install
  44. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  45. rm -rf $RPM_BUILD_ROOT%{_docdir}
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files
  51. %defattr(-,root,root,-)
  52. %doc COPYING NEWS README
  53. %{_libdir}/libshout.so.*
  54. %files devel
  55. %defattr(-,root,root,-)
  56. %doc examples/*.c doc/*.xml doc/*.xsl
  57. %{_libdir}/libshout.so
  58. %{_libdir}/pkgconfig/shout.pc
  59. %dir %{_includedir}/shout/
  60. %{_includedir}/shout/shout.h
  61. %{_datadir}/aclocal/shout.m4
  62. %changelog
  63. * Thu Oct 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-1
  64. - initial build for Vine Linux
  65. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.2-3
  66. - Autorebuild for GCC 4.3
  67. * Fri Dec 7 2007 kwizart < kwizart at gmail.com > - 2.2.2-2
  68. - Fix http://bugzilla.redhat.com/415121
  69. - Add disable-static
  70. - Don't use makeinstall macro
  71. - Update License field
  72. * Thu Sep 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
  73. - 2.2.2-1
  74. - updated to new release
  75. * Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
  76. - 2.2-3
  77. - add Requires: to -devel package
  78. * Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
  79. - 2.2-2
  80. - rebuild to please the extras repository
  81. * Fri Mar 10 2006 Thomas Vander Stichele <thomas at apestaart dot org>
  82. - 2.2-1
  83. - new (incompatible) version, but deps are updated
  84. - various cleanups
  85. * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.0.9-4
  86. - rebuild on all arches
  87. * Fri Apr 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.9-3
  88. - Include headers directory entry in -devel package.
  89. * Sat Feb 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.0.9-2
  90. - Remove redundant explicit /sbin/ldconfig dependency.
  91. * Wed Jun 04 2003 Thomas Vander Stichele <thomas at apestaart dot org>
  92. - 1.0.9-0.fdr.1: initial RPM release