avatar
Rosa has added f929db4e80
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "libshout-2.2.2.tar.bz2": 99e46e56ae7a95f210a4c523c0a4a7640ee4e91f
view file @ f929db4e80
... ... --- /dev/null
... ... +++ b/libshout-speex_linkage_fix.diff
... ... @@ -0,0 +1,11 @@
1
--- src/Makefile.am	2006-01-30 20:42:42.000000000 -0500
2
+++ src/Makefile.am.oden	2008-06-28 14:33:42.000000000 -0400
3
@@ -26,7 +26,7 @@
4
 AM_CFLAGS = @XIPH_CFLAGS@
5
 
6
 libshout_la_LIBADD = net/libicenet.la timing/libicetiming.la avl/libiceavl.la\
7
-		httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS)
8
+		httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS) $(SPEEX_LIBS)
9
 
10
 INCLUDES = -I$(top_builddir)/include
11
 
... ... --- /dev/null
... ... +++ b/libshout.spec
... ... @@ -0,0 +1,181 @@
1
%define major 3
2
%define libname %mklibname shout %{major}
3
%define develname %mklibname shout -d
4
5
Summary:	A library for communicating with and sending data to an icecast server
6
Name:		libshout
7
Version:	2.2.2
8
Release:	%mkrel 8
9
Group:		System/Libraries
10
License:	LGPL+
11
URL:		http://www.icecast.org/
12
Source0:	http://downloads.us.xiph.org/releases/libshout/%{name}-%{version}.tar.bz2
13
Patch0:		libshout-speex_linkage_fix.diff
14
BuildRequires:	libogg-devel
15
BuildRequires:	libvorbis-devel
16
BuildRequires:	libtheora-devel
17
BuildRequires:	speex-devel
18
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
19
20
%description
21
Libshout is a library for communicating with and sending data to an
22
icecast server.  It handles the socket connection, the timing of the
23
data, and prevents bad data from getting to the icecast server.
24
25
With just a few lines of code, a programmer can easily turn any
26
application into a streaming source for an icecast server.  Libshout also
27
allows developers who want a specific feature set (database access,
28
request taking) to concentrate on that feature set, instead of worrying
29
about how server communication works.
30
31
Please refer to the API reference and example code to start learning how
32
to use libshout in your own code.
33
34
%package -n	%{libname}
35
Summary:	Main library for %{name}
36
Group:		System/Libraries
37
38
%description -n	%{libname}
39
This package contains the library needed to run programs dynamically
40
linked with %{name}.
41
42
%package -n	%{develname}
43
Summary:	Headers for developing programs that will use %{name}
44
Group:		Development/Other
45
Requires:	speex-devel
46
Requires:	%{libname} = %{version}
47
Provides:	%{name}-devel = %{version}-%{release}
48
Obsoletes:	%{mklibname shout 3 -d}
49
50
%description -n	%{develname}
51
This package contains the headers that programmers will need to develop
52
applications which will use %{name}.
53
54
%prep
55
56
%setup -q
57
%patch0 -p0
58
59
%build
60
autoreconf -fis
61
%configure2_5x
62
%make
63
64
%install
65
rm -rf %{buildroot}
66
67
%makeinstall_std
68
69
# remove installed doc
70
rm -rf %{buildroot}%{_datadir}/doc/%{name}
71
72
%if %mdkversion < 200900
73
%post -n %{libname} -p /sbin/ldconfig
74
%endif
75
76
%if %mdkversion < 200900
77
%postun -n %{libname} -p /sbin/ldconfig
78
%endif
79
80
%clean
81
rm -rf %{buildroot}
82
83
%files -n %{libname}
84
%defattr(-,root,root)
85
%{_libdir}/*.so.*
86
87
%files -n %{develname}
88
%defattr(-,root,root)
89
%doc README
90
%{_includedir}/*
91
%{_libdir}/*.so
92
%{_libdir}/*.la
93
%{_libdir}/*.a
94
%{_libdir}/pkgconfig/shout.pc
95
%{_datadir}/aclocal/shout.m4
96
97
98
%changelog
99
* Mon May 02 2011 Oden Eriksson <oeriksson@mandriva.com> 2.2.2-8mdv2011.0
100
+ Revision: 661526
101
- mass rebuild
102
103
* Sun Nov 28 2010 Oden Eriksson <oeriksson@mandriva.com> 2.2.2-7mdv2011.0
104
+ Revision: 602606
105
- rebuild
106
107
* Tue Mar 16 2010 Oden Eriksson <oeriksson@mandriva.com> 2.2.2-6mdv2010.1
108
+ Revision: 520906
109
- rebuilt for 2010.1
110
111
* Wed Sep 02 2009 Christophe Fergeau <cfergeau@mandriva.com> 2.2.2-5mdv2010.0
112
+ Revision: 425742
113
- rebuild
114
115
* Sat Jun 28 2008 Oden Eriksson <oeriksson@mandriva.com> 2.2.2-4mdv2009.0
116
+ Revision: 229863
117
- fix speex linkage (P0)
118
- spec file massage
119
120
  + Thierry Vignaud <tv@mandriva.org>
121
    - rebuild
122
123
  + Pixel <pixel@mandriva.com>
124
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
125
126
* Sun Jan 13 2008 Thierry Vignaud <tv@mandriva.org> 2.2.2-2mdv2008.1
127
+ Revision: 150825
128
- rebuild
129
- kill re-definition of %%buildroot on Pixel's request
130
131
  + Olivier Blin <oblin@mandriva.com>
132
    - restore BuildRoot
133
134
* Fri Aug 03 2007 Adam Williamson <awilliamson@mandriva.org> 2.2.2-1mdv2008.0
135
+ Revision: 58465
136
- rebuild for 2008
137
- Fedora license policy
138
- new devel policy
139
- spec clean
140
- Import libshout
141
142
143
144
* Tue Aug 01 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.2.2-1mdv2007.0
145
- New version 2.2.2
146
- buildrequires libtheora-devel
147
148
* Fri Jan 20 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.2-2mdk
149
- buildrequires speex devel
150
- force devel package to requires it, automatic dependencies tracking miss it
151
152
* Wed Jan 04 2006 Götz Waschk <waschk@mandriva.org> 2.2-1mdk
153
- New release 2.2
154
- use mkrel
155
156
* Sun Jan 01 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 2.1-3mdk
157
- Rebuild
158
159
* Fri Jun 03 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.1-2mdk 
160
- fix summary
161
162
* Fri Jun 03 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.1-1mdk
163
- New release 2.1
164
- spec cleanup
165
- drop lib64 patch, aclocal has been updated
166
167
* Thu Sep 30 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.0-5mdk
168
- use mklibname, remove duplicated/extraneous provides, lib64 fixes
169
170
* Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.0-4mdk 
171
- rpmbuildupdate aware
172
173
* Sun Jul 27 2003 Guillaume Rousse <guillomovitch@linux-mandrake.com> 2.0-3mdk
174
- used %%makeinstall_std to install headers correctly
175
- no more shout-config binary
176
177
* Wed Jul 16 2003 Guillaume Rousse <guillomovitch@linux-mandrake.com> 2.0-2mdk
178
- fixed header location
179
180
* Tue Jul 15 2003 Guillaume Rousse <guillomovitch@linux-mandrake.com> 2.0-1mdk
181
- first contrib package

Comments