commit c43156acdde2de3c86df26a49798a2a3a6d100966e875c88203e0b657b6536c2 Author: Fridrich Strba Date: Mon Mar 6 07:02:53 2023 +0000 Accepting request 1043581 from home:urbic:java Submitting a new package OBS-URL: https://build.opensuse.org/request/show/1043581 OBS-URL: https://build.opensuse.org/package/show/Java:packages/moditect?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/moditect-1.0.0.RC2.tar.gz b/moditect-1.0.0.RC2.tar.gz new file mode 100644 index 0000000..420ddda --- /dev/null +++ b/moditect-1.0.0.RC2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4eed88f05e0b590a17a30412790d7b634cc1992a3369b4e0e77552865d945416 +size 101227 diff --git a/moditect.changes b/moditect.changes new file mode 100644 index 0000000..1756ed0 --- /dev/null +++ b/moditect.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Dec 12 16:13:12 UTC 2022 - Anton Shvetz + +- Initial packaging with v1.0.0.RC2 diff --git a/moditect.spec b/moditect.spec new file mode 100644 index 0000000..cd4c666 --- /dev/null +++ b/moditect.spec @@ -0,0 +1,85 @@ +# +# spec file for package moditect +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: moditect +Version: 1.0.0.RC2 +Release: 0 +Summary: Tooling for the Java Module System +License: Apache-2.0 +Group: Development/Libraries/Java +URL: https://github.com/%{name}/%{name} +Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: maven-local +BuildRequires: mvn(com.github.javaparser:javaparser-core) +BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) +BuildArch: noarch + +%description +The ModiTect project aims at providing productivity tools for working with the +Java module system ("Jigsaw"). + +Currently the following tasks are supported: +• Generating module-info.java descriptors for given artifacts (Maven + dependencies or local JAR files) +• Adding module descriptors to your project's JAR as well as existing JAR files + (dependencies) +• Creating module runtime images + +Compared to authoring module descriptors by hand, using ModiTect saves you work +by defining dependence clauses based on your project's dependencies, describing +exported and opened packages with patterns (instead of listing all packages +separately), auto-detecting service usages and more. You also can use ModiTect +to add a module descriptor to your project JAR while staying on Java 8 with +your own build. + +In future versions functionality may be added to work with other tools like +jmod etc. under Maven and other dependency management tools in a comfortable +manner. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q + +%pom_remove_parent parent +%pom_xpath_inject pom:project 'org.moditect' parent + +%pom_remove_plugin com.mycila:license-maven-plugin parent + +%pom_disable_module integrationtest + +%build +%{mvn_build} -f + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE.txt +%doc README.md + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt + +%changelog