Build installed tests

This commit is contained in:
Vadim Rutkovsky 2014-11-12 12:45:17 +01:00 committed by Rui Matos
parent deb8d1a3f5
commit 5239d8ac87

View File

@ -7,7 +7,7 @@
Summary: Shared code among gnome-panel, gnome-session, nautilus, etc
Name: gnome-desktop3
Version: 3.14.1
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-desktop/3.14/gnome-desktop-%{version}.tar.xz
Patch0: 0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch
@ -57,12 +57,21 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Libraries and header files for the GNOME-internal private library
libgnomedesktop.
%package tests
Summary: Tests for the gnome-desktop3 package
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tests
The gnome-desktop3-tests package contains tests that can be used to verify
the functionality of the installed gnome-desktop3 package.
%prep
%setup -q -n gnome-desktop-%{version}
%patch0 -p1
%build
%configure --with-pnp-ids-path="/usr/share/hwdata/pnp.ids"
%configure --with-pnp-ids-path="/usr/share/hwdata/pnp.ids" --enable-installed-tests
make %{?_smp_mflags}
%install
@ -94,7 +103,14 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%dir %{_datadir}/gtk-doc/html/
%doc %{_datadir}/gtk-doc/html/gnome-desktop3/
%files tests
%{_libexecdir}/installed-tests/gnome-desktop
%{_datadir}/installed-tests
%changelog
* Wed Nov 12 2014 Vadim Rutkovsky <vrutkovs@redhat.com> - 3.14.1-2
- Build installed tests
* Tue Oct 14 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
- Update to 3.14.1