Use pkgconfig for BuildRequires
https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires
This commit is contained in:
parent
63db38382f
commit
d645779619
@ -1,10 +1,8 @@
|
||||
# Note that this is NOT a relocatable package
|
||||
|
||||
%define libgtop2_version 2.28.2
|
||||
%define libwnck_version 2.91.0
|
||||
%define desktop_file_utils_version 0.2.90
|
||||
%define libselinux_version 1.23.2
|
||||
%define polkit_version 0.92
|
||||
%global libgtop2_version 2.28.2
|
||||
%global libwnck_version 2.91.0
|
||||
%global desktop_file_utils_version 0.2.90
|
||||
|
||||
Summary: Process and resource monitor
|
||||
Name: gnome-system-monitor
|
||||
@ -16,18 +14,15 @@ URL: http://www.gnome.org/
|
||||
#VCS: git:git://git.gnome.org/gnome-system-monitor
|
||||
Source: http://download.gnome.org/sources/%{name}/3.17/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: libgtop2-devel >= %{libgtop2_version}
|
||||
BuildRequires: libwnck3-devel >= %{libwnck_version}
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: gtkmm30-devel
|
||||
BuildRequires: pkgconfig(libgtop-2.0) >= %{libgtop2_version}
|
||||
BuildRequires: pkgconfig(libwnck-3.0) >= %{libwnck_version}
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(gtkmm-3.0)
|
||||
BuildRequires: pkgconfig(libsystemd-login)
|
||||
BuildRequires: pkgconfig(librsvg-2.0)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: startup-notification-devel
|
||||
BuildRequires: intltool gettext
|
||||
BuildRequires: libselinux-devel >= %{libselinux_version}
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: librsvg2-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: itstool
|
||||
|
||||
%description
|
||||
@ -39,7 +34,7 @@ such as CPU and memory.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --enable-systemd
|
||||
%configure --enable-systemd --enable-wnck
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -75,6 +70,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||
* Mon Jun 22 2015 David King <amigadave@amigadave.com> - 3.17.3-1
|
||||
- Update to 3.17.3
|
||||
- Preserve timestamps during install
|
||||
- Use pkgconfig for BuildRequires
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.16.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user