Use pkgconfig for BuildRequires
Additionally, disable tests and remove the unused gtk3 dependency.
This commit is contained in:
parent
ee18f86ceb
commit
2895103fde
@ -2,18 +2,17 @@
|
||||
|
||||
Name: libnotify
|
||||
Version: 0.7.9
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Desktop notification library
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://www.gnome.org
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/%{name}-%{version}.tar.xz
|
||||
URL: https://gitlab.gnome.org/GNOME/libnotify
|
||||
Source0: https://download.gnome.org/sources/libnotify/0.7/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: docbook-xsl-ns
|
||||
BuildRequires: gdk-pixbuf2-devel
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: meson
|
||||
BuildRequires: xmlto
|
||||
@ -36,10 +35,10 @@ This package contains libraries and header files needed for
|
||||
development of programs using %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson -Dtests=false
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
@ -66,6 +65,10 @@ development of programs using %{name}.
|
||||
%doc %{_docdir}/libnotify/spec/
|
||||
|
||||
%changelog
|
||||
* Tue Dec 14 2021 David King <amigadave@amigadave.com> - 0.7.9-6
|
||||
- Use pkgconfig for BuildRequires
|
||||
- Disable building unused tests
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.9-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user