Name: perl-File-XDG Version: 1.02 Release: %autorelease Summary: Basic implementation of the XDG base directory specification License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/dist/File-XDG Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-XDG-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Path) >= 2.07 BuildRequires: perl(File::Temp) BuildRequires: perl(Path::Class) > 0.26 BuildRequires: perl(Path::Tiny) BuildRequires: perl(Ref::Util) BuildRequires: perl(Test::More) >= 0.98 %{?perl_default_filter} %description This Perl module provides a basic implementation of the XDG base directory specification as exists by the Free Desktop Organization. It supports all XDG directories except for the runtime directories, which require session management support in order to function. %prep %autosetup -n File-XDG-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %install 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 %files %license LICENSE %doc Changes %doc README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog %autochangelog