Use pkgconfig for BuildRequires

This commit is contained in:
David King 2014-05-02 17:07:57 +02:00
parent 0bb506cd40
commit 011cc520bf

View File

@ -1,8 +1,3 @@
%define glib2_version 2.31.0
%define gtk3_version 3.5.8
%define udisks_version 2.1.1
%define gnome_settings_daemon_version 3.7.3
# Only enable if using patches that touches configure.ac,
# Makefile.am or other build system related files
#
@ -14,27 +9,27 @@ Version: 3.12.1
Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://git.gnome.org/browse/gnome-disk-utility
Source0: http://download.gnome.org/sources/gnome-disk-utility/3.12/%{name}-%{version}.tar.xz
URL: https://git.gnome.org/browse/gnome-disk-utility
Source0: https://download.gnome.org/sources/gnome-disk-utility/3.12/%{name}-%{version}.tar.xz
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk3-devel >= %{gtk3_version}
BuildRequires: gnome-settings-daemon-devel >= %{gnome_settings_daemon_version}
BuildRequires: gettext
BuildRequires: desktop-file-utils
BuildRequires: libudisks2-devel >= %{udisks_version}
BuildRequires: docbook-style-xsl
BuildRequires: gettext
BuildRequires: gnome-common
BuildRequires: intltool
BuildRequires: libsecret-devel
BuildRequires: systemd-devel
BuildRequires: xz-devel
# for xsltproc
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
BuildRequires: libpwquality-devel
BuildRequires: libcanberra-devel
BuildRequires: libdvdread-devel
BuildRequires: libnotify-devel
BuildRequires: pkgconfig(dvdread)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnome-settings-daemon)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(libsystemd-login)
BuildRequires: pkgconfig(pwquality)
BuildRequires: pkgconfig(udisks2)
Requires: gnome-icon-theme-symbolic
Requires: udisks2
@ -121,9 +116,11 @@ done
%doc README AUTHORS NEWS COPYING
%changelog
* Fri May 02 2014 David King <amigadave@amigadave.com> - 3.12.1-2
- Fix desktop database scriptlet (#685030)
- Use pkgconfig for BuildRequires
* Mon Apr 28 2014 Richard Hughes <rhughes@redhat.com> - 3.12.1-1
- Update to 3.12.1