From fc3873f3b70d26c2b764f259e64b090fa03cd54e7d72bafb419c5442015466d1 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 7 May 2019 10:05:10 +0000 Subject: [PATCH] Accepting request 701267 from home:fstrba:maven new package OBS-URL: https://build.opensuse.org/request/show/701267 OBS-URL: https://build.opensuse.org/package/show/Java:packages/felix-gogo-runtime?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + felix-gogo-runtime.spec | 66 +++++++++++++++++++ ...x.gogo.runtime-1.1.0-source-release.tar.gz | 3 + 4 files changed, 93 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 felix-gogo-runtime.spec create mode 100644 org.apache.felix.gogo.runtime-1.1.0-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-gogo-runtime.spec b/felix-gogo-runtime.spec new file mode 100644 index 0000000..cd18da2 --- /dev/null +++ b/felix-gogo-runtime.spec @@ -0,0 +1,66 @@ +# +# spec file for package felix-gogo-runtime +# +# 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.gogo.runtime +Name: felix-gogo-runtime +Version: 1.1.0 +Release: 0 +Summary: Apache Felix Gogo command line shell for OSGi +License: Apache-2.0 +Group: Development/Libraries/Java +URL: http://felix.apache.org/documentation/subprojects/apache-felix-gogo.html +Source0: http://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz +BuildRequires: fdupes +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:gogo-parent:pom:) >= 4 +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.osgi:osgi.cmpn) +BuildRequires: mvn(org.osgi:osgi.core) +BuildConflicts: java-devel >= 9 +BuildArch: noarch + +%description +Apache Felix Gogo is a subproject of Apache Felix implementing a command +line shell for OSGi. It is used in many OSGi runtimes and servers. + +%package javadoc +Summary: Javadoc for %{name} +Group: Development/Libraries/Java + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n %{bundle}-%{version} + +%{mvn_file} : felix/%{bundle} + +%build +%{mvn_build} -f + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE + +%changelog diff --git a/org.apache.felix.gogo.runtime-1.1.0-source-release.tar.gz b/org.apache.felix.gogo.runtime-1.1.0-source-release.tar.gz new file mode 100644 index 0000000..518e340 --- /dev/null +++ b/org.apache.felix.gogo.runtime-1.1.0-source-release.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d629b24ba1cfa3f7fae2d1028c36261c108d96c7286437fe745540f4e29d78b4 +size 113996