]> git.pld-linux.org Git - packages/libshout.git/blame - libshout.spec
am/ac fixes (remove some stupid things).
[packages/libshout.git] / libshout.spec
CommitLineData
bf9ff77c 1Summary: libshout - icecast source streaming library
13dfa716 2Name: libshout
3Version: 1.0.5
4Release: 1
5License: LGPL
bf9ff77c 6Vendor: Icecast <team@icecast.org>
13dfa716 7Group: Libraries
8Group(de): Libraries
9Group(es): Bibliotecas
10Group(fr): Librairies
11Group(pl): Biblioteki
12Source0: ftp://ftp.icecast.org/pub/libshout/%{name}-%{version}.tar.gz
13Patch0: %{name}-ac_am_fixes.patch
14URL: http://www.icecast.org/
15BuildRequires: autoconf
16BuildRequires: automake
17BuildRequires: libtool
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
bf9ff77c 19
20%description
21Libshout is a library for communicating with and sending data to an
13dfa716 22icecast server. It handles the socket connection, the timing of the
bf9ff77c 23data, and prevents most bad data from getting to the icecast server.
24
25%package devel
13dfa716 26Summary: Icecast source streaming library development package
27Group: Development/Libraries
28Group(de): Entwicklung/Libraries
29Group(fr): Development/Librairies
30Group(pl): Programowanie/Biblioteki
31Requires: %{name} = %{version}
bf9ff77c 32
33%description devel
13dfa716 34The libshout-devel package contains the header files needed for
35developing applications that send data to an icecast server. Install
36libshout-devel if you want to develop applications using libshout.
37
38%package static
39Summary: Icecast source streaming static library
40Group: Development/Libraries
41Group(de): Entwicklung/Libraries
42Group(fr): Development/Librairies
43Group(pl): Programowanie/Biblioteki
44Requires: %{name}-devel = %{version}
45
46%description static
47Icecast source streaming static library.
bf9ff77c 48
49%prep
13dfa716 50%setup -q
51%patch -p1
bf9ff77c 52
53%build
13dfa716 54libtoolize --copy --force
55aclocal
56autoconf
57automake -a -c
58%configure
59%{__make}
bf9ff77c 60
61%install
13dfa716 62rm -rf $RPM_BUILD_ROOT
bf9ff77c 63
13dfa716 64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
bf9ff77c 66
13dfa716 67gzip -9nf AUTHORS CHANGES README
bf9ff77c 68
13dfa716 69%files
70%defattr(644,root,root,755)
71%doc *.gz
72%attr(755,root,root) %{_libdir}/lib*.so.*.*
bf9ff77c 73
13dfa716 74%post -p /sbin/ldconfig
75%postun -p /sbin/ldconfig
bf9ff77c 76
13dfa716 77%clean
78rm -rf $RPM_BUILD_ROOT
bf9ff77c 79
13dfa716 80%files devel
81%defattr(644,root,root,755)
82%doc doc/*.{html,css}
83%attr(755,root,root) %{_libdir}/lib*.so
84%attr(755,root,root) %{_libdir}/lib*.la
85%{_includedir}/shout
86
87%files static
88%defattr(644,root,root,755)
89 %{_libdir}/lib*.a
This page took 0.068982 seconds and 4 git commands to generate.