Blame SPECS/base64coder.spec

687687
%global long_ver  2010-12-19
687687
687687
Name:           base64coder
687687
Version:        20101219
687687
Release:        25%{?dist}
687687
Summary:        Fast and compact Base64 encoder/decoder Java library
687687
License:        EPL-1.0 or EPL-2.0 or LGPLv2+ or GPLv2+ or ASL 2.0 or BSD
687687
BuildArch:      noarch
687687
URL:            http://www.source-code.biz/%{name}/java/
687687
Source0:        http://repo2.maven.org/maven2/biz/source_code/%{name}/%{long_ver}/%{name}-%{long_ver}-distribution.zip
687687
687687
BuildRequires:  maven-local
687687
BuildRequires:  mvn(junit:junit)
687687
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
687687
BuildRequires:  mvn(org.apache.maven.plugins:maven-assembly-plugin)
687687
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
687687
BuildRequires:  mvn(org.sonatype.oss:oss-parent:pom:)
687687
687687
%description
687687
Base64Coder is a fast and compact Base64 encoder/decoder class.
687687
687687
There is no Base64 encoder/decoder in the standard Java SDK class
687687
library.  The undocumented classes sun.misc.BASE64Encoder and
687687
sun.misc.BASE64Decoder should not be used.
687687
687687
%package javadoc
687687
Summary:        API documentation for %{name}
687687
687687
%description javadoc
687687
This package contains %{summary}.
687687
687687
%package tests
687687
Summary:        Test jar for %{name}
687687
687687
%description tests
687687
This package contains %{summary}.
687687
687687
%prep
687687
%setup -q -n %{name}-%{long_ver}
687687
sed -i 's/\r//g' README.txt CHANGES.txt
687687
%mvn_file : %{name}
687687
%pom_remove_plugin :maven-javadoc-plugin
687687
%pom_xpath_inject pom:project/pom:build/pom:plugins '<plugin>
687687
        <groupId>org.apache.maven.plugins</groupId>
687687
        <artifactId>maven-jar-plugin</artifactId>
687687
        <version>3.1.2</version>
687687
        <executions>
687687
          <execution>
687687
            <goals>
687687
              <goal>test-jar</goal>
687687
            </goals>
687687
          </execution>
687687
        </executions>
687687
      </plugin>'
687687
%mvn_package biz.source_code:base64coder:jar:tests:2010.12.19 tests
687687
%mvn_artifact biz.source_code:base64coder:jar:tests:2010.12.19 target/%{name}-%{long_ver}-tests.jar
687687
687687
%build
687687
%mvn_build
687687
687687
%install
687687
%mvn_install
687687
687687
%files -f .mfiles
687687
%doc README.txt CHANGES.txt
687687
687687
%files javadoc -f .mfiles-javadoc
687687
%files tests -f .mfiles-tests
687687
687687
%changelog
687687
* Thu Oct 03 2019 Severin Gehwolf <sgehwolf@redhat.com> - 20101219-25
687687
- Add tests sub-package.
687687
687687
* Thu Oct 03 2019 Severin Gehwolf <sgehwolf@redhat.com> - 20101219-24
687687
- Initial import from Fedora