From 829fd4637d168c7c196a28bb05e1148a7eec1ca842981fa3916b4534e7514ae3 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 7 May 2019 10:11:11 +0000 Subject: [PATCH] Accepting request 701269 from home:fstrba:maven new package OBS-URL: https://build.opensuse.org/request/show/701269 OBS-URL: https://build.opensuse.org/package/show/Java:packages/felix-shell?expand=0&rev=1 --- .gitattributes | 23 ++++++ .gitignore | 1 + felix-shell.changes | 4 ++ felix-shell.spec | 70 +++++++++++++++++++ ...he.felix.shell-1.4.3-source-release.tar.gz | 3 + 5 files changed, 101 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 felix-shell.changes create mode 100644 felix-shell.spec create mode 100644 org.apache.felix.shell-1.4.3-source-release.tar.gz 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/felix-shell.changes b/felix-shell.changes new file mode 100644 index 0000000..6ceaafe --- /dev/null +++ b/felix-shell.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue May 7 10:10:09 UTC 2019 - Fridrich Strba + +- Initial packaging of felix-shell 1.4.3 diff --git a/felix-shell.spec b/felix-shell.spec new file mode 100644 index 0000000..6ba18eb --- /dev/null +++ b/felix-shell.spec @@ -0,0 +1,70 @@ +# +# spec file for package felix-shell +# +# Copyright (c) 2019 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/ +# + + +%global bundle org.apache.felix.shell +Name: felix-shell +Version: 1.4.3 +Release: 0 +Summary: Apache Felix Shell Service +License: Apache-2.0 +Group: Development/Libraries/Java +URL: http://felix.apache.org +Source0: http://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz +BuildRequires: fdupes +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:felix-parent:pom:) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.osgi:org.osgi.compendium) +BuildRequires: mvn(org.osgi:org.osgi.core) +BuildArch: noarch + +%description +A simple OSGi command shell service. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +This package contains API documentation for %{name}. + +%prep +%setup -q -n %{bundle}-%{version} + +%pom_remove_plugin org.codehaus.mojo:rat-maven-plugin + +%pom_add_dep junit:junit::test + +%{mvn_file} :%{bundle} "felix/%{bundle}" + +%build +%{mvn_build} -f + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE +%doc NOTICE DEPENDENCIES + +%files javadoc -f .mfiles-javadoc +%license LICENSE +%doc NOTICE + +%changelog diff --git a/org.apache.felix.shell-1.4.3-source-release.tar.gz b/org.apache.felix.shell-1.4.3-source-release.tar.gz new file mode 100644 index 0000000..4eb43fd --- /dev/null +++ b/org.apache.felix.shell-1.4.3-source-release.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daea2ae1cd3e28dbbcf5da964ffa5b6cb37ccc102dc070b878203900e8bf292a +size 75190