source: projects/specs/trunk/r/rtmpdump/rtmpdump-vl.spec @ 3126

Revision 3126, 3.1 KB checked in by munepi, 13 years ago (diff)

updated self-build-ffmpeg-vl.spec, self-build-gpac-vl.spec self-build-libquicktime-vl.spec self-build-mplayer-vl.spec self-build-vlc-vl.spec self-build-x264-vl.spec; added rtmpdump-vl.spec

Line 
1Name:           rtmpdump
2Version:        2.3
3Release:        1%{?_dist_release}
4Summary:        Toolkit for RTMP streams
5
6Group:          Applications/Internet
7License:        GPLv2+
8# Note that librtmp is actually LGPLv2, so if you package that separately
9# (for which you'd probably want to make it a dynamic library) you should
10# label its licence correctly. But the _tools_ are GPLv2.
11URL:            http://rtmpdump.mplayerhq.hu/
12Source0:        http://rtmpdump.mplayerhq.hu/download/rtmpdump-%{version}.tgz
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  gnutls-devel zlib-devel
16
17%description
18rtmpdump is a toolkit for RTMP streams. All forms of RTMP are supported,
19including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.
20
21%package -n librtmp
22Summary:        Support library for RTMP streams
23Group:          Applications/Internet
24License:        LGPLv2+
25
26%description -n librtmp
27librtmp is a suport library for RTMP streams. All forms of RTMP are supported,
28including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.
29
30%package -n librtmp-devel
31Summary:        Files for librtmp development
32Group:          Applications/Internet
33License:        LGPLv2+
34Requires:       librtmp = %{version}-%{release}
35
36%description -n librtmp-devel
37librtmp is a suport library for RTMP streams. The librtmp-devel package
38contains include files needed to develop applications using librtmp.
39
40%prep
41%setup -q
42
43%build
44# The fact that we have to add -ldl for gnutls is Fedora bug #611318
45%__make CRYPTO=GNUTLS SHARED=yes OPT="$RPM_OPT_FLAGS" LIB_GNUTLS="-lgnutls -lgcrypt -ldl" LIBRTMP=librtmp/librtmp.so LIBS=
46
47
48%install
49%__rm -rf $RPM_BUILD_ROOT
50%__make CRYPTO=GNUTLS SHARED=yes DESTDIR=$RPM_BUILD_ROOT prefix=/usr mandir=%{_mandir} libdir=%{_libdir} install
51
52%__rm -f $RPM_BUILD_ROOT/%{_libdir}/librtmp.a
53
54
55%clean
56%__rm -rf $RPM_BUILD_ROOT
57
58%post -n librtmp -p /sbin/ldconfig
59
60%postun -n librtmp -p /sbin/ldconfig
61
62%files
63%defattr(-,root,root,-)
64%{_bindir}/rtmpdump
65%{_sbindir}/rtmpsrv
66%{_sbindir}/rtmpgw
67%{_sbindir}/rtmpsuck
68%{_mandir}/man1/rtmpdump.1*
69%{_mandir}/man8/rtmpgw.8*
70%doc COPYING README
71
72%files -n librtmp
73%defattr(-,root,root,-)
74%{_libdir}/librtmp.so.0
75%doc librtmp/COPYING
76
77%files -n librtmp-devel
78%defattr(-,root,root,-)
79%{_includedir}/librtmp
80%{_libdir}/librtmp.so
81%{_libdir}/pkgconfig/librtmp.pc
82%{_mandir}/man3/librtmp.3*
83%doc ChangeLog
84
85
86%changelog
87* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.3-1
88- initial build for VineSeed based on RPM Fusion development
89
90* Sun Jul 04 2010 Dominik Mierzejewski <rpm@greysector.net> 2.3-2
91- call ldconfig in post(un) scripts for the shared library
92- add strict dependency on the library to -devel
93
94* Sun Jul 04 2010 David Woodhouse <dwmw2@infradead.org> 2.3-1
95- Update to 2.3; build shared library
96
97* Mon Jun 28 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.2e-1
98- new upstream release
99
100* Mon Jun 28 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.2d-1
101- built based on RPM Fusion
102
103* Fri Apr 30 2010 David Woodhouse <dwmw2@infradead.org> 2.2d-1
104- Update to 2.2d
105
106* Tue Apr 20 2010 David Woodhouse <dwmw2@infradead.org> 2.2c-2
107- Link with libgcrypt explicitly since we call it directly
108
109* Mon Apr 19 2010 David Woodhouse <dwmw2@infradead.org> 2.2c-1
110- Initial package
Note: See TracBrowser for help on using the repository browser.