commit 970c23132e8c6af1e19a3ac112ef46cb38cb62a444dd9eb6d83ef3ce0606aa82 Author: Fridrich Strba Date: Sun Oct 6 17:13:11 2024 +0000 OBS-URL: https://build.opensuse.org/package/show/Java:packages/osgi-service-subsystem?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/org.osgi.service.subsystem-1.1.0-sources.jar b/org.osgi.service.subsystem-1.1.0-sources.jar new file mode 100644 index 0000000..e785bfc --- /dev/null +++ b/org.osgi.service.subsystem-1.1.0-sources.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23cf8dedd3a5841e15ab0a75a4e7556c67b01f93e7fe0524ddc8a04fa49eda5f +size 24552 diff --git a/org.osgi.service.subsystem-1.1.0.pom b/org.osgi.service.subsystem-1.1.0.pom new file mode 100644 index 0000000..e3f1ad0 --- /dev/null +++ b/org.osgi.service.subsystem-1.1.0.pom @@ -0,0 +1,34 @@ + + + 4.0.0 + org.osgi + org.osgi.service.subsystem + 1.1.0 + OSGi Companion Code for org.osgi.service.subsystem Version 1.1.0. + org.osgi:org.osgi.service.subsystem + http://www.osgi.org/ + + OSGi Alliance + http://www.osgi.org/ + + + + Apache License, Version 2.0 + http://opensource.org/licenses/apache2.0.php + repo + + + + https://osgi.org/git/build.git + scm:git:https://osgi.org/git/build.git + scm:git:https://osgi.org/git/build.git + + + + osgi + info@osgi.org + OSGi Alliance + OSGi Alliance + + + diff --git a/osgi-service-subsystem-build.xml b/osgi-service-subsystem-build.xml new file mode 100644 index 0000000..f9c9521 --- /dev/null +++ b/osgi-service-subsystem-build.xml @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/osgi-service-subsystem.changes b/osgi-service-subsystem.changes new file mode 100644 index 0000000..ccb03b6 --- /dev/null +++ b/osgi-service-subsystem.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Oct 6 17:13:03 UTC 2024 - Fridrich Strba + +- Initial packaging diff --git a/osgi-service-subsystem.spec b/osgi-service-subsystem.spec new file mode 100644 index 0000000..7b505ae --- /dev/null +++ b/osgi-service-subsystem.spec @@ -0,0 +1,105 @@ +# +# spec file for package osgi-service-subsystem +# +# Copyright (c) 2024 SUSE LLC +# +# 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: osgi-service-subsystem +Version: 1.1.0 +Release: 0 +Summary: OSGi Service Log +License: Apache-2.0 +Group: Development/Libraries/Java +URL: https://www.osgi.org +Source0: https://repo1.maven.org/maven2/org/osgi/org.osgi.service.subsystem/%{version}/org.osgi.service.subsystem-%{version}-sources.jar +Source1: https://repo1.maven.org/maven2/org/osgi/org.osgi.service.subsystem/%{version}/org.osgi.service.subsystem-%{version}.pom +Source100: %{name}-build.xml +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: javapackages-local >= 1.8 +BuildRequires: osgi-annotation +BuildRequires: osgi-core +BuildRequires: unzip +BuildArch: noarch + +%description +OSGi Companion Code for org.osgi.service.subsystem Version 1.1.0. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +This package provides %{summary}. + +%prep +%setup -q -c +mkdir -p src/main/java +mv org src/main/java/ +cp -p %{SOURCE1} pom.xml +cp -p %{SOURCE100} build.xml + +%pom_add_dep org.osgi:osgi.annotation::provided +%pom_add_dep org.osgi:osgi.core::provided + +# not needed for this build but useful to regenerate the osgi manifest +# when we change version +%pom_xpath_inject pom:project ' +bundle + + UTF-8 + + + + + org.apache.felix + maven-bundle-plugin + true + + + ${project.artifactId} + ${project.artifactId} + + + + +' + +%build +mkdir -p lib +build-jar-repository -s lib osgi-annotation osgi-core +ant jar javadoc + +%install +# jar +install -dm 0755 %{buildroot}%{_javadir}/%{name} +install -pm 0644 target/org.osgi.service.subsystem-%{version}.jar %{buildroot}%{_javadir}/%{name}/org.osgi.service.subsystem.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/org.osgi.service.subsystem.pom +%add_maven_depmap %{name}/org.osgi.service.subsystem.pom %{name}/org.osgi.service.subsystem.jar +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE + +%files javadoc +%{_javadocdir}/%{name} +%license LICENSE + +%changelog