|
|
412dc4 |
%global pkg_name cal10n
|
|
|
412dc4 |
%{?scl:%scl_package %{pkg_name}}
|
|
|
412dc4 |
%{?maven_find_provides_and_requires}
|
|
|
412dc4 |
|
|
|
412dc4 |
Name: %{?scl_prefix}%{pkg_name}
|
|
|
412dc4 |
Version: 0.7.7
|
|
|
412dc4 |
Release: 4.13%{?dist}
|
|
|
412dc4 |
Summary: Compiler assisted localization library (CAL10N)
|
|
|
412dc4 |
License: MIT
|
|
|
412dc4 |
URL: http://cal10n.qos.ch
|
|
|
412dc4 |
Source0: http://cal10n.qos.ch/dist/%{pkg_name}-%{version}.tar.gz
|
|
|
412dc4 |
BuildArch: noarch
|
|
|
412dc4 |
|
|
|
412dc4 |
BuildRequires: %{?scl_prefix}maven-local
|
|
|
412dc4 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugins:maven-site-plugin)
|
|
|
412dc4 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
|
412dc4 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-artifact)
|
|
|
412dc4 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-artifact-manager)
|
|
|
412dc4 |
BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api)
|
|
|
412dc4 |
|
|
|
412dc4 |
%description
|
|
|
412dc4 |
Compiler Assisted Localization, abbreviated as CAL10N (pronounced as "calion")
|
|
|
412dc4 |
is a java library for writing localized (internationalized) messages.
|
|
|
412dc4 |
Features:
|
|
|
412dc4 |
* java compiler verifies message keys used in source code
|
|
|
412dc4 |
* tooling to detect errors in message keys
|
|
|
412dc4 |
* native2ascii tool made superfluous, as you can directly encode bundles
|
|
|
412dc4 |
in the most convenient charset, per locale.
|
|
|
412dc4 |
* good performance (300 nanoseconds per key look-up)
|
|
|
412dc4 |
* automatic reloading of resource bundles upon change
|
|
|
412dc4 |
|
|
|
412dc4 |
|
|
|
412dc4 |
%package javadoc
|
|
|
412dc4 |
Summary: API documentation for %{pkg_name}
|
|
|
412dc4 |
|
|
|
412dc4 |
%description javadoc
|
|
|
412dc4 |
%{summary}.
|
|
|
412dc4 |
|
|
|
412dc4 |
%package -n %{?scl_prefix}maven-%{pkg_name}-plugin
|
|
|
412dc4 |
Summary: CAL10N maven plugin
|
|
|
412dc4 |
|
|
|
412dc4 |
%description -n %{?scl_prefix}maven-%{pkg_name}-plugin
|
|
|
412dc4 |
Maven plugin verifying that the codes defined in
|
|
|
412dc4 |
an enum type match those in the corresponding resource bundles.
|
|
|
412dc4 |
|
|
|
412dc4 |
%prep
|
|
|
412dc4 |
%setup -q -n %{pkg_name}-%{version}
|
|
|
412dc4 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
412dc4 |
set -e -x
|
|
|
412dc4 |
find . -name \*.jar -delete
|
|
|
412dc4 |
%pom_xpath_remove pom:extensions
|
|
|
412dc4 |
%pom_add_dep org.apache.maven:maven-artifact maven-%{pkg_name}-plugin
|
|
|
412dc4 |
%pom_disable_module %{pkg_name}-site
|
|
|
412dc4 |
%pom_disable_module maven-%{pkg_name}-plugin-smoke
|
|
|
412dc4 |
%mvn_package :*-{plugin} @1
|
|
|
412dc4 |
%{?scl:EOF}
|
|
|
412dc4 |
|
|
|
412dc4 |
%build
|
|
|
412dc4 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
412dc4 |
set -e -x
|
|
|
412dc4 |
%mvn_build -- -Dproject.build.sourceEncoding=ISO-8859-1
|
|
|
412dc4 |
%{?scl:EOF}
|
|
|
412dc4 |
|
|
|
412dc4 |
%install
|
|
|
412dc4 |
%{?scl:scl enable %{scl} - <<"EOF"}
|
|
|
412dc4 |
set -e -x
|
|
|
412dc4 |
%mvn_install
|
|
|
412dc4 |
%{?scl:EOF}
|
|
|
412dc4 |
|
|
|
412dc4 |
%files -f .mfiles
|
|
|
412dc4 |
%dir %{_mavenpomdir}/%{pkg_name}
|
|
|
412dc4 |
%dir %{_javadir}/%{pkg_name}
|
|
|
412dc4 |
%doc LICENSE.txt
|
|
|
412dc4 |
|
|
|
412dc4 |
%files -n %{?scl_prefix}maven-%{pkg_name}-plugin -f .mfiles-plugin
|
|
|
412dc4 |
|
|
|
412dc4 |
%files javadoc -f .mfiles-javadoc
|
|
|
412dc4 |
%doc LICENSE.txt
|
|
|
412dc4 |
|
|
|
412dc4 |
%changelog
|
|
|
412dc4 |
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 0.7.7-4.13
|
|
|
412dc4 |
- Fix BR on maven-local & co.
|
|
|
412dc4 |
|
|
|
412dc4 |
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 0.7.7-4.12
|
|
|
412dc4 |
- maven33 rebuild #2
|
|
|
412dc4 |
|
|
|
412dc4 |
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 0.7.7-4.11
|
|
|
412dc4 |
- maven33 rebuild
|
|
|
412dc4 |
|
|
|
412dc4 |
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-4.10
|
|
|
412dc4 |
- Add directory ownership on %%{_mavenpomdir} subdir
|
|
|
412dc4 |
|
|
|
412dc4 |
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 0.7.7-4.9
|
|
|
412dc4 |
- Mass rebuild 2015-01-13
|
|
|
412dc4 |
|
|
|
412dc4 |
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 0.7.7-4.8
|
|
|
412dc4 |
- Mass rebuild 2015-01-06
|
|
|
412dc4 |
|
|
|
412dc4 |
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-4.7
|
|
|
412dc4 |
- Mass rebuild 2014-05-26
|
|
|
412dc4 |
|
|
|
412dc4 |
* Fri Mar 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-4.6
|
|
|
412dc4 |
- Remove wagon-ssh build extension
|
|
|
412dc4 |
|
|
|
412dc4 |
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-4.5
|
|
|
412dc4 |
- Mass rebuild 2014-02-19
|
|
|
412dc4 |
|
|
|
412dc4 |
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-4.4
|
|
|
412dc4 |
- Mass rebuild 2014-02-18
|
|
|
412dc4 |
|
|
|
412dc4 |
* Mon Feb 17 2014 Michal Srb <msrb@redhat.com> - 0.7.7-4.3
|
|
|
412dc4 |
- SCL-ize BR
|
|
|
412dc4 |
|
|
|
412dc4 |
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-4.2
|
|
|
412dc4 |
- Rebuild to regenerate auto-requires
|
|
|
412dc4 |
|
|
|
412dc4 |
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-4.1
|
|
|
412dc4 |
- First maven30 software collection build
|
|
|
412dc4 |
|
|
|
412dc4 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.7.7-4
|
|
|
412dc4 |
- Mass rebuild 2013-12-27
|
|
|
412dc4 |
|
|
|
412dc4 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-3
|
|
|
412dc4 |
- Rebuild to regenerate API documentation
|
|
|
412dc4 |
- Resolves: CVE-2013-1571
|
|
|
412dc4 |
|
|
|
412dc4 |
* Fri Jun 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-2
|
|
|
412dc4 |
- Simplify BuildRequires
|
|
|
412dc4 |
- Convert patch to POM macro
|
|
|
412dc4 |
- Update to current packaging guidelines
|
|
|
412dc4 |
|
|
|
412dc4 |
* Wed Mar 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-1
|
|
|
412dc4 |
- Update to upstream version 0.7.7
|
|
|
412dc4 |
|
|
|
412dc4 |
* Fri Mar 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.6-1
|
|
|
412dc4 |
- Update to upstream version 0.7.6
|
|
|
412dc4 |
|
|
|
412dc4 |
* Wed Feb 27 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.5-1
|
|
|
412dc4 |
- Update to upstream version 0.7.5
|
|
|
412dc4 |
- A maintenance release containing only minor fixes
|
|
|
412dc4 |
|
|
|
412dc4 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-12
|
|
|
412dc4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
412dc4 |
|
|
|
412dc4 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0.7.4-11
|
|
|
412dc4 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
412dc4 |
- Replace maven BuildRequires with maven-local
|
|
|
412dc4 |
|
|
|
412dc4 |
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.4-10
|
|
|
412dc4 |
- Install LICENSE file
|
|
|
412dc4 |
- Remove rpm bug workaround
|
|
|
412dc4 |
|
|
|
412dc4 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-9
|
|
|
412dc4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
412dc4 |
|
|
|
412dc4 |
* Sat Jan 28 2012 Alexander Kurtakov <akurtako@redhat.com> 0.7.4-8
|
|
|
412dc4 |
- Fix for OpenJDK 7 build.
|
|
|
412dc4 |
- Adapt to current guidelines.
|
|
|
412dc4 |
|
|
|
412dc4 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-7
|
|
|
412dc4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
412dc4 |
|
|
|
412dc4 |
* Wed Jun 8 2011 Alexander Kurtakov <akurtako@redhat.com> 0.7.4-6
|
|
|
412dc4 |
- Build with maven 3.x.
|
|
|
412dc4 |
|
|
|
412dc4 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-5
|
|
|
412dc4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
412dc4 |
|
|
|
412dc4 |
* Thu Nov 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.7.4-4
|
|
|
412dc4 |
- Fix pom filenames (Resolves rhbz#655792)
|
|
|
412dc4 |
- Add several packages to Requires
|
|
|
412dc4 |
- Remove versioned jars and javadocs
|
|
|
412dc4 |
|
|
|
412dc4 |
* Wed Sep 8 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.4-3
|
|
|
412dc4 |
- Fix build failure (javadoc:aggregate).
|
|
|
412dc4 |
|
|
|
412dc4 |
* Mon Jul 19 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.4-2
|
|
|
412dc4 |
- BR maven-site-plugin.
|
|
|
412dc4 |
|
|
|
412dc4 |
* Mon Jul 19 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.4-1
|
|
|
412dc4 |
- Update to 0.7.4.
|
|
|
412dc4 |
|
|
|
412dc4 |
* Wed Feb 3 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.2-2
|
|
|
412dc4 |
- Removed not needed external repo definitions.
|
|
|
412dc4 |
- Use _mavenpomdir.
|
|
|
412dc4 |
|
|
|
412dc4 |
* Wed Feb 3 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.2-1
|
|
|
412dc4 |
- Initial package
|