Blame SPECS/icu4j.spec

3edffd
%{?scl:%scl_package icu4j}
3edffd
%{!?scl:%global pkg_name %{name}}
84749f
%{?java_common_find_provides_and_requires}
3edffd
3edffd
Name:           %{?scl_prefix}icu4j
84749f
Version:        54.1.1
84749f
Release:        4.4%{?dist}
3edffd
Epoch:          1
3edffd
Summary:        International Components for Unicode for Java
84749f
License:        MIT and EPL
3edffd
URL:            http://site.icu-project.org/
84749f
3edffd
#CAUTION
3edffd
#to create a tarball use following procedure
84749f
#svn co http://source.icu-project.org/repos/icu/icu4j/tags/release-54-1-1 icu4j-<version>
3edffd
#tar caf icu4j-<version>.tar.xz icu4j-<version>/
3edffd
Source0:        icu4j-%{version}.tar.xz
84749f
84749f
# Java 8 taglet API changes
84749f
#Patch0:         java8-taglets.patch
84749f
84749f
# Add better OSGi metadata to core jar
84749f
Patch1:         improve-osgi-manifest.patch
84749f
84749f
BuildRequires:  %{?scl_prefix_java_common}ant
84749f
BuildRequires:  java-devel
84749f
BuildRequires:  java-javadoc
84749f
BuildRequires:  %{?scl_prefix_java_common}javapackages-local
3edffd
BuildRequires:  zip
84749f
84749f
# Obsoletes/provides added in F22
84749f
Obsoletes:      %{name}-eclipse < %{epoch}:%{version}-%{release}
84749f
Provides:       %{name}-eclipse = %{epoch}:%{version}-%{release}
3edffd
3edffd
BuildArch:      noarch
3edffd
84749f
%{?scl:Requires: %scl_runtime}
3edffd
3edffd
%description
3edffd
The International Components for Unicode (ICU) library provides robust and
3edffd
full-featured Unicode services on a wide variety of platforms. ICU supports
3edffd
the most current version of the Unicode standard, and provides support for
3edffd
supplementary characters (needed for GB 18030 repertoire support).
3edffd
3edffd
Java provides a very strong foundation for global programs, and IBM and the
3edffd
ICU team played a key role in providing globalization technology into Sun's
3edffd
Java. But because of its long release schedule, Java cannot always keep
3edffd
up-to-date with evolving standards. The ICU team continues to extend Java's
3edffd
Unicode and internationalization support, focusing on improving
3edffd
performance, keeping current with the Unicode standard, and providing
3edffd
richer APIs, while remaining as compatible as possible with the original
3edffd
Java text and internationalization API design.
3edffd
3edffd
%package charset
84749f
Summary:        Charset converter library of %{pkg_name}
84749f
Requires:       %{name} = %{epoch}:%{version}-%{release}
3edffd
3edffd
%description charset
84749f
Charset converter library of %{pkg_name}.
84749f
84749f
%package localespi
84749f
Summary:        Locale SPI library of %{pkg_name}
84749f
Requires:       %{name} = %{epoch}:%{version}-%{release}
84749f
84749f
%description localespi
84749f
Locale SPI library of %{pkg_name}.
3edffd
3edffd
%package javadoc
3edffd
Summary:        Javadoc for %{pkg_name}
84749f
Requires:       java-javadoc
3edffd
3edffd
%description javadoc
84749f
API documentation for %{pkg_name}.
3edffd
84749f
%prep
84749f
%setup -q -n icu4j-%{version}
3edffd
84749f
#%patch0
84749f
%patch1
3edffd
84749f
%build
84749f
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
84749f
export JAVA_HOME=/usr/lib/jvm/java/
84749f
ant -Dicu4j.api.doc.jdk.link=/usr/share/javadoc/java all check
3edffd
84749f
%mvn_artifact pom.xml icu4j.jar
84749f
%{?scl:EOF}
3edffd
84749f
%install
84749f
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
84749f
%mvn_install -J doc
84749f
%{?scl:EOF}
3edffd
84749f
# No poms for these, so install manually
84749f
install -m 644 icu4j-charset.jar   %{buildroot}%{_javadir}/icu4j/
84749f
install -m 644 icu4j-localespi.jar %{buildroot}%{_javadir}/icu4j/
3edffd
84749f
%files -f .mfiles
84749f
%doc main/shared/licenses/license.html readme.html APIChangeReport.html
84749f
%dir %{_javadir}/icu4j
84749f
%dir %{_mavenpomdir}/icu4j
3edffd
84749f
%files charset
84749f
%doc main/shared/licenses/license.html
84749f
%{_javadir}/icu4j/icu4j-charset.jar
3edffd
84749f
%files localespi
84749f
%doc main/shared/licenses/license.html
84749f
%{_javadir}/icu4j/icu4j-localespi.jar
3edffd
84749f
%files javadoc -f .mfiles-javadoc
84749f
%doc main/shared/licenses/license.html
3edffd
84749f
%changelog
84749f
* Fri Mar 27 2015 Mat Booth <mat.booth@redhat.com> - 1:54.1.1-4.4
84749f
- Fixes: rhbz#1206550 - Rebuild to fix requires on SCL runtimes
3edffd
84749f
* Mon Jan 12 2015 Mat Booth <mat.booth@redhat.com> - 1:54.1.1-4.3
84749f
- Related: rhbz#1175105 - rebuilt
3edffd
84749f
* Thu Jan 08 2015 Mat Booth <mat.booth@redhat.com> - 1:54.1.1-4.2
84749f
- Related: rhbz#1175105 - Rebuild for correct disttag.
3edffd
84749f
* Tue Jan 06 2015 Mat Booth <mat.booth@redhat.com> - 1:54.1.1-4.1
84749f
- Resolves: rhbz#1175105 - Import into DTS 3.1
84749f
- Don't use java8 patch, only needed for generating javadoc when java < 8
84749f
  is not available
