65 lines
1.7 KiB
RPMSpec
65 lines
1.7 KiB
RPMSpec
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
Name: oreon-backgrounds
|
|
Version: 40.1
|
|
Release: 2%{?dist}
|
|
Summary: Desktop backgrounds packaged with Oreon
|
|
|
|
License: GPLv2
|
|
URL: http://www.gnome.org
|
|
Source0: oreon-backgrounds-40.1.tar.xz
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: gettext
|
|
BuildRequires: meson
|
|
|
|
%description
|
|
The oreon-backgrounds package contains the default
|
|
desktop background, known as the Adwaita background,
|
|
for the GNOME Desktop version
|
|
|
|
%package extras
|
|
Summary: Additional Oreon Backgrounds
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description extras
|
|
This package contains the additional desktop backgrounds
|
|
which are packaged with the GNOME desktop.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/backgrounds/images
|
|
|
|
# all translations are merged back into xml by intltool
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc AUTHORS NEWS README.md
|
|
%{_datadir}/gnome-background-properties/adwaita.xml
|
|
%{_datadir}/backgrounds/gnome/adwaita-day.png
|
|
%{_datadir}/backgrounds/gnome/adwaita-morning.png
|
|
%{_datadir}/backgrounds/gnome/adwaita-night.png
|
|
%{_datadir}/backgrounds/gnome/adwaita-timed.xml
|
|
|
|
%files extras
|
|
%{_datadir}/gnome-background-properties/gnome-backgrounds.xml
|
|
%{_datadir}/backgrounds/gnome/limefalls.png
|
|
%{_datadir}/backgrounds/gnome/orange.png
|
|
%{_datadir}/backgrounds/gnome/IceCrystals.jpg
|
|
%{_datadir}/backgrounds/gnome/Lava.jpg
|
|
%{_datadir}/backgrounds/gnome/red.png
|
|
%{_datadir}/backgrounds/gnome/blue.png
|
|
%{_datadir}/backgrounds/gnome/Loveles.jpg
|
|
%{_datadir}/backgrounds/gnome/Symbolics-1.png
|
|
%{_datadir}/backgrounds/gnome/Tree.jpg
|
|
%{_datadir}/backgrounds/gnome/VNC.png
|
|
%{_datadir}/backgrounds/gnome/Wood.jpg
|