Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
bf539d35b1
!22 [sync] PR-17: 修改错误Source0地址
From: @openeuler-sync-bot 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2024-03-28 01:30:46 +00:00
lyn1001
a03a925642 Change source
(cherry picked from commit c386040c011d7d80312c3d031104e011e5c9030d)
2024-03-28 09:29:07 +08:00
openeuler-ci-bot
01ed295685
!15 Package upgrade
From: @wk333 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-06-16 03:02:08 +00:00
wk333
afa304c073 Package upgrade 2022-06-14 20:50:29 +08:00
wk333
70e2b4fb63 License compliance rectification 2022-05-10 10:01:54 +08:00
openeuler-ci-bot
9a019a4706 !6 [sync] PR-5: 修复缺少编译依赖perl-File-Which
From: @openeuler-sync-bot
Reviewed-by: @myeuler
Signed-off-by: @myeuler
2021-09-06 15:59:39 +00:00
caodongxia
78900f3cb5 add build require perl-File-Which
(cherry picked from commit 47b9c441b56638888aa194c900240b76a48b3ab8)
2021-09-06 10:32:21 +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 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
View File

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