Blame SPECS/hawtjni.spec

28c908
%{?scl:%scl_package hawtjni}
28c908
%{!?scl:%global pkg_name %{name}}
28c908
28c908
Name:             %{?scl_prefix}hawtjni
28c908
Version:          1.17
28c908
Release:          1.2%{?dist}
28c908
Summary:          Code generator that produces the JNI code
28c908
# Maven plugin is under ASL 2.0.
28c908
# stdint.h, shipped in JAR as resource, used only with M$ VC++, is under BSD.
28c908
# Everything else is under EPL-1.0
28c908
License:          ASL 2.0 and EPL-1.0 and BSD
28c908
URL:              http://hawtjni.fusesource.org/
28c908
BuildArch:        noarch
28c908
28c908
Source0:          https://github.com/fusesource/hawtjni/archive/hawtjni-project-%{version}.tar.gz#/%{pkg_name}-%{version}.tar.gz
28c908
28c908
BuildRequires:    %{?scl_prefix}maven-local
28c908
BuildRequires:    %{?scl_prefix}mvn(commons-cli:commons-cli)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.apache.commons:commons-lang)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven:maven-archiver)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven:maven-artifact)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven:maven-artifact-manager)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven:maven-project)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven.plugins:maven-plugin-plugin)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.apache.xbean:xbean-finder)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.codehaus.plexus:plexus-archiver)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.codehaus.plexus:plexus-interpolation)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.codehaus.plexus:plexus-io)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.fusesource:fusesource-pom:pom:)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.ow2.asm:asm)
28c908
BuildRequires:    %{?scl_prefix}mvn(org.ow2.asm:asm-commons)
28c908
28c908
Requires:         autoconf
28c908
Requires:         automake
28c908
Requires:         libtool
28c908
Requires:         make
28c908
28c908
%description
28c908
HawtJNI is a code generator that produces the JNI code needed to
28c908
implement java native methods. It is based on the jnigen code generator
28c908
that is part of the SWT Tools project which is used to generate all the
28c908
JNI code which powers the eclipse platform.
28c908
28c908
%package javadoc
28c908
Summary:          Javadocs for %{pkg_name}
28c908
28c908
%description javadoc
28c908
This package contains the API documentation for %{pkg_name}.
28c908
28c908
%package -n %{name}-runtime
28c908
Summary:          HawtJNI Runtime
28c908
28c908
%description -n %{name}-runtime
28c908
This package provides API that projects using HawtJNI should build
28c908
against.
28c908
28c908
%package -n %{?scl_prefix}maven-hawtjni-plugin
28c908
Summary:          Use HawtJNI from a maven plugin
28c908
28c908
%description -n %{?scl_prefix}maven-%{pkg_name}-plugin
28c908
This package allows to use HawtJNI from a maven plugin.
28c908
28c908
%prep
28c908
%setup -q -n hawtjni-hawtjni-project-%{version}
28c908
28c908
%pom_disable_module hawtjni-example
28c908
%pom_remove_plugin -r :maven-shade-plugin
28c908
%pom_remove_plugin -r :maven-eclipse-plugin
28c908
28c908
%mvn_package ":hawtjni-runtime" runtime
28c908
%mvn_package ":hawtjni-maven-plugin" maven-plugin
28c908
28c908
%mvn_alias :hawtjni-maven-plugin :maven-hawtjni-plugin
28c908
28c908
# javadoc generation fails due to strict doclint in JDK 8
28c908
%pom_remove_plugin :maven-javadoc-plugin hawtjni-runtime
28c908
28c908
%pom_add_dep org.apache.commons:commons-lang hawtjni-generator
28c908
28c908
%build
28c908
%mvn_build
28c908
28c908
%install
28c908
%mvn_install
28c908
28c908
%files -n %{name}-runtime -f .mfiles-runtime
28c908
%doc readme.md license.txt changelog.md
28c908
28c908
%files -f .mfiles
28c908
28c908
%files javadoc -f .mfiles-javadoc
28c908
%doc license.txt
28c908
28c908
%files -n %{?scl_prefix}maven-hawtjni-plugin -f .mfiles-maven-plugin
28c908
28c908
%changelog
28c908
* Wed Sep  4 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.17-1.2
28c908
- Mass rebuild 2019-09-04
28c908
28c908
* Tue Sep  3 2019 Java Maintainers <java-maint@redhat.com> - 1.17-1.1
28c908
- Automated package import and SCL-ization
28c908
28c908
* Thu Jun 27 2019 Marian Koncek <mkoncek@redhat.com> - 1.17-1
28c908
- Update to upstream version 1.17
28c908
28c908
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.16-3
28c908
- Mass rebuild for javapackages-tools 201901
28c908
28c908
* Mon Jul  2 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.16-2
28c908
- Update license tag
28c908
28c908
* Mon Feb 26 2018 Michael Simacek <msimacek@redhat.com> - 1.16-1
28c908
- Update to upstream version 1.16
28c908
28c908
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-3
28c908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
28c908
28c908
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
28c908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
28c908
28c908
* Wed Jun 14 2017 Michael Simacek <msimacek@redhat.com> - 1.15-1
28c908
- Update to upstream version 1.15
28c908
28c908
* Mon Feb 13 2017 Michael Simacek <msimacek@redhat.com> - 1.10-9
28c908
- Add Requires on make
28c908
28c908
* Mon Feb 06 2017 Michael Simacek <msimacek@redhat.com> - 1.10-8
28c908
- Regenerate BuildRequires
28c908
28c908
* Wed Feb  1 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-7
28c908
- Remove unneeded BR on maven-project-info-reports-plugin
28c908
28c908
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-6
28c908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
28c908
28c908
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-5
28c908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
28c908
28c908
* Thu May 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-4
28c908
- Remove maven-javadoc-plugin execution
28c908
28c908
* Fri Nov 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-3
28c908
- Spit runtime into subpackage
28c908
- Resolves: rhbz#1166607
28c908
28c908
* Mon Jun  9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-2
28c908
- Add requires on autoconf, automake, libtool
28c908
28c908
* Mon Jun  9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-1
28c908
- Update to upstream version 1.10
28c908
28c908
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-5
28c908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
28c908
28c908
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-4
28c908
- Migrate BuildRequires from junit4 to junit
28c908
28c908
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-3
28c908
- Remove BuildRequires on maven-surefire-provider-junit4
28c908
28c908
* Thu Mar  6 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-2
28c908
- Update to ASM4
28c908
- Resolves: rhbz#1073507
28c908
28c908
* Wed Sep 18 2013 Marek Goldmann <mgoldman@redhat.com> - 1.9-1
28c908
- Upstream release 1.9
28c908
- hawtjni: missing barriers in cache initialization, RHBZ#957181
28c908
28c908
* Tue Aug 06 2013 Marek Goldmann <mgoldman@redhat.com> - 1.8-3
28c908
- New guidelines
28c908
28c908
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
28c908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
28c908
28c908
* Tue May 21 2013 Marek Goldmann <mgoldman@redhat.com> - 1.8-1
28c908
- Upstream release 1.8
28c908
28c908
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6-5
28c908
- Remove unneeded BR: maven-idea-plugin
28c908
28c908
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
28c908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
28c908
28c908
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.6-3
28c908
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
28c908
- Replace maven BuildRequires with maven-local
28c908
28c908
* Tue Jan 22 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6-2
28c908
- Replace asm2 requires with objectweb-asm
28c908
- Resolves: rhbz#902674
28c908
28c908
* Fri Sep 07 2012 gil cattaneo <puntogil@libero.it> 1.6-1
28c908
- Upstream release 1.6
28c908
28c908
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
28c908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
28c908
28c908
* Wed Apr 18 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.5-3
28c908
- Remove eclipse plugin from BuildRequires
28c908
28c908
* Thu Jan 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.5-2
28c908
- Replace plexus-maven-plugin with plexus-containers implementation
28c908
28c908
* Sun Jan 15 2012 Marek Goldmann <mgoldman@redhat.com> 1.5-1
28c908
- Upstream release 1.5
28c908
28c908
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
28c908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
28c908
28c908
* Wed Aug 10 2011 Marek Goldmann <mgoldman@redhat.com> 1.3-1
28c908
- Upstream release 1.3
28c908
28c908
* Fri Jul 29 2011 Marek Goldmann <mgoldman@redhat.com> 1.2-1
28c908
- Upstream release 1.2
28c908
- Moved to new depmap macro
28c908
28c908
* Mon May 30 2011 Marek Goldmann <mgoldman@redhat.com> 1.1-4
28c908
- Removed maven-shade-plugin dependency
28c908
28c908
* Mon May 30 2011 Marek Goldmann <mgoldman@redhat.com> 1.1-3
28c908
- Split maven-hawtjni-plugin into new package
28c908
- Fixed license
28c908
- Fixed summary
28c908
- Using xz to compress source code
28c908
28c908
* Sun May 29 2011 Marek Goldmann <mgoldman@redhat.com> 1.1-2
28c908
- Added maven-hawtjni-plugin
28c908
28c908
* Fri May 27 2011 Marek Goldmann <mgoldman@redhat.com> 1.1-1
28c908
- Initial packaging