3edffd
84749f
* Fri Nov 21 2014 Mat Booth <mat.booth@redhat.com> - 1:54.1.1-4
84749f
- Drop unnecessay requires on main package and fix requires on sub packages
3edffd
84749f
* Fri Nov 21 2014 Mat Booth <mat.booth@redhat.com> - 1:54.1.1-3
84749f
- Drop the eclipse sub-package, no longer needed
3edffd
84749f
* Mon Nov 17 2014 Mat Booth <mat.booth@redhat.com> - 1:54.1.1-2
84749f
- Fix typo in osgi manifest patch
3edffd
84749f
* Mon Nov 17 2014 Mat Booth <mat.booth@redhat.com> - 1:54.1.1-1
84749f
- Update to latest upstream release
84749f
- Add patch for building against java 8 taglet API
84749f
  - Fixes: rhbz#1087450, rhbz#1106794
84749f
- Add patch for generating better OSGi metadata in core lib
84749f
- Install core lib with mvn_install
84749f
- Package localespi lib
84749f
- Run test suite
3edffd
84749f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:52.1-3
84749f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3edffd
3edffd
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1:52.1-2
3edffd
- Use Requires: java-headless rebuild (#1067528)
3edffd
3edffd
* Tue Mar 18 2014 Michael Simacek <msimacek@redhat.com> - 1:52.1-1
3edffd
- Update to upstream version 52.1
3edffd
- Require java-headless
3edffd
3edffd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:50.1.1-2
3edffd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3edffd
3edffd
* Tue May 14 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:50.1.1-1
3edffd
- Update to latest upstream.
3edffd
3edffd
* Fri Mar 22 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:50.1.0-7
3edffd
- Build sclized version using SCLized Eclipse.
3edffd
3edffd
* Thu Feb 21 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:50.1.0-6
3edffd
- RHBZ#913369 Provide icu4j-charset library
3edffd
3edffd
* Tue Feb 12 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:50.1.0-5
3edffd
- SCLize.
3edffd
3edffd
* Mon Feb 11 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:50.1.0-4
3edffd
- Revert a hardcoded path.
3edffd
3edffd
* Mon Feb 11 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:50.1.0-3
3edffd
- Complete the removal.
3edffd
3edffd
* Mon Feb 11 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:50.1.0-2
3edffd
- Remove the main jar manifest.
3edffd
3edffd
* Thu Feb 7 2013 Krzysztof Daniel <kdaniel@redhat.com> 1:50.1.0-1
3edffd
- Update to latest upstream. 
3edffd
3edffd
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.4.2.2-13
3edffd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3edffd
3edffd
* Tue Apr 24 2012 Alexander Kurtakov <akurtako@redhat.com> 1:4.4.2.2-12
3edffd
- Don't build icu4j-eclipse for rhel.
3edffd
3edffd
* Thu Feb 16 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.4.2.2-11
3edffd
- Make the package noarch.
3edffd
3edffd
* Wed Feb  1 2012 Daniel Mach <dmach@redhat.com> 1:4.4.2.2-10
3edffd
- Tweak with_eclipse macro for rhel and non-intel architectures.
3edffd
3edffd
* Fri Jan 27 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.4.2.2-9
3edffd
- Getting back to 4 digit version
3edffd
3edffd
* Thu Jan 26 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.4.2-8
3edffd
- Proper sources uploaded
3edffd
3edffd
* Thu Jan 26 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.4.2-7
3edffd
- Better versioning consistent with previous releases
3edffd
3edffd
* Mon Jan 16 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.4.2.2-6
3edffd
- Update to 4.4.2.2.
3edffd
3edffd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.4.2-5
3edffd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3edffd
3edffd
* Tue Nov 15 2011 Alexander Kurtakov <akurtako@redhat.com> 1:4.4.2-4
3edffd
- Add proper manifest to the jar in the main package.
3edffd
3edffd
* Fri Sep 16 2011 Alexander Kurtakov <akurtako@redhat.com> 1:4.4.2-3
3edffd
- Adapt to current guidelines.
3edffd
3edffd
* Mon May 9 2011 Alexander Kurtakov <akurtako@redhat.com> 1:4.4.2-2
3edffd
- Use proper tarball.
3edffd
- Fix build.
3edffd
3edffd
* Tue Apr 05 2011 Chris Aniszczyk <zx@redhat.com> 1:4.4.2-1
3edffd
- Update to 4.4.2.
3edffd
3edffd
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.2.1-2
3edffd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3edffd
3edffd
* Thu Jul 8 2010 Alexander Kurtakov <akurtako@redhat.com> 1:4.2.1-1
3edffd
- Update to 4.2.1.
3edffd
3edffd
* Fri Feb  5 2010 Mary Ellen Foster <mefoster at gmail.com> 1:4.0.1-5
3edffd
- Add maven pom and depmap fragment
3edffd
3edffd
* Tue Sep 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:4.0.1-4
3edffd
- Simplify with_eclipse conditional.
3edffd
3edffd
* Mon Aug 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1:4.0.1-3
3edffd
- Update qualifier to the Eclipse 3.5.0 release.
3edffd
3edffd
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.0.1-2
3edffd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3edffd
3edffd
* Wed Apr 8 2009 Alexander Kurtakov <akurtako@redhat.com> 1:4.0.1-1
3edffd
- Update to 4.0.1.
3edffd
3edffd
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.8.1-5
3edffd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3edffd
3edffd
* Wed Oct  8 2008 Ville Skyttä <ville.skytta at iki.fi> - 0:3.8.1-4
3edffd
- Disable debuginfo package when built with Eclipse support, change to
3edffd
  noarch when built without it (#464017).
3edffd
3edffd
* Mon Aug 11 2008 Andrew Overholt <overholt@redhat.com> 3.8.1-3
3edffd
- Get rid of eclipse_name macro
3edffd
- Rebuild with Eclipse 3.4 and put into Eclipse stuff into
3edffd
  %%{_libdir}/eclipse
3edffd
- Remove now-unnecessary OSGi configuration dir patch
3edffd
- Add patch to point to PDE Build location
3edffd
3edffd
* Fri Jul 11 2008 Andrew Overholt <overholt@redhat.com> 0:3.8.1-2
3edffd
- Remove GCJ support due to
3edffd
  com.sun.tools.doclets.internal.toolkit.taglets.* import (not in gjdoc)
3edffd
3edffd
* Fri Jul 11 2008 Andrew Overholt <overholt@redhat.com> 0:3.8.1-1
3edffd
- 3.8.1
3edffd
3edffd
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:3.6.1-3
3edffd
- drop repotag
3edffd
- fix license tag
3edffd
3edffd
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:3.6.1-2jpp.6
3edffd
- Autorebuild for GCC 4.3
3edffd
3edffd
* Tue Nov 13 2007 Andrew Overholt <overholt@redhat.com> 3.6.1-1jpp.6
3edffd
- Bump release and change updatetimestamp patch to have DOS
3edffd
  line-endings.
3edffd
3edffd
* Tue Nov 13 2007 Andrew Overholt <overholt@redhat.com> 3.6.1-1jpp.5
3edffd
- Bump release.
3edffd
3edffd
* Fri Sep 28 2007 Andrew Overholt <overholt@redhat.com> 3.6.1-1jpp.4
3edffd
- Update timestamp to match Eclipse 3.3.1 release.
3edffd
3edffd
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.6.1-1jpp.3
3edffd
- Rebuild for selinux ppc32 issue.
3edffd
3edffd
* Wed Jun 27 2007 Ben Konrath <bkonrath@redhat.com> - 0:3.6.1-1jpp.2
3edffd
- Remove requires eclipse-rcp in eclipse sub-package.
3edffd
3edffd
* Thu Jun 07 2007 Ben Konrath <bkonrath@redhat.com> - 0:3.6.1-1jpp.1
3edffd
- 3.6.1.
3edffd
- Enable eclipse sub-package.
3edffd
3edffd
* Fri Mar 16 2007 Jeff Johnston <jjohnstn@redhat.com> - 0:3.4.5-2jpp.2
3edffd
- Disable eclipse plugin support temporarily until build problems
3edffd
  can be worked out.  Plugin is still being built as part of
3edffd
  eclipse platform.
3edffd
- BuildRequire sinjdoc.
3edffd
3edffd
* Mon Feb 12 2007 Matt Wringe <mwringe@redhat.com> - 0:3.4.5-2jpp.1
3edffd
- Fix some rpmlint issues
3edffd
- Make use of buildroot more consistent
3edffd
- Remove javadoc post and postun sections as per new jpp standard
3edffd
- Change license section to 'MIT style' license from 'MIT' license.
3edffd
  This was done since the source package calls the license the 
3edffd
  "X license" (see readme.html in src jar).
3edffd
- Install eclipse plugin into /usr/share/eclipse
3edffd
3edffd
* Mon Jan 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.4.5-2jpp.1
3edffd
- Merge with upstream
3edffd
3edffd
* Mon Jan 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.4.5-2jpp
3edffd
- Add optional eclipse subpackage, created by
3edffd
  Jeff Johnston  <jjohnstn@rdhat.com> :
3edffd
- Add eclipse sub-package to create plugins.
3edffd
3edffd
* Mon Jan 22 2007 Fernando Nasser <fnasser@redhat.com> - 0:3.4.5-1jpp
3edffd
- Upgrade to 3.4.5 with merge
3edffd
- Re-enable javadoc
3edffd
3edffd
* Mon Sep 04 2006 Ben Konrath <bkonrath@redhat.com> 0:3.4.5-1jpp_1fc
3edffd
- 3.4.5.
3edffd
- Add GCJ support with spec-convert-gcj-1.6.
3edffd
3edffd
* Mon Jul 17 2006 Ben Konrath <bkonrath@redhat.com> 0:3.4.4-1jpp_1fc
3edffd
- 3.4.4.
3edffd
- Add disable javadocs patch.
3edffd
3edffd
* Tue Feb 28 2006 Fernando Nasser <fnasser@redhat.com> - 0:3.2-2jpp_1rh
3edffd
- First Red Hat build
3edffd
3edffd
* Mon Feb 27 2006 Fernando Nasser <fnasser@redhat.com> - 0:3.2-2jpp
3edffd
- First JPP 1.7 build
3edffd
84749f
* Sat Jan 29 2005 David Walluck <david@jpackage.org> 0:3.2-1jpp
3edffd
- release (contributed by Mary Ellen Foster <mefoster at gmail.com>)