gnome-backgrounds/gnome-backgrounds.spec
Matthias Clasen 6f9a4e8b80 2.16.2
2007-06-17 05:39:02 +00:00

79 lines
2.2 KiB
RPMSpec

%define gettext_package gnome-backgrounds
Summary: Desktop backgrounds packaged with the GNOME desktop
Name: gnome-backgrounds
Version: 2.16.2
Release: 1%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-backgrounds/2.16/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
BuildRequires: perl(XML::Parser)
# for /usr/share/backgrounds
Requires: desktop-backgrounds-basic
Patch0: gnome-backgrounds-2.14.0-paths.patch
%description
The gnome-backgrounds package contains images and tiles
to use for your desktop background which are packaged
with the GNOME desktop.
%prep
%setup -q
%patch0 -p1 -b .paths
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/backgrounds/images
mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds/gnome/branded $RPM_BUILD_ROOT%{_datadir}/backgrounds/images
mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds/gnome/tiles $RPM_BUILD_ROOT%{_datadir}/backgrounds
mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds/gnome/translucent $RPM_BUILD_ROOT%{_datadir}/backgrounds
mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/backgrounds/gnome/nature $RPM_BUILD_ROOT%{_datadir}/backgrounds
%find_lang %{gettext_package}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{gettext_package}.lang
%defattr(-,root,root,-)
%doc
%{_datadir}/gnome-background-properties
%{_datadir}/backgrounds/*
%changelog
* Sun Jun 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.16.2-1
- Update to 2.16.2
- Require desktop-backgrounds-basic for directory ownership
* Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.1-1
- Update to 2.16.1
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.92-1.fc6
- Update to 2.15.92
* Fri Jun 9 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.2.1-3
- Add missing BuildRequires
* Thu Jun 1 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.2.1-2
- Update to 2.14.2.1
* Mon Mar 13 2005 Ray Strode <rstrode@redhat.com> - 2.14.0-1
- Update to 2.14.0
* Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1
- Initial build.