[perl-Padre] 699569 add missing .desktop file

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

 



commit a08d45e61abd7ecc428ee6cb03aae1351c411d98
Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx>
Date:   Tue Apr 26 15:53:32 2011 +0200

    699569 add missing .desktop file

 perl-Padre.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/perl-Padre.spec b/perl-Padre.spec
index 27a753b..dee179e 100644
--- a/perl-Padre.spec
+++ b/perl-Padre.spec
@@ -3,12 +3,13 @@
 
 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:  perl(Alien::wxWidgets) >= 0.46
@@ -328,6 +329,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 +365,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
--
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