Projects
Essentials
rtmpdump
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 15
View file
rtmpdump.spec
Changed
@@ -22,16 +22,14 @@ Release: 0 Summary: RTMP Stream Dumper License: GPL-2.0+ and LGPL-2.1+ -Group: Productivity/Networking/Other -Url: http://rtmpdump.mplayerhq.hu/ -Source: %{name}-%{version}.tar.xz +Url: https://rtmpdump.mplayerhq.hu/ +Source: %name-%version.tar.xz Source1: baselibs.conf Patch1: rtmpdump-fix_u32.patch -BuildRequires: libgnutls-devel BuildRequires: pkgconfig -BuildRequires: zlib-devel -Requires: librtmp%{soname} = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(zlib) +Requires: librtmp%{soname} = %version-%release %description A small dumper for media content streamed over the RTMP protocol (like BBC's @@ -50,7 +48,7 @@ %package -n rtmpsuck Summary: RTMP Transparent Proxy Server -Group: Productivity/Networking/Other +Requires: librtmp%{soname} = %version-%release License: GPL-2.0+ %description -n rtmpsuck @@ -58,7 +56,7 @@ %package -n rtmpsrv Summary: RTMP Server -Group: Productivity/Networking/Other +Requires: librtmp%{soname} = %version-%release License: GPL-2.0+ %description -n rtmpsrv @@ -66,7 +64,7 @@ %package -n rtmpgw Summary: RTMP to HTTP Gateway -Group: Productivity/Networking/Other +Requires: librtmp%{soname} = %version-%release License: GPL-2.0+ %description -n rtmpgw @@ -76,8 +74,7 @@ %package -n librtmp-devel Summary: RTMP Stream Dumping Library -Group: Development/Libraries/C and C++ -Requires: librtmp%{soname} = %{version} +Requires: librtmp%{soname} = %version-%release License: LGPL-2.1+ %description -n librtmp-devel @@ -86,77 +83,71 @@ flv file, which can be played/transcoded using ffmpeg/mplayer, etc. %prep -%setup -q -%patch1 +%autosetup -p0 %build make \ CC="gcc" \ CRYPTO="GNUTLS" \ - OPT="%{optflags}" \ - prefix="%{_prefix}" \ - libdir="%{_libdir}" \ - MANDIR="%{_mandir}" + OPT="%optflags" \ + prefix="%_prefix" \ + libdir="%_libdir" \ + MANDIR="%_mandir" make -C librtmp \ CC="gcc" \ CRYPTO="GNUTLS" \ - OPT="%{optflags}" \ - prefix="%{_prefix}" \ - libdir="%{_libdir}" \ - MANDIR="%{_mandir}" \ + 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}/" \; +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" +install -d "%buildroot%_includedir/librtmp" "%buildroot%_libdir" "%buildroot%_libdir/pkgconfig" make \ - prefix="%{buildroot}%{_prefix}" \ - libdir="%{buildroot}%{_libdir}" \ - INCDIR="%{buildroot}%{_includedir}/librtmp" \ - MANDIR="%{buildroot}%{_mandir}" \ + prefix="%buildroot%_prefix" \ + libdir="%buildroot%_libdir" \ + INCDIR="%buildroot%_includedir/librtmp" \ + MANDIR="%buildroot%_mandir" \ install popd #librtmp -rm %{buildroot}%{_libdir}/librtmp.a +rm %buildroot%_libdir/librtmp.a %post -n librtmp%{soname} -p /sbin/ldconfig %postun -n librtmp%{soname} -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc README ChangeLog COPYING -%{_bindir}/rtmpdump +%doc README +%license COPYING +%_bindir/rtmpdump %files -n librtmp%{soname} -%defattr(-,root,root) -%doc COPYING -%{_libdir}/librtmp.so.%{soname} +%license librtmp/COPYING +%_libdir/librtmp.so.%{soname} %files -n rtmpsuck -%defattr(-,root,root) -%doc README ChangeLog COPYING -%{_bindir}/rtmpsuck +%license COPYING +%_bindir/rtmpsuck %files -n rtmpgw -%defattr(-,root,root) -%doc README ChangeLog COPYING -%{_bindir}/rtmpgw +%license COPYING +%_bindir/rtmpgw %files -n rtmpsrv -%defattr(-,root,root) -%doc README ChangeLog COPYING -%{_bindir}/rtmpsrv +%license COPYING +%_bindir/rtmpsrv %files -n librtmp-devel -%defattr(-,root,root) -%{_includedir}/librtmp -%{_libdir}/librtmp.so -%{_libdir}/pkgconfig/librtmp.pc -%doc %{_mandir}/man3/librtmp.3%{ext_man} +%_includedir/librtmp +%_libdir/librtmp.so +%_libdir/pkgconfig/librtmp.pc +%_mandir/man3/librtmp.3%{ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.