]> git.pld-linux.org Git - packages/libshout.git/blame - libshout.spec
- x32 rebuild
[packages/libshout.git] / libshout.spec
CommitLineData
a9cad682 1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
4#
bf9ff77c 5Summary: libshout - icecast source streaming library
50f56f6b 6Summary(pl.UTF-8): Biblioteka źródeł strumieni icecast
13dfa716 7Name: libshout
02519688 8Version: 2.3.1
e542069c 9Release: 2
f4a8817d 10License: LGPL v2+
13dfa716 11Group: Libraries
ceacd3e4 12Source0: http://downloads.xiph.org/releases/libshout/%{name}-%{version}.tar.gz
02519688 13# Source0-md5: 11765b2592e7ea623ccd93d3f8df172c
13dfa716 14URL: http://www.icecast.org/
203e5d2c 15BuildRequires: autoconf >= 2.54
13dfa716 16BuildRequires: automake
17BuildRequires: libtool
1d12effc 18BuildRequires: libogg-devel
203e5d2c 19BuildRequires: libtheora-devel
1d12effc 20BuildRequires: libvorbis-devel
203e5d2c 21BuildRequires: pkgconfig
fcd8530e 22BuildRequires: speex-devel
13dfa716 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
bf9ff77c 24
25%description
26Libshout is a library for communicating with and sending data to an
13dfa716 27icecast server. It handles the socket connection, the timing of the
bf9ff77c 28data, and prevents most bad data from getting to the icecast server.
29
e1fabe88
JR
30%description -l pl.UTF-8
31libshout to biblioteka do komunikowania się z i wysyłania danych do
32serwera icecast. Obsługuje połączenia, czasy danych i zapobiega
33dotarciu większości złych danych do serwera icecast.
58ce8ca0 34
bf9ff77c 35%package devel
13dfa716 36Summary: Icecast source streaming library development package
50f56f6b 37Summary(pl.UTF-8): Pakiet dla programistów używających libshout
13dfa716 38Group: Development/Libraries
ceacd3e4 39Requires: %{name} = %{version}-%{release}
203e5d2c
JB
40Requires: libogg-devel
41Requires: libtheora-devel
42Requires: libvorbis-devel
fcd8530e 43Requires: speex-devel
bf9ff77c 44
45%description devel
13dfa716 46The libshout-devel package contains the header files needed for
47developing applications that send data to an icecast server. Install
48libshout-devel if you want to develop applications using libshout.
49
e1fabe88
JR
50%description devel -l pl.UTF-8
51Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia aplikacji
52wysyłających dane do serwera icecast.
58ce8ca0 53
13dfa716 54%package static
55Summary: Icecast source streaming static library
50f56f6b 56Summary(pl.UTF-8): Statyczna biblioteka libshout
13dfa716 57Group: Development/Libraries
ceacd3e4 58Requires: %{name}-devel = %{version}-%{release}
13dfa716 59
60%description static
61Icecast source streaming static library.
bf9ff77c 62
e1fabe88
JR
63%description static -l pl.UTF-8
64Statyczna biblioteka libshout - źródeł strumieni icecast.
58ce8ca0 65
bf9ff77c 66%prep
13dfa716 67%setup -q
bf9ff77c 68
69%build
e89a7eb0 70%{__libtoolize}
3460456e 71%{__aclocal} -I m4
0a133ef1 72%{__autoconf}
fcd8530e 73%{__autoheader}
0a133ef1 74%{__automake}
a9cad682 75%configure \
76 %{!?with_static_libs:--disable-static}
13dfa716 77%{__make}
bf9ff77c 78
79%install
13dfa716 80rm -rf $RPM_BUILD_ROOT
495498a7 81install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
bf9ff77c 82
13dfa716 83%{__make} install \
84 DESTDIR=$RPM_BUILD_ROOT
bf9ff77c 85
495498a7 86cp -rf examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
87
bd2b2232 88%clean
58ce8ca0 89rm -rf $RPM_BUILD_ROOT
bf9ff77c 90
13dfa716 91%post -p /sbin/ldconfig
92%postun -p /sbin/ldconfig
bf9ff77c 93
58ce8ca0
JB
94%files
95%defattr(644,root,root,755)
f4a8817d
JB
96%doc NEWS README
97%attr(755,root,root) %{_libdir}/libshout.so.*.*.*
98%attr(755,root,root) %ghost %{_libdir}/libshout.so.3
bf9ff77c 99
13dfa716 100%files devel
101%defattr(644,root,root,755)
495498a7 102%doc doc/*
f4a8817d
JB
103%attr(755,root,root) %{_libdir}/libshout.so
104%{_libdir}/libshout.la
13dfa716 105%{_includedir}/shout
ceacd3e4
JB
106%{_pkgconfigdir}/shout.pc
107%{_aclocaldir}/shout.m4
108%{_examplesdir}/%{name}-%{version}
13dfa716 109
a9cad682 110%if %{with static_libs}
13dfa716 111%files static
112%defattr(644,root,root,755)
f4a8817d 113%{_libdir}/libshout.a
a9cad682 114%endif
This page took 0.126337 seconds and 4 git commands to generate.