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
This commit is contained in:
Fridrich Strba 2019-02-14 07:50:11 +00:00 committed by Git OBS Bridge
commit 6f4c3feec7
5 changed files with 106 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fc1da45f6be8b12f047e751f78026045b19028fdbf2a8e1a702354433b8a4e2
size 52683

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Oct 24 07:34:46 UTC 2018 - Fridrich Strba <fstrba@suse.com>
- Initial package buildable without maven, adapted from Fedora rpm

75
plexus-classworlds.spec Normal file
View File

@ -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