0.05 bump
This commit is contained in:
parent
a416abc6fb
commit
6720f3b524
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
File-DesktopEntry-0.04.tar.gz
|
File-DesktopEntry-0.04.tar.gz
|
||||||
|
/File-DesktopEntry-0.05.tar.gz
|
||||||
|
@ -1,57 +1,68 @@
|
|||||||
Name: perl-File-DesktopEntry
|
Name: perl-File-DesktopEntry
|
||||||
Version: 0.04
|
Version: 0.05
|
||||||
Release: 19%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Object to handle .desktop files
|
Summary: Object to handle .desktop files
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/File-DesktopEntry/
|
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
|
Source0: http://www.cpan.org/authors/id/M/MI/MICHIELB/File-DesktopEntry-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
#http://rt.cpan.org/Public/Bug/Display.html?id=76843
|
#http://rt.cpan.org/Public/Bug/Display.html?id=76843
|
||||||
Patch0: File-DesktopEntry-encode.patch
|
Patch0: File-DesktopEntry-encode.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) perl(Module::Build)
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Test::More) perl(Test::Pod) perl(Test::Pod::Coverage)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(File::BaseDir)
|
# Run-time:
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
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
|
%description
|
||||||
This module is used to work with .desktop files. The format of these files
|
This module is used to work with .desktop files. The format of these files
|
||||||
is specified by the freedesktop "Desktop Entry" specification. See
|
is specified by the freedesktop "Desktop Entry" specification. This module
|
||||||
http://freedesktop.org/wiki/Standards_2fdesktop_2dentry_2dspec. For this
|
can parse these files but also knows how to run the applications defined by
|
||||||
module version 0.9.4 of the specification was used.
|
these files. For this module version 1.0 of the specification was used.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n File-DesktopEntry-%{version}
|
%setup -q -n File-DesktopEntry-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
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/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user