https://bugzilla.rpmfusion.org/show_bug.cgi?id=5527

leigh scott <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from leigh scott <[email protected]> ---
You need to use the meson macros

change this

meson build --prefix=%{buildroot}/usr --buildtype=release

to 

%meson


change this

ninja -C build

to

%meson_build


and this 

ninja -C build install

to

%meson_install




Remove all the requires as it should be auto generated


Requires: alsa-lib bzip2-libs cairo cairo-gobject dbus-libs expat ffmpeg-libs
flac-libs fontconfig freetype fribidi gdk-pixbuf2 glib2 glibc gmp gnutls
graphite2 gsm harfbuzz intel-mediasdk jack-audio-connection-kit keyutils-libs
krb5-libs lame-libs libaom libass libasyncns libavdevice libblkid libbluray
libcap libcdio libcdio-paranoia libcom_err libcroco libdatrie libdav1d libdrm
libffi libgcc libgcrypt libglvnd libglvnd-glx libgomp libgpg-error libICE
libidn2 libjpeg-turbo libmount libogg libpng librsvg2 libselinux libSM
libsndfile libssh libstdc++ libtasn1 libthai libtheora libunistring libuuid
libv4l libva libvdpau libvmaf libvorbis libvpx libwayland-client libX11
libX11-xcb libXau libxcb libXext libXi libxml2 libXrender libXtst lz4-libs
nettle numactl-libs ocl-icd openal-soft opencore-amr openjpeg2 openssl-libs
opus p11-kit pango pcre2 pcre pixman pugixml pulseaudio-libs SDL2 soxr speex
systemd-libs vid.stab vo-amrwbenc x264-libs x265-libs xvidcore xz-libs zimg
zlib zvbi


and remove all the non -devel buildrequires


BuildRequires: meson gcc-c++ wayland-devel mesa-libEGL-devel mesa-libGLES-devel
mesa-dri-drivers xorg-x11-server-Xwayland libdrm-devel libgbm-devel
libxkbcommon-devel libudev-devel pixman-devel libinput-devel libevdev-devel
systemd-devel cairo-devel libpcap-devel json-c-devel pam-devel pango-devel
pcre-devel gdk-pixbuf2-devel wayland-protocols-devel opencl-headers
opencl-utils libwayland-client ffmpeg-devel opencl-utils opencl-headers
opencl-filesystem mesa-libOpenCL pulseaudio-libs pulseaudio-libs-devel
pulseaudio-utils scdoc


with the exception of meson gcc-c++ scdoc and opencl-headers
Also use a line for each buildrequires i.e:

BuildRequires: meson
BuildRequires: gcc-c++


also remove this line as it's a review blocker, the package won't be acceptable
with it

%global debug_package %{nil}


shorten the source line from

Source0: 
https://github.com/ammen99/wf-recorder/archive/v0.2.tar.gz#/%{name}-%{version}.tar.gz

to

Source0:  %{url}/archive/v%{version}/%{name}-%{version}.tar.gz


and remove the .gz from man

%{_mandir}/man1/%{name}.1.gz


to

%{_mandir}/man1/%{name}.1.*


As for the description, please remove this as it's not needed


Make sure you have RPMfusion repo installed:

dnf -y install
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E
%fedora).noarch.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
rpmfusion-developers mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to