Using pkgconfig where possible
This commit is contained in:
parent
38046610af
commit
4012bb8966
59
firefox.spec
59
firefox.spec
@ -86,7 +86,7 @@
|
|||||||
Summary: Mozilla Firefox Web browser
|
Summary: Mozilla Firefox Web browser
|
||||||
Name: firefox
|
Name: firefox
|
||||||
Version: 42.0
|
Version: 42.0
|
||||||
Release: 2%{?pre_tag}%{?dist}
|
Release: 3%{?pre_tag}%{?dist}
|
||||||
URL: http://www.mozilla.org/projects/firefox/
|
URL: http://www.mozilla.org/projects/firefox/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
@ -132,39 +132,39 @@ Patch425: mozilla-1192243.patch
|
|||||||
Patch500: aarch64-fix-skia.patch
|
Patch500: aarch64-fix-skia.patch
|
||||||
|
|
||||||
%if %{?system_nss}
|
%if %{?system_nss}
|
||||||
BuildRequires: nspr-devel >= %{nspr_version}
|
BuildRequires: pkgconfig(nspr) >= %{nspr_version}
|
||||||
BuildRequires: nss-devel >= %{nss_version}
|
BuildRequires: pkgconfig(nss) >= %{nss_version}
|
||||||
BuildRequires: nss-static >= %{nss_version}
|
BuildRequires: nss-static >= %{nss_version}
|
||||||
%endif
|
%endif
|
||||||
%if %{?system_cairo}
|
%if %{?system_cairo}
|
||||||
BuildRequires: cairo-devel >= %{cairo_version}
|
BuildRequires: pkgconfig(cairo) >= %{cairo_version}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: pkgconfig(libpng)
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
BuildRequires: bzip2-devel
|
BuildRequires: bzip2-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRequires: libIDL-devel
|
BuildRequires: pkgconfig(libIDL-2.0)
|
||||||
%if %{toolkit_gtk3}
|
%if %{toolkit_gtk3}
|
||||||
BuildRequires: gtk3-devel
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: pkgconfig(krb5)
|
||||||
BuildRequires: pango-devel
|
BuildRequires: pkgconfig(pango)
|
||||||
BuildRequires: freetype-devel >= %{freetype_version}
|
BuildRequires: pkgconfig(freetype2) >= %{freetype_version}
|
||||||
BuildRequires: libXt-devel
|
BuildRequires: pkgconfig(xt)
|
||||||
BuildRequires: libXrender-devel
|
BuildRequires: pkgconfig(xrender)
|
||||||
BuildRequires: hunspell-devel
|
BuildRequires: pkgconfig(hunspell)
|
||||||
BuildRequires: startup-notification-devel
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
||||||
BuildRequires: alsa-lib-devel
|
BuildRequires: pkgconfig(alsa)
|
||||||
BuildRequires: libnotify-devel >= %{libnotify_version}
|
BuildRequires: pkgconfig(libnotify) >= %{libnotify_version}
|
||||||
BuildRequires: mesa-libGL-devel
|
BuildRequires: pkgconfig(dri)
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: pkgconfig(libcurl)
|
||||||
BuildRequires: libvpx-devel >= %{libvpx_version}
|
BuildRequires: pkgconfig(libvpx) >= %{libvpx_version}
|
||||||
BuildRequires: autoconf213
|
BuildRequires: autoconf213
|
||||||
BuildRequires: pulseaudio-libs-devel
|
BuildRequires: pkgconfig(libpulse)
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: pkgconfig(icu-i18n)
|
||||||
BuildRequires: GConf2-devel
|
BuildRequires: pkgconfig(gconf-2.0)
|
||||||
BuildRequires: yasm
|
BuildRequires: yasm
|
||||||
|
|
||||||
Requires: mozilla-filesystem
|
Requires: mozilla-filesystem
|
||||||
@ -176,16 +176,16 @@ Requires: nss >= %{nss_build_version}
|
|||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: system-bookmarks
|
BuildRequires: system-bookmarks
|
||||||
%if %{?enable_gstreamer}
|
%if %{?enable_gstreamer}
|
||||||
BuildRequires: gstreamer1-devel
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
||||||
BuildRequires: gstreamer1-plugins-base-devel
|
BuildRequires: pkgconfig(gstreamer-allocators-1.0)
|
||||||
%endif
|
%endif
|
||||||
%if %{?system_sqlite}
|
%if %{?system_sqlite}
|
||||||
BuildRequires: sqlite-devel >= %{sqlite_version}
|
BuildRequires: pkgconfig(sqlite3) >= %{sqlite_version}
|
||||||
Requires: sqlite >= %{sqlite_build_version}
|
Requires: sqlite >= %{sqlite_build_version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{?system_ffi}
|
%if %{?system_ffi}
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: pkgconfig(libffi)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires: system-bookmarks
|
Requires: system-bookmarks
|
||||||
@ -762,6 +762,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 4 2015 Thierry Vignaud <thierry.vignaud@gmail.com> - 42.0-3
|
||||||
|
- Use pkgconfig for BuildRequires where possible
|
||||||
|
|
||||||
* Thu Oct 29 2015 Martin Stransky <stransky@redhat.com> - 42.0-2
|
* Thu Oct 29 2015 Martin Stransky <stransky@redhat.com> - 42.0-2
|
||||||
- Update to 42.0
|
- Update to 42.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user