Compare commits
11 Commits
e1f31e5930
...
6499939d96
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6499939d96 | ||
|
|
c386040c01 | ||
|
|
e7df8578fc | ||
|
|
dbd48b3d67 | ||
|
|
cbae5dcb1d | ||
|
|
6352742494 | ||
|
|
47b9c441b5 | ||
|
|
8fdce312a5 | ||
|
|
1a2752bfcd | ||
|
|
546f70ef0c | ||
|
|
cb7227e6d0 |
Binary file not shown.
BIN
File-BaseDir-0.09.tar.gz
Normal file
BIN
File-BaseDir-0.09.tar.gz
Normal file
Binary file not shown.
@ -1,15 +1,20 @@
|
|||||||
|
%{bcond_with perl_File_BaseDir_enables_xdg_user_dirs}
|
||||||
Name: perl-File-BaseDir
|
Name: perl-File-BaseDir
|
||||||
Version: 0.08
|
Version: 0.09
|
||||||
Release: 5
|
Release: 2
|
||||||
Summary: Use the Freedesktop.org base directory specification
|
Summary: Use the Freedesktop.org base directory specification
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/File-BaseDir
|
URL: https://metacpan.org/release/File-BaseDir
|
||||||
Source0: https://cpan.metacpan.org/authors/id/K/KI/KIMRYAN/File-BaseDir-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-BaseDir-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: findutils make perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
|
BuildRequires: findutils make perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Module::Build::Compat) perl(Test::More)
|
BuildRequires: perl(Module::Build::Compat) perl(Test::More)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) xdg-user-dirs
|
BuildRequires: perl-File-Which
|
||||||
|
%if %{with perl_File_BaseDir_enables_xdg_user_dirs}
|
||||||
|
BuildRequires: xdg-user-dirs
|
||||||
|
%endif
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
Provides: perl-File-UserDirs = %{version}-%{release}
|
Provides: perl-File-UserDirs = %{version}-%{release}
|
||||||
Provides: perl(File::UserDirs) = %{version}-%{release}
|
Provides: perl(File::UserDirs) = %{version}-%{release}
|
||||||
@ -22,6 +27,18 @@ configuration, application data and cache data. It is suggested that desktop app
|
|||||||
e.g. the Gnome, KDE or Xfce platforms follow this layout. However, the same layout can just
|
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.
|
as well be used for non-GUI applications.
|
||||||
|
|
||||||
|
%if %{with perl_File_BaseDir_enables_xdg_user_dirs}
|
||||||
|
Summary: Find extra media and documents Freedesktop.org directories
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
Requires: xdg-user-dirs
|
||||||
|
Conflicts: %{name} < 0.06-2
|
||||||
|
|
||||||
|
%description -n perl-File-UserDirs
|
||||||
|
File::UserDirs Perl module can be used to find directories as informally
|
||||||
|
specified by the Freedesktop.org xdg-user-dirs software. This gives
|
||||||
|
a mechanism to locate extra directories for media and documents files.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -43,11 +60,31 @@ make test
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
|
%exclude %{perl_vendorlib}/File/UserDirs.pm
|
||||||
|
|
||||||
|
%if %{with perl_File_BaseDir_enables_xdg_user_dirs}
|
||||||
|
%files -n perl-File-UserDirs
|
||||||
|
%doc Changes README
|
||||||
|
%dir %{perl_vendorlib}/File
|
||||||
|
%{perl_vendorlib}/File/UserDirs.pm
|
||||||
|
%endif
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 10 2022 liyanan <liyanan32@h-partners.com> - 0.09-2
|
||||||
|
- Change source
|
||||||
|
|
||||||
|
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.09-1
|
||||||
|
- Upgrade to version 0.09
|
||||||
|
|
||||||
|
* Mon Sep 6 2021 caodongxia <caodongxia@huawei.com> - 0.08-7
|
||||||
|
- and build require perl-File-Which
|
||||||
|
|
||||||
|
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.08-6
|
||||||
|
- build without perl_File_BaseDir_enables_xdg_user_dirs
|
||||||
|
|
||||||
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.08-5
|
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.08-5
|
||||||
- delete obsolete of perl(File::UserDirs)
|
- delete obsolete of perl(File::UserDirs)
|
||||||
|
|
||||||
|
|||||||
4
perl-File-BaseDir.yaml
Normal file
4
perl-File-BaseDir.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: metacpan
|
||||||
|
src_repo: File-BaseDir
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user