source: projects/specs/trunk/lib/libs/libshout/libshout-vl.spec @ 8915

Revision 8915, 3.6 KB checked in by Takemikaduchi, 10 years ago (diff)

dash,liboil,libutempter,virtuoso-opensource,wavpack: new upstream release
others: rebuild

Line 
1Summary:        Icecast streaming library
2Summary(ja):    Icecast ストリーミングライブラリ
3
4Name:           libshout
5Version:        2.2.2
6Release:        3%{?_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* Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.2-3
87- rebuild with VineSeed environment
88
89* Fri Sep 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.2-2
90- rebuilt with rpm-4.8.1 for pkg-config
91
92* Thu Oct 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-1
93- initial build for Vine Linux
94
95* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.2-3
96- Autorebuild for GCC 4.3
97
98* Fri Dec  7 2007 kwizart < kwizart at gmail.com > - 2.2.2-2
99- Fix http://bugzilla.redhat.com/415121
100- Add disable-static
101- Don't use makeinstall macro
102- Update License field
103
104* Thu Sep 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
105- 2.2.2-1
106- updated to new release
107
108* Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
109- 2.2-3
110- add Requires: to -devel package
111
112* Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
113- 2.2-2
114- rebuild to please the extras repository
115
116* Fri Mar 10 2006 Thomas Vander Stichele <thomas at apestaart dot org>
117- 2.2-1
118- new (incompatible) version, but deps are updated
119- various cleanups
120
121* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.0.9-4
122- rebuild on all arches
123
124* Fri Apr  1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.9-3
125- Include headers directory entry in -devel package.
126
127* Sat Feb 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.0.9-2
128- Remove redundant explicit /sbin/ldconfig dependency.
129
130* Wed Jun 04 2003 Thomas Vander Stichele <thomas at apestaart dot org>
131- 1.0.9-0.fdr.1: initial RPM release
Note: See TracBrowser for help on using the repository browser.