This commit is contained in:
parent
9f0ee372fb
commit
e9d0d5f303
@ -1,25 +1,24 @@
|
|||||||
Name: libshout
|
Name: libshout
|
||||||
Version: 2.2.2
|
Version: 2.2.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: icecast source streaming library
|
Summary: Icecast source streaming library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: LGPL
|
License: LGPLv2+
|
||||||
URL: http://www.icecast.org/
|
URL: http://www.icecast.org/
|
||||||
Source: http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz
|
Source: http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz
|
||||||
|
Patch0: libshout-2.2.2-fix_speex.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: libogg-devel
|
BuildRequires: libogg-devel
|
||||||
BuildRequires: libvorbis-devel
|
BuildRequires: libvorbis-devel
|
||||||
BuildRequires: libtheora-devel
|
BuildRequires: libtheora-devel
|
||||||
BuildRequires: speex-devel
|
BuildRequires: speex-devel
|
||||||
|
|
||||||
# so it generates and installs the .pc file
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ibshout is a library for communicating with and sending data to an
|
libshout is a library for communicating with and sending data to an
|
||||||
icecast server. It handles the socket connection, the timing of the
|
icecast server. It handles the socket connection, the timing of the
|
||||||
data, and prevents most bad data from getting to the icecast server.
|
data, and prevents most bad data from getting to the icecast server.
|
||||||
|
|
||||||
@ -40,15 +39,20 @@ you want to develop applications using libshout.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .fix_speex
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --disable-static
|
||||||
|
|
||||||
|
# clean unused-direct-shlib-dependencies
|
||||||
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%makeinstall
|
make DESTDIR="$RPM_BUILD_ROOT" INSTALL="install -p " install
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
||||||
|
|
||||||
@ -69,7 +73,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc examples/*.c doc/*.xml doc/*.xsl
|
%doc examples/*.c doc/*.xml doc/*.xsl
|
||||||
%{_libdir}/libshout.a
|
|
||||||
%{_libdir}/libshout.so
|
%{_libdir}/libshout.so
|
||||||
%{_libdir}/pkgconfig/shout.pc
|
%{_libdir}/pkgconfig/shout.pc
|
||||||
%dir %{_includedir}/shout/
|
%dir %{_includedir}/shout/
|
||||||
@ -77,6 +80,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/aclocal/shout.m4
|
%{_datadir}/aclocal/shout.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 7 2007 kwizart < kwizart at gmail.com > - 2.2.2-2
|
||||||
|
- Fix http://bugzilla.redhat.com/415121
|
||||||
|
- Add disable-static
|
||||||
|
- Don't use makeinstall macro
|
||||||
|
- Update License field
|
||||||
|
|
||||||
* Thu Sep 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
* Thu Sep 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
- 2.2.2-1
|
- 2.2.2-1
|
||||||
- updated to new release
|
- updated to new release
|
||||||
|
Loading…
Reference in New Issue
Block a user