libshout-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Summary: Icecast streaming library
  2. Summary(ja): Icecast ストリーミングライブラリ
  3. Name: libshout
  4. Version: 2.2.2
  5. Release: 3%{?_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}-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. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.2-3
  64. - rebuild with VineSeed environment
  65. * Fri Sep 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.2-2
  66. - rebuilt with rpm-4.8.1 for pkg-config
  67. * Thu Oct 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-1
  68. - initial build for Vine Linux
  69. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.2-3
  70. - Autorebuild for GCC 4.3
  71. * Fri Dec 7 2007 kwizart < kwizart at gmail.com > - 2.2.2-2
  72. - Fix http://bugzilla.redhat.com/415121
  73. - Add disable-static
  74. - Don't use makeinstall macro
  75. - Update License field
  76. * Thu Sep 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
  77. - 2.2.2-1
  78. - updated to new release
  79. * Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
  80. - 2.2-3
  81. - add Requires: to -devel package
  82. * Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
  83. - 2.2-2
  84. - rebuild to please the extras repository
  85. * Fri Mar 10 2006 Thomas Vander Stichele <thomas at apestaart dot org>
  86. - 2.2-1
  87. - new (incompatible) version, but deps are updated
  88. - various cleanups
  89. * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.0.9-4
  90. - rebuild on all arches
  91. * Fri Apr 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.9-3
  92. - Include headers directory entry in -devel package.
  93. * Sat Feb 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.0.9-2
  94. - Remove redundant explicit /sbin/ldconfig dependency.
  95. * Wed Jun 04 2003 Thomas Vander Stichele <thomas at apestaart dot org>
  96. - 1.0.9-0.fdr.1: initial RPM release