You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
javapackages-bootstrap/SOURCES/generate-bundled-provides.sh

43 lines
1.3 KiB

#!/bin/sh
set -eu
./generate-sources-list.sh | sed -n '
s/^.* \(.*\)\.tar\.xz$/\1 \1/
T
s/^commons-beanutils /apache-commons-beanutils /
s/^commons-cli /apache-commons-cli /
s/^commons-codec /apache-commons-codec /
s/^commons-collections /apache-commons-collections /
s/^commons-compress /apache-commons-compress /
s/^commons-io /apache-commons-io /
s/^commons-jxpath /apache-commons-jxpath /
s/^commons-lang /apache-commons-lang3 /
s/^commons-logging /apache-commons-logging /
s/^commons-parent-pom /apache-commons-parent /
s/^apache-pom /apache-parent /
s/^bnd /aqute-bnd /
s/^injection-api /atinject /
s/^jcommander /beust-jcommander /
s/^cdi /cdi-api /
s/^felix-parent-pom /felix-parent /
s/^guice /google-guice /
s/^httpcomponents-parent-pom /httpcomponents-project /
s/^common-annotations-api /jakarta-annotations /
s/^servlet-api /jakarta-servlet /
s/^cup /java_cup /
s/^junit4 /junit /
s/^maven-parent-pom /maven-parent /
s/^build-helper-maven-plugin /maven-plugin-build-helper /
s/^maven-bundle-plugin /maven-plugin-bundle /
s/^mojo-parent-pom /mojo-parent /
s/^asm /objectweb-asm /
s/^osgi-cmpn /osgi-compendium /
s/^sisu-inject /sisu /
s/^oss-parent-pom /sonatype-oss-parent /
s/^velocity-engine /velocity /
p
' | while read fp mp; do
. ./javapackages-bootstrap-*/project/$mp.properties
echo "Provides: bundled($fp) = $version"
done