Import Debian changes 0.29-ok1
libfile-mimeinfo-perl (0.29-ok1) yangtze; urgency=medium * Build for openKylin.
This commit is contained in:
parent
89bacf1716
commit
e4a701b3a3
|
@ -0,0 +1,5 @@
|
|||
libfile-mimeinfo-perl (0.29-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800
|
|
@ -0,0 +1 @@
|
|||
10
|
|
@ -0,0 +1,38 @@
|
|||
Source: libfile-mimeinfo-perl
|
||||
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
|
||||
Uploaders: Damyan Ivanov <dmn@debian.org>,
|
||||
gregor herrmann <gregoa@debian.org>
|
||||
Section: perl
|
||||
Testsuite: autopkgtest-pkg-perl
|
||||
Priority: optional
|
||||
Build-Depends: debhelper (>= 10),
|
||||
libmodule-build-perl
|
||||
Build-Depends-Indep: perl,
|
||||
libfile-basedir-perl,
|
||||
libfile-desktopentry-perl,
|
||||
libpath-tiny-perl,
|
||||
libio-stringy-perl,
|
||||
libtest-pod-perl,
|
||||
libtest-pod-coverage-perl,
|
||||
shared-mime-info
|
||||
Standards-Version: 4.2.0
|
||||
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfile-mimeinfo-perl
|
||||
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfile-mimeinfo-perl.git
|
||||
Homepage: https://metacpan.org/release/File-MimeInfo
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: libfile-mimeinfo-perl
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends},
|
||||
${perl:Depends},
|
||||
libfile-basedir-perl,
|
||||
libfile-desktopentry-perl,
|
||||
shared-mime-info
|
||||
Recommends: libio-stringy-perl
|
||||
Description: Perl module to determine file types
|
||||
File::MimeInfo can be used to determine the mime type of a file. It tries to
|
||||
implement the freedesktop specification for a shared MIME database.
|
||||
.
|
||||
This package also contains two related utilities:
|
||||
* mimetype: determine a file's mimetype
|
||||
* mimeopen: open files according to their mimetype
|
|
@ -0,0 +1,31 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: File-MimeInfo
|
||||
Upstream-Contact: Michiel Beijen <michiel.beijen@gmail.com>
|
||||
Source: https://metacpan.org/release/File-MimeInfo
|
||||
|
||||
Files: *
|
||||
Copyright: 2003-2012, Jaap Karssenberg <pardus@cpan.org>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2005, 2006, Florian Ragwitz <rafl@debian.org>
|
||||
2008, Damyan Ivanov <dmn@debian.org>
|
||||
2009, Ryan Niebur <ryan@debian.org>
|
||||
2011-2016, gregor herrmann <gregoa@debian.org>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
License: Artistic
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the Artistic License, which comes with Perl.
|
||||
.
|
||||
On Debian systems, the complete text of the Artistic License can be
|
||||
found in `/usr/share/common-licenses/Artistic'.
|
||||
|
||||
License: GPL-1+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 1, or (at your option)
|
||||
any later version.
|
||||
.
|
||||
On Debian systems, the complete text of version 1 of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL-1'.
|
|
@ -0,0 +1,17 @@
|
|||
Description: Test installed script when run under autopkgtest
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Author: Salvatore Bonaccorso <carnil@debian.org>
|
||||
Last-Update: 2018-08-06
|
||||
|
||||
--- a/t/11mimeinfo.t
|
||||
+++ b/t/11mimeinfo.t
|
||||
@@ -9,7 +9,7 @@ use FindBin qw($Bin);
|
||||
eval "use IO::Scalar";
|
||||
my $have_io_scalar = !$@;
|
||||
|
||||
-my $mimetype_file = File::Spec->catfile($Bin, '..', 'mimetype');
|
||||
+my $mimetype_file = $ENV{ADTTMP} ? '/usr/bin/mimetype' : File::Spec->catfile($Bin, '..', 'mimetype');
|
||||
|
||||
my %tests = (
|
||||
'mimeopen', 'application/x-perl',
|
|
@ -0,0 +1 @@
|
|||
autopkgtest.patch
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,3 @@
|
|||
t/
|
||||
# as used in t/11mimeinfo.t
|
||||
mimeopen
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
Archive: CPAN
|
||||
Bug-Database: https://github.com/mbeijen/File-MimeInfo/issues
|
||||
Contact: Jaap Karssenberg <pardus@cpan.org>
|
||||
Name: File-MimeInfo
|
||||
Repository: https://github.com/mbeijen/File-MimeInfo
|
|
@ -0,0 +1,2 @@
|
|||
version=3
|
||||
https://metacpan.org/release/File-MimeInfo .+/File-MimeInfo-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
|
Loading…
Reference in New Issue