commit 605ab522d5daeccc9ecfeb83c9d2ea61f82da2b2 Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> Date: Wed Apr 27 12:50:39 2011 +0200 Install icons into correct paths. Icon wasn't visible in krunner and Activites. perl-Padre.spec | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) --- diff --git a/perl-Padre.spec b/perl-Padre.spec index a51450f..bf18a90 100644 --- a/perl-Padre.spec +++ b/perl-Padre.spec @@ -3,7 +3,7 @@ Name: perl-Padre Version: 0.84 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Perl Application Development and Refactoring Environment License: GPL+ or Artistic Group: Development/Libraries @@ -330,6 +330,12 @@ find ${RPM_BUILD_ROOT}%{perl_vendorlib}/auto/share/dist/Padre/locale/ \ sed 's|^'"$RPM_BUILD_ROOT"'|| s|\(.*/\)\([^.]*\)\(\.mo\)$|%lang(\2) \1\2\3|' > %{name}.lang +# install logo of Padre into correct paths +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/{64x64,16x16}/apps/ +install -m644 ./share/icons/padre/64x64/logo.png \ + $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/64x64/apps/padre.png +install -m644 ./share/icons/padre/16x16/logo.png \ + $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/16x16/apps/padre.png # install icon desktop-file-install --vendor="fedora" \ --dir=$RPM_BUILD_ROOT/%{_datadir}/applications %{SOURCE1} @@ -367,11 +373,16 @@ desktop-file-install --vendor="fedora" \ %{perl_vendorlib}/auto/share/dist/Padre/timeline %{perl_vendorlib}/Padre* %{_datadir}/applications/fedora-padre.desktop +%{_datadir}/icons/hicolor/16x16/apps/padre.png +%{_datadir}/icons/hicolor/64x64/apps/padre.png %{_mandir}/man3/* %{_bindir}/padre %changelog +* Wed Apr 27 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 0.84-3 +- install icons into correct path, should add icon into Activity for Gnome3 + * Tue Mar 15 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 0.84-2 - 699569 add missing .desktop file -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel