[perl-Padre/f15/master] Add padre.desktop

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

 



commit 32ce1124d1fb5dd26ee0e676ffe9cb02a45c13c6
Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx>
Date:   Wed Apr 27 10:08:57 2011 +0200

    Add padre.desktop

 .gitignore      |    1 +
 perl-Padre.spec |   12 +++++++++++-
 sources         |    1 +
 3 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 79b5bf3..fa89b54 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ Padre-0.64.tar.gz
 /Padre-0.80.tar.gz
 /Padre-0.82.tar.gz
 /Padre-0.84.tar.gz
+/padre.desktop
diff --git a/perl-Padre.spec b/perl-Padre.spec
index 27a753b..a51450f 100644
--- a/perl-Padre.spec
+++ b/perl-Padre.spec
@@ -3,14 +3,16 @@
 
 Name:           perl-Padre
 Version:        0.84
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl Application Development and Refactoring Environment
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Padre/
 Source0:        http://search.cpan.org/CPAN/authors/id/P/PL/PLAVEN/Padre-%{version}.tar.gz
+Source1:        padre.desktop
 BuildArch:      noarch
 BuildRequires:  gettext
+BuildRequires:  desktop-file-utils
 BuildRequires:  perl(Alien::wxWidgets) >= 0.46
 BuildRequires:  perl(Capture::Tiny) >= 0.06
 BuildRequires:  perl(Class::Adapter) >= 1.05
@@ -328,6 +330,10 @@ 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 icon
+desktop-file-install --vendor="fedora" \
+--dir=$RPM_BUILD_ROOT/%{_datadir}/applications %{SOURCE1}
+
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 
@@ -360,11 +366,15 @@ find ${RPM_BUILD_ROOT}%{perl_vendorlib}/auto/share/dist/Padre/locale/ \
      %{perl_vendorlib}/auto/share/dist/Padre/templates
      %{perl_vendorlib}/auto/share/dist/Padre/timeline
 %{perl_vendorlib}/Padre*
+%{_datadir}/applications/fedora-padre.desktop
 %{_mandir}/man3/*
 %{_bindir}/padre
 
 
 %changelog
+* Tue Mar 15 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 0.84-2
+- 699569 add missing .desktop file
+
 * Tue Mar 15 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 0.84-1
 - update to 0.84
 - remove clear section
diff --git a/sources b/sources
index 1d8b733..72fc75f 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 29c21759803089fa6a9b981ae35ba512  Padre-0.84.tar.gz
+60785f75d6c4b556c1293a51d80c465e  padre.desktop
--
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