diff options
Diffstat (limited to 't/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec')
8 files changed, 70 insertions, 0 deletions
diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/control.in b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/control.in new file mode 100644 index 0000000..672ac84 --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: menu-mime +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/menu-mime.install b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/menu-mime.install new file mode 100644 index 0000000..00850a0 --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/menu-mime.install @@ -0,0 +1,2 @@ +*.desktop usr/share/applications +pargs usr/bin diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/menu-mime.manpages b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/menu-mime.manpages new file mode 100644 index 0000000..6fb56bc --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/debian/menu-mime.manpages @@ -0,0 +1 @@ +pargs.1 diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/fill-values b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/fill-values new file mode 100644 index 0000000..3233112 --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: menu-format-desktop-mimetype +Section: doc +Description: Check mime-related issues in desktop files diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/Makefile b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/Makefile new file mode 100644 index 0000000..5b475b1 --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/Makefile @@ -0,0 +1,6 @@ +all: pargs + pod2man --section=1 pargs pargs.1 + +clean: + rm -f pargs*.1 + diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/bar.desktop b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/bar.desktop new file mode 100644 index 0000000..20d591d --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/bar.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=GNU bar +GenericName=bar +Comment=A bar test entry for Lintian +Type=Application +Categories=Game;BoardGame;GTK; +MimeType=application/bar; +Keywords=Lintian +Icon=foo +Exec=pargs %U diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/foo.desktop b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/foo.desktop new file mode 100644 index 0000000..0e6c1fb --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/foo.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=GNU Foo +GenericName=Foo +Comment=A foo test entry for Lintian +Type=Application +Categories=Game;BoardGame;GTK; +MimeType=application/foo; +Icon=foo +Keywords=Lintian diff --git a/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/pargs b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/pargs new file mode 100644 index 0000000..5a0017c --- /dev/null +++ b/t/recipes/checks/menu-format/menu-format-desktop-mimetype/build-spec/orig/pargs @@ -0,0 +1,22 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +print join("\n", @ARGV), "\n"; +exit 0; + +=head1 NAME + +pargs - print arguments (similar to echo) + +=head1 SYNOPSIS + +pargs [...] + +=head1 DESCRIPTION + +Prints all arguments separated by newlines. + +=cut + |