Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
6499939d96
!17 修改错误Source0地址
From: @lyn1001 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
2022-11-10 11:43:49 +00:00
lyn1001
c386040c01 Change source 2022-11-10 16:55:44 +08:00
openeuler-ci-bot
e7df8578fc
!16 [sync] PR-15: Package upgrade
From: @openeuler-sync-bot 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
2022-10-19 08:21:39 +00:00
wk333
dbd48b3d67 Package upgrade
(cherry picked from commit afa304c07355716b54be3a539acb5525e59a1812)
2022-10-19 14:14:03 +08:00
wk333
cbae5dcb1d License compliance rectification
(cherry picked from commit 70e2b4fb633812b62358fa914a9729a641e1dab2)
2022-10-19 14:14:03 +08:00
openeuler-ci-bot
6352742494 !5 修复缺少编译依赖perl-File-Which
From: @caodongxia
Reviewed-by: @myeuler
Signed-off-by: @myeuler
2021-09-06 02:32:18 +00:00
caodongxia
47b9c441b5 add build require perl-File-Which 2021-09-06 10:06:33 +08:00
openeuler-ci-bot
8fdce312a5 !4 yaml upload
Merge pull request !4 from 宋震宇/master
2020-05-09 20:03:48 +08:00
so_zh_yu
1a2752bfcd yaml uplaod 2020-05-09 09:53:49 +08:00
openeuler-ci-bot
546f70ef0c !3 build without perl_File_BaseDir_enables_xdg_user_dirs
Merge pull request !3 from syyhao/next
2020-01-15 06:18:14 +08:00
guoxiaoqi
cb7227e6d0 build without perl_File_BaseDir_enables_xdg_user_dirs 2020-01-15 06:10:13 +08:00
4 changed files with 45 additions and 4 deletions

Binary file not shown.

BIN
File-BaseDir-0.09.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,20 @@
%{bcond_with perl_File_BaseDir_enables_xdg_user_dirs}
Name: perl-File-BaseDir
Version: 0.08
Release: 5
Version: 0.09
Release: 2
Summary: Use the Freedesktop.org base directory specification
License: GPL+ or Artistic
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
BuildRequires: findutils make perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
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}
@ -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
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
%prep
@ -43,11 +60,31 @@ make test
%defattr(-,root,root)
%doc Changes README
%{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
%{_mandir}/man3/*
%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
- delete obsolete of perl(File::UserDirs)

4
perl-File-BaseDir.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: metacpan
src_repo: File-BaseDir
tag_prefix: "^v"
seperator: "."