commit 6f4c3feec74f2e60499663357c1c3335f15f6b9bb09d515befb2ef39aa15c0bf Author: Fridrich Strba Date: Thu Feb 14 07:50:11 2019 +0000 Accepting request 674865 from home:fstrba:maven OBS-URL: https://build.opensuse.org/request/show/674865 OBS-URL: https://build.opensuse.org/package/show/Java:packages/plexus-classworlds?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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/plexus-classworlds-2.5.2.tar.gz b/plexus-classworlds-2.5.2.tar.gz new file mode 100644 index 0000000..a66c6a1 --- /dev/null +++ b/plexus-classworlds-2.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fc1da45f6be8b12f047e751f78026045b19028fdbf2a8e1a702354433b8a4e2 +size 52683 diff --git a/plexus-classworlds.changes b/plexus-classworlds.changes new file mode 100644 index 0000000..66be38b --- /dev/null +++ b/plexus-classworlds.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Oct 24 07:34:46 UTC 2018 - Fridrich Strba + +- Initial package buildable without maven, adapted from Fedora rpm diff --git a/plexus-classworlds.spec b/plexus-classworlds.spec new file mode 100644 index 0000000..ed31daa --- /dev/null +++ b/plexus-classworlds.spec @@ -0,0 +1,75 @@ +# +# spec file for package plexus-classworlds +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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: plexus-classworlds +Version: 2.5.2 +Release: 0 +Summary: Plexus Classworlds Classloader Framework +License: Apache-2.0 AND Plexus +Group: Development/Libraries/Java +URL: https://github.com/codehaus-plexus/plexus-classworlds +Source0: https://github.com/sonatype/%{name}/archive/%{name}-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.codehaus.plexus:plexus:pom:) +Obsoletes: classworlds < %{version}-%{release} +Provides: classworlds = %{version}-%{release} +BuildArch: noarch + +%description +Classworlds is a framework for container developers +who require complex manipulation of Java's ClassLoaders. +Java's native ClassLoader mechanisms and classes can cause +much headache and confusion for certain types of +application developers. Projects which involve dynamic +loading of components or otherwise represent a 'container' +can benefit from the classloading control provided by +classworlds. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q -n %{name}-%{name}-%{version} + +%pom_remove_plugin :maven-enforcer-plugin +%pom_remove_plugin :maven-dependency-plugin + +%{mvn_file} : %{name} plexus/classworlds +%{mvn_alias} : classworlds:classworlds + +%build +%{mvn_build} -f -- -Dsource=6 + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE.txt +%doc LICENSE-2.0.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt +%doc LICENSE-2.0.txt + +%changelog