gnome-backgrounds/gnome-backgrounds.spec
2005-02-02 19:01:33 +00:00

54 lines
1.3 KiB
RPMSpec

%define gettext_package gnome-backgrounds
Summary: Desktop backgrounds packaged with the GNOME desktop
Name: gnome-backgrounds
Version: 2.9.90
Release: 1
License: GPL
Group: Applications/Multimedia
URL: http://www.gnome.org
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArchitectures: noarch
Patch0: gnome-backgrounds-2.9.90-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
%makeinstall
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
%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
* Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1
- Initial build.