[perl-Padre] padre.desktop as file instead of source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 206207d3f755951bcac8ae1185038a82ba9f5daa
Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx>
Date:   Wed Apr 27 14:05:41 2011 +0200

    padre.desktop as file instead of source

 perl-Padre.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/perl-Padre.spec b/perl-Padre.spec
index a51450f..ff54d2c 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}
@@ -366,12 +372,17 @@ desktop-file-install --vendor="fedora" \
      %{perl_vendorlib}/auto/share/dist/Padre/templates
      %{perl_vendorlib}/auto/share/dist/Padre/timeline
 %{perl_vendorlib}/Padre*
+%{_datadir}/icons/hicolor/64x64/apps/padre.png
+%{_datadir}/icons/hicolor/16x16/apps/padre.png
 %{_datadir}/applications/fedora-padre.desktop
 %{_mandir}/man3/*
 %{_bindir}/padre
 
 
 %changelog
+* Tue Mar 15 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 0.84-3
+- padre.desktop as file instead of source
+
 * 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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux