[perl-File-DesktopEntry] 0.05 bump
Jitka Plesnikova
jplesnik at fedoraproject.org
Fri Jun 7 12:54:25 UTC 2013
commit 6720f3b5249cad97014890a7a4b7df7daacb6d72
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date: Fri Jun 7 14:53:54 2013 +0200
0.05 bump
.gitignore | 1 +
perl-File-DesktopEntry.spec | 55 +++++++++++++++++++++++++-----------------
sources | 2 +-
3 files changed, 35 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c91156a..55610d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
File-DesktopEntry-0.04.tar.gz
+/File-DesktopEntry-0.05.tar.gz
diff --git a/perl-File-DesktopEntry.spec b/perl-File-DesktopEntry.spec
index 49b7103..7df0a2b 100644
--- a/perl-File-DesktopEntry.spec
+++ b/perl-File-DesktopEntry.spec
@@ -1,57 +1,68 @@
Name: perl-File-DesktopEntry
-Version: 0.04
-Release: 19%{?dist}
+Version: 0.05
+Release: 1%{?dist}
Summary: Object to handle .desktop files
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-DesktopEntry/
-Source0: http://www.cpan.org/authors/id/P/PA/PARDUS/File-DesktopEntry/File-DesktopEntry-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://www.cpan.org/authors/id/M/MI/MICHIELB/File-DesktopEntry-%{version}.tar.gz
#http://rt.cpan.org/Public/Bug/Display.html?id=76843
Patch0: File-DesktopEntry-encode.patch
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker) perl(Module::Build)
-BuildRequires: perl(Test::More) perl(Test::Pod) perl(Test::Pod::Coverage)
-BuildRequires: perl(File::BaseDir)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires: perl(Carp)
+BuildRequires: perl(Cwd)
+BuildRequires: perl(Encode)
+BuildRequires: perl(File::BaseDir) >= 0.03
+BuildRequires: perl(File::Path)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Tests:
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl(Test::Pod::Coverage) >= 1.00
+
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Cwd)
+Requires: perl(File::Path)
%description
This module is used to work with .desktop files. The format of these files
-is specified by the freedesktop "Desktop Entry" specification. See
-http://freedesktop.org/wiki/Standards_2fdesktop_2dentry_2dspec. For this
-module version 0.9.4 of the specification was used.
+is specified by the freedesktop "Desktop Entry" specification. This module
+can parse these files but also knows how to run the applications defined by
+these files. For this module version 1.0 of the specification was used.
%prep
%setup -q -n File-DesktopEntry-%{version}
%patch0 -p1
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Jun 07 2013 Jitka Plesnikova <jplesnik at redhat.com> - 0.05-1
+- 0.05 bump
+- Clean up spec
+- Update source URL
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.04-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 41dc80b..ae17df2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fc196bc1a4d6ca84953fee5a9cdaa629 File-DesktopEntry-0.04.tar.gz
+80075f02aa03a79076154bb6e3e18d9b File-DesktopEntry-0.05.tar.gz
More information about the scm-commits
mailing list