Dominique Leuenberger
d570be9b1e
Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/329001 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-backgrounds?expand=0&rev=85
69 lines
2.0 KiB
RPMSpec
69 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package gnome-backgrounds
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX 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-backgrounds
|
|
Version: 3.17.3
|
|
Release: 0
|
|
Summary: GNOME Backgrounds
|
|
License: GPL-2.0+
|
|
Group: System/GUI/GNOME
|
|
Url: http://www.gnome.org/
|
|
Source: http://download.gnome.org/sources/gnome-backgrounds/3.17/%{name}-%{version}.tar.xz
|
|
BuildRequires: fdupes
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: translation-update-upstream
|
|
Recommends: %{name}-lang
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Background images from the GNOME project.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
%if 0%{?suse_version} <= 1120
|
|
rm %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
%endif
|
|
mv %{buildroot}/%{_datadir}/locale/sr@latin %{buildroot}/%{_datadir}/locale/sr@Latn
|
|
# Change sr@Latn to sr@latin
|
|
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%fdupes -s %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_datadir}/gnome-background-properties/
|
|
%{_datadir}/backgrounds/
|
|
|
|
%files lang -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|