gnome-common/gnome-common.spec
Dominique Leuenberger bbf2491ad5 Accepting request 259793 from GNOME:Next
- Add autoconf-archive Requires: the files ax_check_enable_debug.m4
  and ax_code_coverage.m4 are now shipped by ac-archive and from
  a GNOME perspective, those two files are mandatory to be present
  for a bootstrap.
- Remove ax_check_enable_debug.m4 and ax_code_coverage.m4 from
  gnome-common installation.

OBS-URL: https://build.opensuse.org/request/show/259793
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-common?expand=0&rev=43
2014-11-05 21:06:18 +00:00

74 lines
2.2 KiB
RPMSpec

#
# spec file for package gnome-common
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gnome-common
Version: 3.14.0
Release: 0
Summary: Common Files to Build GNOME
License: GPL-2.0+
Group: System/GUI/GNOME
Url: http://www.gnome.org/
Source: http://download.gnome.org/sources/gnome-common/3.14/%{name}-%{version}.tar.xz
BuildRequires: pkg-config
Requires: autoconf
# we need autoconf-archive >= 2014.10.15, as this is when ax_check_enable_debug.m4 and ax_code_coverage.m4 became part of it.
Requires: autoconf-archive >= 2014.10.15
Requires: automake
Requires: gettext-tools
# Avoiding pkgconfig()-style because we want glib-gettextize
Requires: glib2-devel
Requires: gnome-doc-utils-devel
Requires: gtk-doc
Requires: intltool
Requires: libtool
Requires: pkg-config
Requires: yelp-tools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Gnome-common includes files used by to build GNOME and GNOME applications.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
# the files ax_check_enable_debug.m4 and ax_code_coverage.m4 live in autoconf-archive
rm %{buildroot}%{_datadir}/aclocal/{ax_check_enable_debug,ax_code_coverage}.m4
%clean
rm -rf %{buildroot}
%files
%defattr (-, root, root)
%doc ChangeLog
%{_bindir}/gnome-autogen.sh
%{_bindir}/gnome-doc-common
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/gnome-code-coverage.m4
%{_datadir}/aclocal/gnome-common.m4
%{_datadir}/aclocal/gnome-compiler-flags.m4
%{_datadir}/gnome-common/
%changelog