diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c484b9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/plexus-xml-3.0.0.tar.gz diff --git a/plexus-xml.spec b/plexus-xml.spec new file mode 100644 index 0000000..9fe886e --- /dev/null +++ b/plexus-xml.spec @@ -0,0 +1,46 @@ +%bcond_with bootstrap + +Name: plexus-xml +Version: 3.0.0 +Release: 1%{?dist} +Summary: Plexus XML Utilities +# Licensing breakdown: +# Apache-1.1: src/main/java/org/codehaus/plexus/util/xml/StringUtils.java +# xpp: src/main/java/org/codehaus/plexus/util/xml/pull/MXParser.java +# Everything else is Apache-2.0 +License: Apache-1.1 AND Apache-2.0 AND xpp +URL: https://codehaus-plexus.github.io/plexus-xml/ +BuildArch: noarch +ExclusiveArch: %{java_arches} noarch + +Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz + +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else +BuildRequires: maven-local +BuildRequires: mvn(org.codehaus.plexus:plexus:pom:) +%endif + +%description +A collection of various utility classes to ease working with XML. + +%{?javadoc_package} + +%prep +%setup -q -n %{name}-%{name}-%{version} + +%build +# Test dependencies are not packaged +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%doc README.md +%license NOTICE.txt LICENSE.txt + +%changelog +* Fri Feb 2 2024 Mikolaj Izdebski - 3.0.0-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..8135f1c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (plexus-xml-3.0.0.tar.gz) = 43a5e35a11b7c245fb0751d3dc5e33a223ae50e1dc5da11ba4dc1730f133bea334a856b4bf0f0259c66c70916178335f9f49a50c4a677fd280176807ee81c33f