39 lines
1.4 KiB
RPMSpec
39 lines
1.4 KiB
RPMSpec
Name: base64coder
|
|
Version: 20101219
|
|
Release: 23
|
|
Summary: A fast and compact Base64 encoder/decoder class
|
|
License: EPL-1.0 or EPL-2.0 or LGPLv2+ or GPLv2+ or ASL 2.0 or BSD
|
|
URL: http://www.source-code.biz/base64coder/java/
|
|
Source0: http://repo2.maven.org/maven2/biz/source_code/%{name}/2010-12-19/%{name}-2010-12-19-distribution.zip
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: maven-local, mvn(junit:junit), mvn(org.apache.felix:maven-bundle-plugin), mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin), mvn(org.sonatype.oss:oss-parent:pom:)
|
|
Provides: %{name}-javadoc%{?_isa} %{name}-javadoc
|
|
Obsoletes: %{name}-javadoc
|
|
|
|
%description
|
|
Base64Coder is a fast and compact Base64 encoder/decoder class. There is no Base64 encoder/decoder
|
|
in the standard Java SDK class library up to Java 7. The undocumented classes sun.misc.BASE64Encoder
|
|
and sun.misc.BASE64Decoder should not be used (explanation). Since Java 8 there is now java.util.Base64.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-2010-12-19 -p1
|
|
sed -i 's/\r//g' README.txt CHANGES.txt
|
|
%mvn_file : %{name}
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc README.txt
|
|
%{_javadocdir}/%{name}/*
|
|
|
|
%changelog
|
|
* Fri Dec 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 20101219-23
|
|
- Package init
|