File gnome-backgrounds.spec of Package gnome-backgrounds

#
# spec file for package gnome-backgrounds (Version 2.32.0)
#
# Copyright (c) 2010 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/
#

# norootforbuild


Name:           gnome-backgrounds
BuildRequires:  fdupes
BuildRequires:  glib2-devel
BuildRequires:  intltool
BuildRequires:  translation-update-upstream
License:        GPLv2+
Group:          System/GUI/GNOME
AutoReqProv:    off
Requires:       gnome-themes
BuildArch:      noarch
Version:        2.32.0
Release:        1
Source:         ftp://ftp.gnome.org/pub/gnome/sources/gnome-backgrounds/2.22/%{name}-%{version}.tar.bz2
Url:            http://www.gnome.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        GNOME Backgrounds

%description
Background images from the GNOME project.



Authors:
--------
    Gnome Team

%prep
%setup -q
translation-update-upstream

%build
%configure
make %{?jobs:-j%jobs}

%install
%makeinstall
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
mv $RPM_BUILD_ROOT/%{_datadir}/locale/sr@latin $RPM_BUILD_ROOT/%{_datadir}/locale/sr@Latn
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%find_lang %{name}
%fdupes -s %buildroot

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/gnome-background-properties/
%{_datadir}/pixmaps/backgrounds/

%changelog