Blame SPECS/hawtjni.spec

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