0.05 bump

This commit is contained in:
Jitka Plesnikova 2013-06-07 14:53:54 +02:00
parent a416abc6fb
commit 6720f3b524
3 changed files with 35 additions and 23 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
File-DesktopEntry-0.04.tar.gz
/File-DesktopEntry-0.05.tar.gz

View File

@ -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@redhat.com> - 0.05-1
- 0.05 bump
- Clean up spec
- Update source URL
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

View File

@ -1 +1 @@
fc196bc1a4d6ca84953fee5a9cdaa629 File-DesktopEntry-0.04.tar.gz
80075f02aa03a79076154bb6e3e18d9b File-DesktopEntry-0.05.tar.gz