From 68768780eb2753e7b1d8b22d77bb432b0db9d627 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 27 2020 00:21:18 +0000 Subject: import base64coder-20101219-25.el8 --- diff --git a/.base64coder.metadata b/.base64coder.metadata new file mode 100644 index 0000000..3434106 --- /dev/null +++ b/.base64coder.metadata @@ -0,0 +1 @@ +03a8f652a3eb373deeeef7b41f50e7778c1dec71 SOURCES/base64coder-2010-12-19-distribution.zip diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30c4c3d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/base64coder-2010-12-19-distribution.zip diff --git a/SPECS/base64coder.spec b/SPECS/base64coder.spec new file mode 100644 index 0000000..2428776 --- /dev/null +++ b/SPECS/base64coder.spec @@ -0,0 +1,75 @@ +%global long_ver 2010-12-19 + +Name: base64coder +Version: 20101219 +Release: 25%{?dist} +Summary: Fast and compact Base64 encoder/decoder Java library +License: EPL-1.0 or EPL-2.0 or LGPLv2+ or GPLv2+ or ASL 2.0 or BSD +BuildArch: noarch +URL: http://www.source-code.biz/%{name}/java/ +Source0: http://repo2.maven.org/maven2/biz/source_code/%{name}/%{long_ver}/%{name}-%{long_ver}-distribution.zip + +BuildRequires: maven-local +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) +BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) + +%description +Base64Coder is a fast and compact Base64 encoder/decoder class. + +There is no Base64 encoder/decoder in the standard Java SDK class +library. The undocumented classes sun.misc.BASE64Encoder and +sun.misc.BASE64Decoder should not be used. + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +This package contains %{summary}. + +%package tests +Summary: Test jar for %{name} + +%description tests +This package contains %{summary}. + +%prep +%setup -q -n %{name}-%{long_ver} +sed -i 's/\r//g' README.txt CHANGES.txt +%mvn_file : %{name} +%pom_remove_plugin :maven-javadoc-plugin +%pom_xpath_inject pom:project/pom:build/pom:plugins ' + org.apache.maven.plugins + maven-jar-plugin + 3.1.2 + + + + test-jar + + + + ' +%mvn_package biz.source_code:base64coder:jar:tests:2010.12.19 tests +%mvn_artifact biz.source_code:base64coder:jar:tests:2010.12.19 target/%{name}-%{long_ver}-tests.jar + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc README.txt CHANGES.txt + +%files javadoc -f .mfiles-javadoc +%files tests -f .mfiles-tests + +%changelog +* Thu Oct 03 2019 Severin Gehwolf - 20101219-25 +- Add tests sub-package. + +* Thu Oct 03 2019 Severin Gehwolf - 20101219-24 +- Initial import from Fedora