From 6a2cf336447b90cdd24317b098f400dc8748c8e062d911af90d3c7421ef442c0 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 23 Oct 2018 18:08:20 +0000 Subject: [PATCH] osc copypac from project:home:fstrba:maven package:apache-parent revision:3 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-parent?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + apache-21-source-release.zip | 3 ++ apache-parent.spec | 58 ++++++++++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 apache-21-source-release.zip create mode 100644 apache-parent.spec 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/apache-21-source-release.zip b/apache-21-source-release.zip new file mode 100644 index 0000000..2414d5b --- /dev/null +++ b/apache-21-source-release.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc350f9cb665fd0c6e82296c5a624d9d21a418bedefc2a119ec94a477f6edbac +size 17796 diff --git a/apache-parent.spec b/apache-parent.spec new file mode 100644 index 0000000..5c32308 --- /dev/null +++ b/apache-parent.spec @@ -0,0 +1,58 @@ +# +# spec file for package apache-parent +# +# 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: apache-parent +Version: 21 +Release: 0 +Summary: Parent POM file for Apache projects +License: Apache-2.0 +Group: Development/Libraries/Java +URL: http://apache.org/ +Source0: http://repo1.maven.org/maven2/org/apache/apache/%{version}/apache-%{version}-source-release.zip +BuildRequires: javapackages-local +BuildRequires: javapackages-tools +BuildRequires: unzip +BuildArch: noarch + +%description +This package contains the parent pom file for apache projects. + +%prep +%setup -q -n apache-%{version} + +%pom_remove_plugin :maven-site-plugin +%pom_remove_plugin :maven-remote-resources-plugin +%pom_remove_plugin :maven-enforcer-plugin + +%install +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom + +%files +%license LICENSE +%doc NOTICE +%{_mavenpomdir}/* +%if %{defined _maven_repository} +%{_mavendepmapfragdir}/%{name} +%else +%{_datadir}/maven-metadata/%{name}.xml* +%endif + +%changelog