# Filter out soname provides for the mozilla plugin %global __provides_exclude_from ^%{_libdir}/mozilla/plugins/ Name: mozilla-openh264 Summary: H.264 codec support for Firefox Version: 2.4.1 Release: %autorelease License: BSD-2-Clause AND BSD-3-Clause URL: https://pagure.io/fedora-workstation/mozilla-openh264 Source0: https://pagure.io/fedora-workstation/mozilla-openh264/archive/%{version}/mozilla-openh264-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: meson BuildRequires: noopenh264-devel Requires: mozilla-filesystem Recommends: openh264 %description -n mozilla-openh264 The mozilla-openh264 package contains a H.264 codec plugin for Firefox. Please be aware this package does not provide H.264 support on its own. You must install the OpenH264 package from Cisco for it to work. %prep %autosetup -p1 %build %meson %meson_build %install %meson_install %files %{_sysconfdir}/profile.d/gmpopenh264.sh %dir %{_libdir}/firefox %dir %{_libdir}/firefox/defaults %dir %{_libdir}/firefox/defaults/pref %{_libdir}/firefox/defaults/pref/gmpopenh264.js %{_libdir}/mozilla/plugins/gmp-gmpopenh264/ %dir %{_datadir}/fish %dir %{_datadir}/fish/vendor_conf.d %{_datadir}/fish/vendor_conf.d/gmpopenh264.fish %changelog %autochangelog