Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:libraries
rtmpdump
rtmpdump.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rtmpdump.spec of Package rtmpdump
# # spec file for package # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define lib_so_name librtmp %define lib_so_version 1 Name: rtmpdump Version: 0 Release: 0 License: GPL-2.0 Summary: RTMP Stream Dumper Url: http://rtmpdump.mplayerhq.hu/ Group: System/Libraries Source: %{name}-%{version}.tar.xz Source99: rtmpdump-rpmlintrc Patch1: rtmpdump-fix_u32.patch Patch2: rtmpdump-fix_limits.patch BuildRequires: pkgconfig BuildRequires: make BuildRequires: gcc BuildRequires: pkgconfig(libssl) BuildRequires: pkgconfig(zlib) Requires: %{lib_so_name}%{lib_so_version} = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The rtmp library is a toolkit for RTMP streams. All forms of RTMP are supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://. %package -n %{lib_so_name}%{lib_so_version} Summary: Library for RTMP streams Group: System/Libraries %description -n %{lib_so_name}%{lib_so_version} The rtmp library is a toolkit for RTMP streams. All forms of RTMP are supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://. %package devel Summary: Development files for librtmp Group: Development/Libraries/C and C++ Requires: %{lib_so_name}%{lib_so_version} = %{version} %if 0%{?suse_version} >= 1030 Requires: libopenssl-devel %else Requires: openssl-devel %endif %description devel This packages contains development files for librtmp. The rtmp library is a toolkit for RTMP streams. All forms of RTMP are supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://. %package devel-static Summary: Development files for librtmp Group: Development/Libraries/C and C++ Requires: %{lib_so_name}%{lib_so_version} = %{version} Requires: %{name}-devel = %{version}-%{release} %description devel-static This packages contains development files for librtmp. The rtmp library is a toolkit for RTMP streams. All forms of RTMP are supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://. %prep %setup -q -n %{name}-%{version} %patch1 %patch2 %build #cd librtmp make CRYPTO= \ CC="gcc" \ OPT="%{optflags}" \ prefix="%{_prefix}" \ libdir="%{_libdir}" \ MANDIR="%{_mandir}" make -C librtmp CRYPTO= \ CC="gcc" \ OPT="%{optflags}" \ prefix="%{_prefix}" \ libdir="%{_libdir}" \ MANDIR="%{_mandir}" \ librtmp.pc %install install -d "%{buildroot}%{_bindir}" find . -mindepth 1 -maxdepth 1 -type f -executable -exec install -m0755 {} "%{buildroot}%{_bindir}/" \; pushd librtmp install -d "%{buildroot}%{_includedir}/librtmp" "%{buildroot}%{_libdir}" "%{buildroot}%{_libdir}/pkgconfig" make \ prefix="%{buildroot}%{_prefix}" \ libdir="%{buildroot}%{_libdir}" \ INCDIR="%{buildroot}%{_includedir}/librtmp" \ MANDIR="%{buildroot}%{_mandir}" \ install popd #librtmp %post /sbin/ldconfig %postun /sbin/ldconfig %post -n %{lib_so_name}%{lib_so_version} -p /sbin/ldconfig %postun -n %{lib_so_name}%{lib_so_version} -p /sbin/ldconfig %files %defattr(-,root,root) %license librtmp/COPYING %doc README ChangeLog %{_bindir}/rtmpdump %{_bindir}/rtmpgw %{_bindir}/rtmpsrv %{_bindir}/rtmpsuck %files -n %{lib_so_name}%{lib_so_version} %defattr(-,root,root) %{_libdir}/%{lib_so_name}.so.%{lib_so_version} %files devel %defattr(-,root,root) %license librtmp/COPYING %{_includedir}/librtmp %{_libdir}/librtmp.so %{_libdir}/pkgconfig/librtmp.pc %doc %{_mandir}/man3/librtmp.3%{ext_man} %files devel-static %defattr(-,root,root) %{_libdir}/librtmp.a %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor