source: projects/specs/branches/6/lib/libs/libshout/libshout-vl.spec @ 1885

Revision 1885, 3.5 KB checked in by inagaki, 14 years ago (diff)

rebuilt with rpm-4.8.1: libindi, libshout

Line 
1Summary:        Icecast streaming library
2Summary(ja):    Icecast ストリーミングライブラリ
3
4Name:           libshout
5Version:        2.2.2
6Release:        2%{?_dist_release}
7
8Group:          System Environment/Libraries
9License:        LGPLv2+
10URL:            http://www.icecast.org/
11
12Source:         http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz
13Patch0:         libshout-2.2.2-fix_speex.patch
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16BuildRequires:  libogg-devel
17BuildRequires:  libvorbis-devel
18BuildRequires:  libtheora-devel
19BuildRequires:  speex-devel
20
21
22%description
23libshout is a library for communicating with and sending data to an
24icecast server.  It handles the socket connection, the timing of the
25data, and prevents most bad data from getting to the icecast server.
26
27%package        devel
28Summary:        Development files for %{name}
29Summary(ja):    %{name} の開発ファイル
30Group:          Development/Libraries
31Requires:       %{name} = %{version}-%{release}
32
33Requires:       libogg-devel
34Requires:       libvorbis-devel
35Requires:       libtheora-devel
36Requires:       speex-devel
37
38%description    devel
39The libshout-devel package contains the header files needed for developing
40applications that send data to an icecast server.  Install libshout-devel if
41you 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
51sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
52
53make %{?_smp_mflags}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58make DESTDIR="$RPM_BUILD_ROOT" INSTALL="install -p " install
59
60find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
61
62rm -rf $RPM_BUILD_ROOT%{_docdir}
63
64%clean
65rm -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
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
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
Note: See TracBrowser for help on using the repository browser.