0.06 bump
This commit is contained in:
parent
91273add6a
commit
0cb543c4ce
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
File-BaseDir-0.03.tar.gz
|
||||
/File-BaseDir-0.06.tar.gz
|
||||
|
||||
@ -1,55 +1,62 @@
|
||||
Name: perl-File-BaseDir
|
||||
Version: 0.03
|
||||
Release: 18%{?dist}
|
||||
Summary: Use the freedesktop basedir spec
|
||||
Version: 0.06
|
||||
Release: 1%{?dist}
|
||||
Summary: Use the Freedesktop.org base directory specification
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/File-BaseDir/
|
||||
Source0: http://www.cpan.org/authors/id/P/PA/PARDUS/File-BaseDir-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source0: http://www.cpan.org/authors/id/K/KI/KIMRYAN/File-BaseDir-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
#BuildRequires: perl(File::DesktopEntry)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Test::Pod) perl(Test::Pod::Coverage)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildRequires: perl(Module::Build::Compat) >= 0.02
|
||||
# Run-time
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(IPC::System::Simple)
|
||||
BuildRequires: perl(parent)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Tests
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(File::Which)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module can be used to find directories and files as specified by the
|
||||
XDG Base Directory Specification. It takes care of defaults and uses
|
||||
File::Spec to make the output platform specific.
|
||||
Freedesktop.org Base Directory Specification. This specifications gives a
|
||||
mechanism to locate directories for configuration, application data and
|
||||
cache data. It is suggested that desktop applications for e.g. the Gnome,
|
||||
KDE or Xfce platforms follow this layout. However, the same layout can just
|
||||
as well be used for non-GUI applications.
|
||||
|
||||
%prep
|
||||
%setup -q -n File-BaseDir-%{version}
|
||||
|
||||
%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
|
||||
* Tue Apr 07 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.06-1
|
||||
- 0.06 bump
|
||||
|
||||
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-18
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user