Accepting request 672780 from home:fstrba:maven

OBS-URL: https://build.opensuse.org/request/show/672780
OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-shared?expand=0&rev=1
This commit is contained in:
Fridrich Strba 2019-02-08 12:19:07 +00:00 committed by Git OBS Bridge
commit 56fc3fa2ca
4 changed files with 79 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:858049b6b9e99ffc67005a641c9f919c651d160f3c8332d51a542536c7b1a0b4
size 8536

52
maven-shared.spec Normal file
View File

@ -0,0 +1,52 @@
#
# spec file for package maven-shared
#
# 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: maven-shared
Version: 22
Release: 0
Summary: Maven Shared Components
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://maven.apache.org/shared/
Source0: https://github.com/apache/%{name}/archive/%{name}-components-%{version}.tar.gz
BuildRequires: javapackages-local
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
Requires: mvn(org.apache.maven:maven-parent:pom:)
BuildArch: noarch
%description
Maven Shared Components
%prep
%setup -q -n %{name}-%{name}-components-%{version}
chmod -R go=u-w *
# Maven-scm-publish-plugin is not in Fedora
%pom_remove_plugin org.apache.maven.plugins:maven-scm-publish-plugin
%build
%install
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}-components.pom
%add_maven_depmap %{name}/%{name}-components.pom
%files -f .mfiles
%license LICENSE.txt NOTICE.txt
%changelog