diff --git a/gnome-icon-theme.spec b/gnome-icon-theme.spec index 97f6483..d4a74c7 100644 --- a/gnome-icon-theme.spec +++ b/gnome-icon-theme.spec @@ -1,7 +1,7 @@ Summary: GNOME icon theme Name: gnome-icon-theme Version: 2.91.92 -Release: 1%{?dist} +Release: 2%{?dist} #VCS: git:git://git.gnome.org/gnome-icon-theme Source0: http://download.gnome.org/sources/gnome-icon-theme/2.91/%{name}-%{version}.tar.bz2 Source1: legacy-icon-mapping.xml @@ -29,6 +29,17 @@ Requires: %{name} = %{version}-%{release} This package contains symlinks to make the icons in gnome-icon-theme available under old names. +%package -n gnome-logos +Summary: A package providing the GNOME logos +Group: User Interface/Desktops +Requires: %{name} = %{version}-%{release} +Provides: system-logos = 15.0.0-1.fc15 +Conflicts: fedora-logos + +%description -n gnome-logos +This package contains the GNOME logos in a form that can be used as +a drop-in replacement for system logos. + %prep %setup -q @@ -82,6 +93,14 @@ touch files.txt find icons/gnome \( -type l -and -not -name *-rtl.png -and -not -name *-ltr.png \) -printf "%%%%{_datadir}/%%p\n" ) > legacy.txt +mkdir $RPM_BUILD_ROOT%{_datadir}/pixmaps +(cd $RPM_BUILD_ROOT%{_datadir}/pixmaps + ln -s ../icons/gnome/48x48/places/distributor-logo.png fedora-logo-small.png + ln -s ../icons/gnome/48x48/places/distributor-logo.png fedora-logo-sprite.png + ln -s ../icons/gnome/48x48/places/distributor-logo.png fedora-logo-sprite.svg + ln -s ../icons/gnome/48x48/places/distributor-logo.png fedora-logo.png +) + %posttrans gtk-update-icon-cache --quiet %{_datadir}/icons/gnome || : @@ -103,7 +122,17 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/gnome || : %files legacy -f legacy.txt %defattr(-,root,root) +%files -n gnome-logos +%defattr(-,root,root) +%{_datadir}/pixmaps/fedora-logo-small.png +%{_datadir}/pixmaps/fedora-logo-sprite.png +%{_datadir}/pixmaps/fedora-logo-sprite.svg +%{_datadir}/pixmaps/fedora-logo.png + %changelog +* Thu Mar 24 2011 Matthias Clasen 2.91.92-2 +- Add a logos subpackage + * Tue Mar 22 2011 Christopher Aillon 2.91.92-1 - Update to 2.91.92