Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
96011c4961
!8 update to 2.24
From: @lyn1001 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2023-09-11 01:52:56 +00:00
lyn1001
e04b847d36 update to 2.24 2023-09-11 09:37:12 +08:00
openeuler-ci-bot
efb02f12b5
!7 修复 noarch 平台构建时打包错误
From: @jiachao2130 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2023-05-23 08:16:49 +00:00
Jia Chao
5b9c1b0d9c fix: remove unused files before %file
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
2023-05-23 14:49:20 +08:00
openeuler-ci-bot
41e066f29d
!5 Package upgrade
From: @starlet-dx 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
2022-06-15 13:45:40 +00:00
starlet-dx
0551e99e74 Package upgrade 2022-06-15 15:32:55 +08:00
openeuler-ci-bot
7aecb2ede2 !2 yaml upload
Merge pull request !2 from 宋震宇/master
2020-05-21 10:31:43 +08:00
so_zh_yu
1bb5f8cfae yaml upload 2020-05-09 15:29:48 +08:00
openeuler-ci-bot
26aed9829a !1 Package init
Merge pull request !1 from sigui/sgs-own
2020-03-07 19:15:38 +08:00
sigui
bb94013cca Package Init 2020-03-07 19:05:10 +08:00
3 changed files with 83 additions and 0 deletions

BIN
MIME-Types-2.24.tar.gz Normal file

Binary file not shown.

79
perl-MIME-Types.spec Normal file
View File

@ -0,0 +1,79 @@
Name: perl-MIME-Types
Version: 2.24
Release: 1
Summary: MIME-types module in Perl
License: GPL+ or Artistic
URL: https://metacpan.org/release/MIME-Types
Source0: https://cpan.metacpan.org/authors/id/M/MA/MARKOV/MIME-Types-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker)
BuildRequires: perl(base) perl(Carp) perl(Exporter) perl(File::Basename) perl(File::Spec)
BuildRequires: perl(Mojo::Base) perl(List::Util) perl(overload) perl(strict) perl(vars)
BuildRequires: perl(lib) perl(Test::More) perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This package provides MIME types which are used in many applications.For instance as
part of e-mail and HTTP traffic, to indicate the type of content that is transmitted.
This object administers a huge list of known mime-types, combined from various sources.
For instance, it contains all IANA types and the knowledge of Apache. Probably the most
complete table on the net!
%package -n perl-MojoX-MIME-Types
Summary: MIME-Types for perl Mojolicious
Requires: perl-MIME-Types = %{version}-%{release}
%description -n perl-MojoX-MIME-Types
perl-MojoX-MIME-Types is a replacement for Mojolicious::Types.The best part is it contains
a more correct handling plus a complete list of types... a huge list of types.
%package help
Summary: Provides help and manual docs for perl-MIME-Types and perl-MojoX-MIME-Types
Requires: perl-MIME-Types = %{version}-%{release} perl-MojoX-MIME-Types = %{version}-%{release}
%description help
This package provides help and manual docs for perl-MIME-Types and perl-MojoX-MIME-Types
%prep
%autosetup -n MIME-Types-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} -c %{buildroot}
%check
make test
%files
%doc ChangeLog
%{perl_vendorlib}/MIME/
%files -n perl-MojoX-MIME-Types
%{perl_vendorlib}/MojoX/
%files help
%doc README README.md
%{_mandir}/man3/MIME::Type.3*
%{_mandir}/man3/MIME::Types.3*
%{_mandir}/man3/MojoX::MIME::Types.3*
%changelog
* Mon Sep 11 2023 liyanan <thistleslyn@163.com> - 2.24-1
- update to 2.24
* Tue May 23 2023 Jia Chao <jiac13@chinaunicom.cn> - 2.22-2
- Fix: find and remove .packlist, not exclude it.
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 2.22-1
- Upgrade to version 2.22
* Thu Mar 05 2020 sunguoshuai <sunguoshuai@huawei.com> - 2.17-5
- Package init.

4
perl-MIME-Types.yaml Normal file
View File

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