diff options
Diffstat (limited to 't/recipes/checks/games/files-games-section/build-spec')
13 files changed, 82 insertions, 0 deletions
diff --git a/t/recipes/checks/games/files-games-section/build-spec/debian/control.in b/t/recipes/checks/games/files-games-section/build-spec/debian/control.in new file mode 100644 index 0000000..897b19c --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/debian/control.in @@ -0,0 +1,50 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %]-both +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: [% $source %]-good, [% $source %]-wrong, [% $source %]-no-games +Description: [% $description %] (both) + Package has both regular binaries and games. + . + 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. + +Package: [% $source %]-good +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (good) + Games package in games section. + . + 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. + +Package: [% $source %]-no-games +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (no games) + Games package without any games. + . + 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. + +Package: [% $source %]-wrong +Section: devel +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: [% $source %]-good +Description: [% $description %] (wrong) + Games package in wrong section. + . + 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. diff --git a/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-both.install b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-both.install new file mode 100644 index 0000000..86aecc7 --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-both.install @@ -0,0 +1,2 @@ +shell-blaster usr/bin +shell-blaster usr/games diff --git a/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-both.manpages b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-both.manpages new file mode 100644 index 0000000..e4d1bd8 --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-both.manpages @@ -0,0 +1,2 @@ +shell-blaster.1 +shell-blaster.6 diff --git a/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-good.install b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-good.install new file mode 100644 index 0000000..d10f2ef --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-good.install @@ -0,0 +1 @@ +shell-blaster usr/games diff --git a/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-good.manpages b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-good.manpages new file mode 100644 index 0000000..835dfac --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-good.manpages @@ -0,0 +1 @@ +shell-blaster.6 diff --git a/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-no-games.install b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-no-games.install new file mode 100644 index 0000000..8b29e1f --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-no-games.install @@ -0,0 +1 @@ +shell-blaster usr/bin diff --git a/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-no-games.manpages b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-no-games.manpages new file mode 100644 index 0000000..36e298a --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-no-games.manpages @@ -0,0 +1 @@ +shell-blaster.1 diff --git a/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-wrong.install b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-wrong.install new file mode 100644 index 0000000..d10f2ef --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-wrong.install @@ -0,0 +1 @@ +shell-blaster usr/games diff --git a/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-wrong.manpages b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-wrong.manpages new file mode 100644 index 0000000..835dfac --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/debian/files-games-section-wrong.manpages @@ -0,0 +1 @@ +shell-blaster.6 diff --git a/t/recipes/checks/games/files-games-section/build-spec/fill-values b/t/recipes/checks/games/files-games-section/build-spec/fill-values new file mode 100644 index 0000000..f76f56b --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: files-games-section +Section: games +Description: Correct section for games packages diff --git a/t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster b/t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster new file mode 100755 index 0000000..48f8d5d --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster @@ -0,0 +1,2 @@ +#!/bin/sh +echo "I'll be a game when I grow up!" diff --git a/t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster.1 b/t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster.1 new file mode 100644 index 0000000..a8fe203 --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster.1 @@ -0,0 +1,8 @@ +.TH SHELL-BLASTER 1 "2008-12-30" +.SH "NAME" +shell\-blaster \- A simple shell non\-game +.SH "SYNOPSIS" +.B shell\-blaster +.SH "DESCRIPTION" +.B shell\-blaster +wants to be a game but isn't yet. diff --git a/t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster.6 b/t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster.6 new file mode 100644 index 0000000..9d6bcef --- /dev/null +++ b/t/recipes/checks/games/files-games-section/build-spec/orig/shell-blaster.6 @@ -0,0 +1,8 @@ +.TH SHELL-BLASTER 6 "2008-12-30" +.SH "NAME" +shell\-blaster \- A simple shell non\-game +.SH "SYNOPSIS" +.B shell\-blaster +.SH "DESCRIPTION" +.B shell\-blaster +wants to be a game but isn't yet. |