Blame SPECS/cal10n.spec

386b59
Name:           cal10n
386b59
Version:        0.8.1
386b59
Release:        7%{?dist}
386b59
Summary:        Compiler assisted localization library (CAL10N)
386b59
License:        MIT
386b59
URL:            http://cal10n.qos.ch
386b59
# ./generate-tarball.sh
386b59
Source0:        %{name}-%{version}.tar.gz
386b59
# Remove bundled binaries which cannot be easily verified for licensing
386b59
Source1:        generate-tarball.sh
386b59
BuildArch:      noarch
386b59
386b59
BuildRequires:  maven-local
386b59
BuildRequires:  mvn(junit:junit)
386b59
BuildRequires:  mvn(org.apache.maven:maven-artifact)
386b59
BuildRequires:  mvn(org.apache.maven:maven-artifact-manager)
386b59
BuildRequires:  mvn(org.apache.maven:maven-plugin-api)
386b59
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
386b59
BuildRequires:  mvn(org.apache.maven.plugins:maven-plugin-plugin)
386b59
386b59
%description
386b59
Compiler Assisted Localization, abbreviated as CAL10N (pronounced as "calion")
386b59
is a java library for writing localized (internationalized) messages.
386b59
Features:
386b59
    * java compiler verifies message keys used in source code
386b59
    * tooling to detect errors in message keys
386b59
    * native2ascii tool made superfluous, as you can directly encode bundles
386b59
      in the most convenient charset, per locale.
386b59
    * good performance (300 nanoseconds per key look-up)
386b59
    * automatic reloading of resource bundles upon change
386b59
386b59
386b59
%package javadoc
386b59
Summary:        API documentation for %{name}
386b59
386b59
%description javadoc
386b59
%{summary}.
386b59
386b59
%package -n maven-%{name}-plugin
386b59
Summary:        CAL10N maven plugin
386b59
386b59
%description -n maven-%{name}-plugin
386b59
Maven plugin verifying that the codes defined in
386b59
an enum type match those in the corresponding resource bundles. 
386b59
386b59
%prep
386b59
%setup -q -n %{name}-v_%{version}
386b59
386b59
find . -name \*.jar -delete
386b59
386b59
%pom_xpath_remove pom:extensions
386b59
%pom_add_dep org.apache.maven:maven-artifact maven-%{name}-plugin
386b59
%pom_disable_module %{name}-site
386b59
%pom_disable_module maven-%{name}-plugin-smoke
386b59
%mvn_package :*-{plugin} @1
386b59
386b59
# Disable default-jar execution of maven-jar-plugin, which is causing
386b59
# problems with version 3.0.0 of the plugin.
386b59
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions" "
386b59
    <execution>
386b59
      <id>default-jar</id>
386b59
      <phase>skip</phase>
386b59
    </execution>" cal10n-api
386b59
386b59
%build
386b59
%mvn_build -- -Dproject.build.sourceEncoding=ISO-8859-1
386b59
386b59
%install
386b59
%mvn_install
386b59
386b59
%files -f .mfiles
386b59
%dir %{_javadir}/%{name}
386b59
%license LICENSE.txt
386b59
386b59
%files -n maven-%{name}-plugin -f .mfiles-plugin
386b59
386b59
%files javadoc -f .mfiles-javadoc
386b59
%license LICENSE.txt
386b59
386b59
%changelog
386b59
* Tue Jul 31 2018 Michael Simacek <msimacek@redhat.com> - 0.8.1-7
386b59
- Repack the tarball without binaries
386b59
386b59
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-6
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
386b59
386b59
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-5
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
386b59
386b59
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-4
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
386b59
386b59
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
386b59
386b59
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.8.1-2
386b59
- Add missing build-requires
386b59
386b59
* Mon Jun 06 2016 Michael Simacek <msimacek@redhat.com> - 0.8.1-1
386b59
- Update to upstream version 0.8.1
386b59
386b59
* Tue May 31 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-8
386b59
- Fix build issue with maven-jar-plugin 3.0.0
386b59
386b59
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-7
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
386b59
386b59
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-6
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
386b59
386b59
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-5
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
386b59
386b59
* Thu Mar  6 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-4
386b59
- Remove wagon-ssh build extension
386b59
386b59
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.7.7-4
386b59
- Use Requires: java-headless rebuild (#1067528)
386b59
386b59
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-3
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
386b59
386b59
* Fri Jun 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-2
386b59
- Simplify BuildRequires
386b59
- Convert patch to POM macro
386b59
- Update to current packaging guidelines
386b59
386b59
* Wed Mar 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.7-1
386b59
- Update to upstream version 0.7.7
386b59
386b59
* Fri Mar 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.6-1
386b59
- Update to upstream version 0.7.6
386b59
386b59
* Wed Feb 27 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.5-1
386b59
- Update to upstream version 0.7.5
386b59
- A maintenance release containing only minor fixes
386b59
386b59
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-12
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
386b59
386b59
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0.7.4-11
386b59
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
386b59
- Replace maven BuildRequires with maven-local
386b59
386b59
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7.4-10
386b59
- Install LICENSE file
386b59
- Remove rpm bug workaround
386b59
386b59
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-9
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
386b59
386b59
* Sat Jan 28 2012 Alexander Kurtakov <akurtako@redhat.com> 0.7.4-8
386b59
- Fix for OpenJDK 7 build.
386b59
- Adapt to current guidelines.
386b59
386b59
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-7
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
386b59
386b59
* Wed Jun 8 2011 Alexander Kurtakov <akurtako@redhat.com> 0.7.4-6
386b59
- Build with maven 3.x.
386b59
386b59
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-5
386b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
386b59
386b59
* Thu Nov 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.7.4-4
386b59
- Fix pom filenames (Resolves rhbz#655792)
386b59
- Add several packages to Requires
386b59
- Remove versioned jars and javadocs
386b59
386b59
* Wed Sep 8 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.4-3
386b59
- Fix build failure (javadoc:aggregate).
386b59
386b59
* Mon Jul 19 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.4-2
386b59
- BR maven-site-plugin.
386b59
386b59
* Mon Jul 19 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.4-1
386b59
- Update to 0.7.4.
386b59
386b59
* Wed Feb 3 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.2-2
386b59
- Removed not needed external repo definitions.
386b59
- Use _mavenpomdir.
386b59
386b59
* Wed Feb 3 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.2-1
386b59
- Initial package