Blame SPECS/cal10n.spec

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