|
|
a85084 |
# Utilize xdg-user-dirs
|
|
|
a85084 |
%{bcond_without perl_File_BaseDir_enables_xdg_user_dirs}
|
|
|
a85084 |
Name: perl-File-BaseDir
|
|
|
a85084 |
Version: 0.08
|
|
|
a85084 |
Release: 12%{?dist}
|
|
|
a85084 |
Summary: Use the Freedesktop.org base directory specification
|
|
|
a85084 |
License: GPL+ or Artistic
|
|
|
a85084 |
URL: https://metacpan.org/release/File-BaseDir
|
|
|
a85084 |
Source0: https://cpan.metacpan.org/authors/id/K/KI/KIMRYAN/File-BaseDir-%{version}.tar.gz
|
|
|
a85084 |
BuildArch: noarch
|
|
|
a85084 |
BuildRequires: findutils
|
|
|
a85084 |
BuildRequires: make
|
|
|
a85084 |
BuildRequires: perl-generators
|
|
|
a85084 |
BuildRequires: perl-interpreter
|
|
|
a85084 |
BuildRequires: perl(Module::Build)
|
|
|
a85084 |
BuildRequires: perl(Module::Build::Compat) >= 0.02
|
|
|
a85084 |
# Run-time
|
|
|
a85084 |
BuildRequires: perl(Carp)
|
|
|
a85084 |
BuildRequires: perl(Exporter)
|
|
|
a85084 |
BuildRequires: perl(File::Spec)
|
|
|
a85084 |
BuildRequires: perl(IPC::System::Simple)
|
|
|
a85084 |
BuildRequires: perl(parent)
|
|
|
a85084 |
BuildRequires: perl(strict)
|
|
|
a85084 |
BuildRequires: perl(warnings)
|
|
|
a85084 |
# Optional run-time:
|
|
|
a85084 |
%if %{with perl_File_BaseDir_enables_xdg_user_dirs}
|
|
|
a85084 |
BuildRequires: xdg-user-dirs
|
|
|
a85084 |
%endif
|
|
|
a85084 |
# Tests
|
|
|
a85084 |
BuildRequires: perl(Config)
|
|
|
a85084 |
BuildRequires: perl(File::Spec::Functions)
|
|
|
a85084 |
BuildRequires: perl(File::Temp)
|
|
|
a85084 |
BuildRequires: perl(File::Which)
|
|
|
a85084 |
BuildRequires: perl(Test::More)
|
|
|
a85084 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
a85084 |
|
|
|
a85084 |
%description
|
|
|
a85084 |
This module can be used to find directories and files as specified by the
|
|
|
a85084 |
Freedesktop.org Base Directory Specification. This specifications gives a
|
|
|
a85084 |
mechanism to locate directories for configuration, application data and
|
|
|
a85084 |
cache data. It is suggested that desktop applications for e.g. the Gnome,
|
|
|
a85084 |
KDE or Xfce platforms follow this layout. However, the same layout can just
|
|
|
a85084 |
as well be used for non-GUI applications.
|
|
|
a85084 |
|
|
|
a85084 |
%if %{with perl_File_BaseDir_enables_xdg_user_dirs}
|
|
|
a85084 |
%package -n perl-File-UserDirs
|
|
|
a85084 |
Summary: Find extra media and documents Freedesktop.org directories
|
|
|
a85084 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
a85084 |
# This package does not make sense without xdg-user-dirs
|
|
|
a85084 |
Requires: xdg-user-dirs
|
|
|
a85084 |
Conflicts: %{name} < 0.06-2
|
|
|
a85084 |
|
|
|
a85084 |
%description -n perl-File-UserDirs
|
|
|
a85084 |
File::UserDirs Perl module can be used to find directories as informally
|
|
|
a85084 |
specified by the Freedesktop.org xdg-user-dirs software. This gives
|
|
|
a85084 |
a mechanism to locate extra directories for media and documents files.
|
|
|
a85084 |
%endif
|
|
|
a85084 |
|
|
|
a85084 |
|
|
|
a85084 |
%prep
|
|
|
a85084 |
%setup -q -n File-BaseDir-%{version}
|
|
|
a85084 |
|
|
|
a85084 |
%build
|
|
|
a85084 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
a85084 |
make %{?_smp_mflags}
|
|
|
a85084 |
|
|
|
a85084 |
%install
|
|
|
a85084 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
a85084 |
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
|
a85084 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
a85084 |
|
|
|
a85084 |
%check
|
|
|
a85084 |
make test
|
|
|
a85084 |
|
|
|
a85084 |
%files
|
|
|
a85084 |
%doc Changes README
|
|
|
a85084 |
%{perl_vendorlib}/*
|
|
|
a85084 |
%exclude %{perl_vendorlib}/File/UserDirs.pm
|
|
|
a85084 |
%{_mandir}/man3/*
|
|
|
a85084 |
%exclude %{_mandir}/man3/File::UserDirs.3pm.gz
|
|
|
a85084 |
|
|
|
a85084 |
%if %{with perl_File_BaseDir_enables_xdg_user_dirs}
|
|
|
a85084 |
%files -n perl-File-UserDirs
|
|
|
a85084 |
%doc Changes README
|
|
|
a85084 |
%dir %{perl_vendorlib}/File
|
|
|
a85084 |
%{perl_vendorlib}/File/UserDirs.pm
|
|
|
a85084 |
%{_mandir}/man3/File::UserDirs.3pm.gz
|
|
|
a85084 |
%endif
|
|
|
a85084 |
|
|
|
a85084 |
%changelog
|
|
|
a85084 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.08-12
|
|
|
a85084 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
a85084 |
Related: rhbz#1991688
|
|
|
a85084 |
|
|
|
a85084 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.08-11
|
|
|
a85084 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
a85084 |
|
|
|
a85084 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-10
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-9
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-8
|
|
|
a85084 |
- Perl 5.32 rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-7
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-6
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-5
|
|
|
a85084 |
- Perl 5.30 rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-4
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-3
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-2
|
|
|
a85084 |
- Perl 5.28 rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Tue Mar 13 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-1
|
|
|
a85084 |
- 0.08 bump
|
|
|
a85084 |
|
|
|
a85084 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-9
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-8
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-7
|
|
|
a85084 |
- Perl 5.26 rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-6
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-5
|
|
|
a85084 |
- Perl 5.24 rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-4
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-2
|
|
|
a85084 |
- Perl 5.22 rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Tue Apr 21 2015 Petr Pisar <ppisar@redhat.com> - 0.07-1
|
|
|
a85084 |
- 0.07 bump
|
|
|
a85084 |
|
|
|
a85084 |
* Tue Apr 21 2015 Petr Pisar <ppisar@redhat.com> - 0.06-2
|
|
|
a85084 |
- Sub-package File::UserDirs
|
|
|
a85084 |
|
|
|
a85084 |
* Tue Apr 07 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.06-1
|
|
|
a85084 |
- 0.06 bump
|
|
|
a85084 |
|
|
|
a85084 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-18
|
|
|
a85084 |
- Perl 5.20 rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-17
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-16
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.03-15
|
|
|
a85084 |
- Perl 5.18 rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-14
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-13
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.03-12
|
|
|
a85084 |
- Perl 5.16 rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-11
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-10
|
|
|
a85084 |
- Perl mass rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-9
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-8
|
|
|
a85084 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
a85084 |
|
|
|
a85084 |
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-7
|
|
|
a85084 |
- Mass rebuild with perl-5.12.0
|
|
|
a85084 |
|
|
|
a85084 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-6
|
|
|
a85084 |
- Mass rebuild with perl-5.12.0
|
|
|
a85084 |
|
|
|
a85084 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-5
|
|
|
a85084 |
- rebuild against perl 5.10.1
|
|
|
a85084 |
|
|
|
a85084 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-4
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-3
|
|
|
a85084 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a85084 |
|
|
|
a85084 |
* Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-2
|
|
|
a85084 |
- rebuild for new perl
|
|
|
a85084 |
|
|
|
a85084 |
* Thu Nov 22 2007 Patrice Dumas <pertusus@free.fr> 0.03-1
|
|
|
a85084 |
- update to 0.03 (#396071)
|
|
|
a85084 |
|
|
|
a85084 |
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1.2
|
|
|
a85084 |
- add BR: perl(Test::More)
|
|
|
a85084 |
|
|
|
a85084 |
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1.1
|
|
|
a85084 |
- correct license tag
|
|
|
a85084 |
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
a85084 |
|
|
|
a85084 |
* Wed Oct 11 2006 Patrice Dumas <pertusus@free.fr> 0.02-1
|
|
|
a85084 |
- Specfile autogenerated by cpanspec 1.69.
|