Blame SPECS/base64coder.spec

ae88f7
%{?scl:%scl_package base64coder}
ae88f7
%{!?scl:%global pkg_name %{name}}
ae88f7
%{?java_common_find_provides_and_requires}
ae88f7
ae88f7
%global long_ver  2010-12-19
ae88f7
ae88f7
Name:           %{?scl_prefix}base64coder
ae88f7
Version:        20101219
ae88f7
Release:        13.1%{?dist}
ae88f7
Summary:        Fast and compact Base64 encoder/decoder Java library
ae88f7
License:        EPL or LGPLv2+ or GPLv2+ or ASL 2.0+ or BSD
ae88f7
BuildArch:      noarch
ae88f7
URL:            http://www.source-code.biz/%{pkg_name}/java/
ae88f7
Source0:        http://repo2.maven.org/maven2/biz/source_code/%{pkg_name}/%{long_ver}/%{pkg_name}-%{long_ver}-distribution.zip
ae88f7
ae88f7
BuildRequires:  %{?scl_prefix_java_common}maven-local
ae88f7
BuildRequires:  %{?scl_prefix_maven}mvn(org.sonatype.oss:oss-parent:pom:)
ae88f7
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.felix:maven-bundle-plugin)
ae88f7
ae88f7
%description
ae88f7
Base64Coder is a fast and compact Base64 encoder/decoder class.
ae88f7
ae88f7
There is no Base64 encoder/decoder in the standard Java SDK class
ae88f7
library.  The undocumented classes sun.misc.BASE64Encoder and
ae88f7
sun.misc.BASE64Decoder should not be used.
ae88f7
ae88f7
%package javadoc
ae88f7
Summary:        API documentation for %{pkg_name}
ae88f7
ae88f7
%description javadoc
ae88f7
This package contains %{summary}.
ae88f7
ae88f7
%prep
ae88f7
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
ae88f7
%setup -q -n %{pkg_name}-%{long_ver}
ae88f7
sed -i 's/\r//g' README.txt CHANGES.txt
ae88f7
%mvn_file : %{pkg_name}
ae88f7
%{?scl:EOF}
ae88f7
ae88f7
ae88f7
%build
ae88f7
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
ae88f7
%mvn_build
ae88f7
%{?scl:EOF}
ae88f7
ae88f7
ae88f7
%install
ae88f7
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
ae88f7
%mvn_install
ae88f7
%{?scl:EOF}
ae88f7
ae88f7
ae88f7
%files -f .mfiles
ae88f7
%doc README.txt CHANGES.txt
ae88f7
ae88f7
%files javadoc -f .mfiles-javadoc
ae88f7
ae88f7
%changelog
ae88f7
* Thu Jul 09 2015 Mat Booth <mat.booth@redhat.com> - 20101219-13.1
ae88f7
- Import latest from Fedora
ae88f7
ae88f7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101219-13
ae88f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ae88f7
ae88f7
* Wed Jul 30 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 20101219-12
ae88f7
- Fix build-requires on sonatype-oss-parent
ae88f7
ae88f7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101219-11
ae88f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ae88f7
ae88f7
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 20101219-10
ae88f7
- Use Requires: java-headless rebuild (#1067528)
ae88f7
ae88f7
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101219-9
ae88f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ae88f7
ae88f7
* Fri Jun 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 20101219-8
ae88f7
- Update to current packaging guidelines
ae88f7
ae88f7
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101219-7
ae88f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ae88f7
ae88f7
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 20101219-6
ae88f7
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
ae88f7
- Replace maven BuildRequires with maven-local
ae88f7
ae88f7
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101219-5
ae88f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ae88f7
ae88f7
* Mon May 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 20101219-4
ae88f7
- Add maven plugins to BuildRequires
ae88f7
ae88f7
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101219-3
ae88f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ae88f7
ae88f7
* Tue Jun 07 2011 Jaromir Capik <jcapik@redhat.com> - 20101219-2
ae88f7
- Java suffix removed from the package name and put in the summary instead
ae88f7
- Version string added in the source URL (no need for manual renaming)
ae88f7
- POM file added in the source package -> Source1 removed (no need for copying)
ae88f7
- Removal of the target directory removed (not present anymore)
ae88f7
ae88f7
* Mon May 30 2011 Jaromir Capik <jcapik@redhat.com> - 20101219-1
ae88f7
- Initial version of the package