summaryrefslogtreecommitdiff
path: root/tests/lib-sbom
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib-sbom')
-rw-r--r--tests/lib-sbom/meta_package.pc12
-rw-r--r--tests/lib-sbom/test1.pc6
-rw-r--r--tests/lib-sbom/test2.pc7
-rw-r--r--tests/lib-sbom/test3.pc8
-rw-r--r--tests/lib-sbom/test4.pc8
-rw-r--r--tests/lib-sbom/test5.pc7
-rw-r--r--tests/lib-sbom/test6.pc7
-rw-r--r--tests/lib-sbom/variable-test1.pc7
-rw-r--r--tests/lib-sbom/variable-test2.pc7
9 files changed, 69 insertions, 0 deletions
diff --git a/tests/lib-sbom/meta_package.pc b/tests/lib-sbom/meta_package.pc
new file mode 100644
index 000000000000..f3dd872ad2d5
--- /dev/null
+++ b/tests/lib-sbom/meta_package.pc
@@ -0,0 +1,12 @@
+Name: meta_package
+Description: Meta package to test SBOM creation
+URL: https://github.com/pkgconf/pkgconf
+Version: 1.0.0
+Requires: test1 \
+ test2 \
+ test3 \
+ test4 \
+ test5 \
+ test6
+Source: https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz
+License: BSD-2-Clause
diff --git a/tests/lib-sbom/test1.pc b/tests/lib-sbom/test1.pc
new file mode 100644
index 000000000000..2cde40250c3f
--- /dev/null
+++ b/tests/lib-sbom/test1.pc
@@ -0,0 +1,6 @@
+Name: test1
+Description: Test package 1
+Version: 1.0.0
+License: BSD-1-Clause
+Copyright: Test1 copyright text
+Requires: test1
diff --git a/tests/lib-sbom/test2.pc b/tests/lib-sbom/test2.pc
new file mode 100644
index 000000000000..d8c6f5dc9537
--- /dev/null
+++ b/tests/lib-sbom/test2.pc
@@ -0,0 +1,7 @@
+Name: test2
+Description: Test package 2
+URL: https://github.com/pkgconf/pkgconf/
+Version: 2.0.0
+Requires: test3
+License: BSD-2-Clause
+Source: https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz
diff --git a/tests/lib-sbom/test3.pc b/tests/lib-sbom/test3.pc
new file mode 100644
index 000000000000..af65789843c1
--- /dev/null
+++ b/tests/lib-sbom/test3.pc
@@ -0,0 +1,8 @@
+Name: test3
+Description: Test package 3
+URL: https://github.com/pkgconf/pkgconf/
+Version: 3.0.0
+License: BSD-4-Clause
+Copyright: Test3 copyright text
+Source: https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz
+
diff --git a/tests/lib-sbom/test4.pc b/tests/lib-sbom/test4.pc
new file mode 100644
index 000000000000..502a5fec8445
--- /dev/null
+++ b/tests/lib-sbom/test4.pc
@@ -0,0 +1,8 @@
+Name: test4
+Description: Test package 4
+URL: https://github.com/pkgconf/pkgconf/
+Version: 4.0.0
+License: MIT
+Source: https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz
+Requires: test5 \
+ test6
diff --git a/tests/lib-sbom/test5.pc b/tests/lib-sbom/test5.pc
new file mode 100644
index 000000000000..62e77cc3e05a
--- /dev/null
+++ b/tests/lib-sbom/test5.pc
@@ -0,0 +1,7 @@
+Name: test5
+Description: Test package 5
+URL: https://github.com/pkgconf/pkgconf/
+Version: 5.0.0
+License: MIT
+Source: https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz
+
diff --git a/tests/lib-sbom/test6.pc b/tests/lib-sbom/test6.pc
new file mode 100644
index 000000000000..b87c3805ed25
--- /dev/null
+++ b/tests/lib-sbom/test6.pc
@@ -0,0 +1,7 @@
+Name: test6
+Description: Test package 6
+URL: https://github.com/pkgconf/pkgconf/releases/
+Version: 6.0.0
+License: Apache-2.0
+Source: https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz
+
diff --git a/tests/lib-sbom/variable-test1.pc b/tests/lib-sbom/variable-test1.pc
new file mode 100644
index 000000000000..51a1a710dc5a
--- /dev/null
+++ b/tests/lib-sbom/variable-test1.pc
@@ -0,0 +1,7 @@
+Name: variable-test1
+Description: Variable test 1
+URL: https://github.com/pkgconf/pkgconf/releases/
+Version: ${VERSION_VARIABLE_TEST}
+License: BSD-2-Clause
+Source: https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz
+
diff --git a/tests/lib-sbom/variable-test2.pc b/tests/lib-sbom/variable-test2.pc
new file mode 100644
index 000000000000..52033aba61b9
--- /dev/null
+++ b/tests/lib-sbom/variable-test2.pc
@@ -0,0 +1,7 @@
+Name: variable-test2
+Description: Variable test 2
+URL: https://github.com/pkgconf/pkgconf/releases/
+Version: 2.0
+License: ${license_variable_test}
+Source: https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz
+Requires: variable-test1