From da9c3ebe6f5170b20fbcf017caa297d27a6f85f5035da5cf2f97559dd10f1523 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 13 Feb 2019 10:23:19 +0000 Subject: [PATCH] Accepting request 674472 from home:fstrba:maven OBS-URL: https://build.opensuse.org/request/show/674472 OBS-URL: https://build.opensuse.org/package/show/Java:packages/felix-utils?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + felix-utils.spec | 66 +++++++++++++++++++ ...e.felix.utils-1.10.4-source-release.tar.gz | 3 + 4 files changed, 93 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 felix-utils.spec create mode 100644 org.apache.felix.utils-1.10.4-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-utils.spec b/felix-utils.spec new file mode 100644 index 0000000..ec0729d --- /dev/null +++ b/felix-utils.spec @@ -0,0 +1,66 @@ +# +# spec file for package felix-utils +# +# 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/ +# + + +%global bundle org.apache.felix.utils +Name: felix-utils +Version: 1.10.4 +Release: 0 +Summary: Utility classes for OSGi +License: Apache-2.0 +Group: Development/Libraries/Java +URL: http://felix.apache.org +Source0: http://repo1.maven.org/maven2/org/apache/felix/%{bundle}/%{version}/%{bundle}-%{version}-source-release.tar.gz +BuildRequires: fdupes +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:felix-parent:pom:) +BuildRequires: mvn(org.osgi:org.osgi.compendium) +BuildRequires: mvn(org.osgi:org.osgi.core) +BuildArch: noarch + +%description +Utility classes for OSGi + +%package javadoc +Summary: API documentation for %{name} +Group: Development/Libraries/Java + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n %{bundle}-%{version} + +%pom_remove_plugin :apache-rat-plugin + +%{mvn_file} :%{bundle} "felix/%{bundle}" + +%build +%mvn_build -f + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE NOTICE +%doc DEPENDENCIES + +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE + +%changelog diff --git a/org.apache.felix.utils-1.10.4-source-release.tar.gz b/org.apache.felix.utils-1.10.4-source-release.tar.gz new file mode 100644 index 0000000..b33c6f1 --- /dev/null +++ b/org.apache.felix.utils-1.10.4-source-release.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f81b28e9b0a88821648868e0123400038fb0041814aec660acb9fda9e1758923 +size 59033