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