1 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
2 |
|
3 |
Summary: Desktop backgrounds packaged with the GNOME desktop |
4 |
Name: gnome-backgrounds |
5 |
Version: 3.30.0 |
6 |
Release: %mkrel 2 |
7 |
License: GPLv2 |
8 |
Group: Graphical desktop/GNOME |
9 |
URL: http://www.gnome.org |
10 |
Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
11 |
BuildArch: noarch |
12 |
BuildRequires: intltool |
13 |
BuildRequires: meson |
14 |
|
15 |
%description |
16 |
The gnome-backgrounds package contains images and tiles |
17 |
to use for your desktop background which are packaged |
18 |
with the GNOME desktop. |
19 |
|
20 |
%prep |
21 |
%setup -q |
22 |
|
23 |
%build |
24 |
%meson |
25 |
%meson_build |
26 |
|
27 |
%install |
28 |
export LANG=UTF-8 |
29 |
%meson_install |
30 |
|
31 |
mkdir -p %{buildroot}%{_datadir}/backgrounds/images |
32 |
|
33 |
# all translations are merged back into xml by intltool |
34 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
35 |
|
36 |
%check |
37 |
%meson_test |
38 |
|
39 |
%files |
40 |
%doc NEWS README AUTHORS |
41 |
%{_datadir}/gnome-background-properties |
42 |
%{_datadir}/backgrounds/* |