|
|
@ -49,14 +49,13 @@ contains include files needed to develop applications using librtmp.
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# The fact that we have to add -ldl for gnutls is Fedora bug #611318
|
|
|
|
# The fact that we have to add -ldl for gnutls is Fedora bug #611318
|
|
|
|
make SYS=posix CRYPTO=GNUTLS SHARED=yes OPT="%{optflags}" LIB_GNUTLS="-lgnutls -lgcrypt -ldl"
|
|
|
|
make SYS=posix CRYPTO=GNUTLS SHARED=yes OPT="%{optflags}" LIB_GNUTLS="-lgnutls -lgcrypt -ldl -lz"
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make CRYPTO=GNUTLS SHARED=yes DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir} install
|
|
|
|
make CRYPTO=GNUTLS SHARED=yes DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir} install
|
|
|
|
rm -f %{buildroot}%{_libdir}/librtmp.a
|
|
|
|
rm -f %{buildroot}%{_libdir}/librtmp.a
|
|
|
|
|
|
|
|
|
|
|
|
%post -n librtmp -p /sbin/ldconfig
|
|
|
|
%ldconfig_scriptlets librtmp
|
|
|
|
%postun -n librtmp -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc README
|
|
|
|
%doc README
|
|
|
|