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

Revision 521, 3.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:        Icecast streaming library
2Summary(ja):    Icecast ストリーミングライブラリ
3
4Name:           libshout
5Version:        2.2.2
6Release: 1%{?_dist_release}
7
8Group:          System Environment/Libraries
9License:        LGPLv2+
10URL:            http://www.icecast.org/
11Source:         http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz
12Patch0:         libshout-2.2.2-fix_speex.patch
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14
15BuildRequires:  libogg-devel
16BuildRequires:  libvorbis-devel
17BuildRequires:  libtheora-devel
18BuildRequires:  speex-devel
19
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* Thu Oct 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-1
87- initial build for Vine Linux
88
89* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.2-3
90- Autorebuild for GCC 4.3
91
92* Fri Dec  7 2007 kwizart < kwizart at gmail.com > - 2.2.2-2
93- Fix http://bugzilla.redhat.com/415121
94- Add disable-static
95- Don't use makeinstall macro
96- Update License field
97
98* Thu Sep 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
99- 2.2.2-1
100- updated to new release
101
102* Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
103- 2.2-3
104- add Requires: to -devel package
105
106* Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
107- 2.2-2
108- rebuild to please the extras repository
109
110* Fri Mar 10 2006 Thomas Vander Stichele <thomas at apestaart dot org>
111- 2.2-1
112- new (incompatible) version, but deps are updated
113- various cleanups
114
115* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.0.9-4
116- rebuild on all arches
117
118* Fri Apr  1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.9-3
119- Include headers directory entry in -devel package.
120
121* Sat Feb 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.0.9-2
122- Remove redundant explicit /sbin/ldconfig dependency.
123
124* Wed Jun 04 2003 Thomas Vander Stichele <thomas at apestaart dot org>
125- 1.0.9-0.fdr.1: initial RPM release
Note: See TracBrowser for help on using the repository browser.