From f281cab47bd6540c6694bdbe337d4aea5fc3543cabad32ffdd60d16acd4dcd30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 16:37:32 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main maven-file-management revision 80e916a5ca8fa49a0570b4378ca6a2d3 --- .gitattributes | 23 +++ file-management-3.0.0-source-release.zip | 3 + maven-file-management-build.xml | 178 +++++++++++++++++++++++ maven-file-management.changes | 20 +++ maven-file-management.spec | 86 +++++++++++ 5 files changed, 310 insertions(+) create mode 100644 .gitattributes create mode 100644 file-management-3.0.0-source-release.zip create mode 100644 maven-file-management-build.xml create mode 100644 maven-file-management.changes create mode 100644 maven-file-management.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/file-management-3.0.0-source-release.zip b/file-management-3.0.0-source-release.zip new file mode 100644 index 0000000..8668da4 --- /dev/null +++ b/file-management-3.0.0-source-release.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aaa1026f9aa46ba2941a1271f7e79f070ea0d3aae528d437cf5d1d53b5f93a72 +size 55722 diff --git a/maven-file-management-build.xml b/maven-file-management-build.xml new file mode 100644 index 0000000..cf389a6 --- /dev/null +++ b/maven-file-management-build.xml @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/maven-file-management.changes b/maven-file-management.changes new file mode 100644 index 0000000..0039d9b --- /dev/null +++ b/maven-file-management.changes @@ -0,0 +1,20 @@ +------------------------------------------------------------------- +Wed Sep 6 18:53:17 UTC 2023 - Fridrich Strba + +- Remove unnecessary dependency on xmvn tools and parent pom + +------------------------------------------------------------------- +Fri May 13 09:39:28 UTC 2022 - Fridrich Strba + +- Fix build with modello 2.0.0 + +------------------------------------------------------------------- +Mon Mar 21 04:43:53 UTC 2022 - Fridrich Strba + +- Build with java source and target levels 8 + +------------------------------------------------------------------- +Tue Mar 26 12:36:05 UTC 2019 - Fridrich Strba + +- Initial packaging of maven-file-management 3.0.0 +- Generate and customize ant build.xml file diff --git a/maven-file-management.spec b/maven-file-management.spec new file mode 100644 index 0000000..74e11f3 --- /dev/null +++ b/maven-file-management.spec @@ -0,0 +1,86 @@ +# +# spec file for package maven-file-management +# +# Copyright (c) 2023 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: maven-file-management +Version: 3.0.0 +Release: 0 +Summary: Maven File Management API +License: Apache-2.0 +Group: Development/Libraries/Java +URL: https://maven.apache.org/shared/file-management +Source0: https://repo1.maven.org/maven2/org/apache/maven/shared/file-management/%{version}/file-management-%{version}-source-release.zip +Source1: %{name}-build.xml +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: javapackages-local >= 6 +BuildRequires: maven-lib +BuildRequires: maven-shared-io +BuildRequires: maven-shared-utils +BuildRequires: modello >= 2.0.0 +BuildRequires: plexus-containers-container-default +BuildRequires: plexus-utils +BuildRequires: unzip +BuildArch: noarch + +%description +Provides a component for plugins to easily resolve project dependencies. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q -n file-management-%{version} +cp %{SOURCE1} build.xml + +%build +mkdir -p lib +build-jar-repository -s lib \ + maven/maven-plugin-api \ + maven-shared-io/maven-shared-io \ + maven-shared-utils/maven-shared-utils \ + plexus-containers/plexus-container-default \ + plexus/utils + +%{ant} \ + jar javadoc + +%install +# jar +install -dm 0755 %{buildroot}%{_javadir}/%{name} +install -pm 0644 target/file-management-%{version}.jar %{buildroot}%{_javadir}/%{name}/file-management.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/file-management.pom +%add_maven_depmap %{name}/file-management.pom %{name}/file-management.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 NOTICE + +%files javadoc +%{_javadocdir}/%{name} +%license LICENSE NOTICE + +%changelog