4186ae3
Name:           jnr-constants
1a54795
Version:        0.9.9
fe59227
Release:        2%{?dist}
4186ae3
Summary:        Java Native Runtime constants 
a963807
License:        ASL 2.0
1a54795
URL:            https://github.com/jnr/%{name}/
677db0b
Source0:        https://github.com/jnr/%{name}/archive/%{name}-%{version}.tar.gz
53a706b
4186ae3
BuildArch:      noarch
4186ae3
a963807
BuildRequires:  maven-local
88a99b5
BuildRequires:  mvn(junit:junit)
b41a856
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
88a99b5
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
88a99b5
BuildRequires:  mvn(org.sonatype.oss:oss-parent:pom:)
a963807
4186ae3
%description
4186ae3
Provides java values for common platform C constants (e.g. errno).
4186ae3
a963807
%package javadoc
a963807
Summary:        Javadocs for %{name}
a963807
a963807
%description javadoc
a963807
This package contains the API documentation for %{name}.
a963807
4186ae3
%prep
677db0b
%setup -q -n %{name}-%{name}-%{version}
0293d48
find ./ -name '*.jar' -delete
0293d48
find ./ -name '*.class' -delete
82a9585
%mvn_file : %{name}/%{name} %{name} constantine
4186ae3
1a54795
# Unnecessary for RPM builds
1a54795
%pom_remove_plugin ":maven-javadoc-plugin"
1a54795
4186ae3
%build
e76fc7e
%mvn_build
4186ae3
4186ae3
%install
19e504f
%mvn_install
4186ae3
e76fc7e
%files -f .mfiles
4186ae3
%doc LICENSE
a963807
19e504f
%files javadoc -f .mfiles-javadoc
a963807
%doc LICENSE
4186ae3
4186ae3
%changelog
fe59227
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9-2
fe59227
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fe59227
1a54795
* Fri Jun 30 2017 Mat Booth <mat.booth@redhat.com> - 0.9.9-1
1a54795
- Update to latest release and fix FTBFS
1a54795
699faf3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-2
699faf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
699faf3
25dd82c
* Mon Dec 19 2016 Alexander Kurtakov <akurtako@redhat.com> 0.9.6-1
25dd82c
- Update to upstream 0.9.6.
25dd82c
b41a856
* Fri Dec 16 2016 Merlin Mathesius <mmathesi@redhat.com> - 0.9.2-2
b41a856
- Add missing BuildRequires to fix FTBFS (BZ#1405569).
b41a856
fe21ded
* Thu May 19 2016 Alexander Kurtakov <akurtako@redhat.com> 0.9.2-1
fe21ded
- Update to upstream 0.9.2 release.
fe21ded
677db0b
* Mon Apr 18 2016 Alexander Kurtakov <akurtako@redhat.com> 0.9.1-1
677db0b
- Update to upstream 0.9.1 with osgification.
677db0b
beb6bdb
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2
beb6bdb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
beb6bdb
007c5d9
* Wed Sep 16 2015 Alexander Kurtakov <akurtako@redhat.com> 0.9.0-1
007c5d9
- Update to upstream 0.9.0.
007c5d9
53a706b
* Thu Jun 18 2015 Jeff Johnston <jjohnstn@redhat.com> 0.8.8-2
53a706b
- Add MANIFEST.MF.
53a706b
88a99b5
* Tue Jun 16 2015 Alexander Kurtakov <akurtako@redhat.com> 0.8.8-1
88a99b5
- Update to upstream 0.8.8.
88a99b5
- Switch to mvn() style BRs.
88a99b5
82a9585
* Mon May 11 2015 Michal Srb <msrb@redhat.com> - 0.8.7-2
82a9585
- Restore symlinks for backward compatibility
82a9585
e7b1da8
* Tue May 5 2015 Alexander Kurtakov <akurtako@redhat.com> 0.8.7-1
e7b1da8
- Update to upstream 0.8.7.
e7b1da8
19e504f
* Thu Apr 30 2015 Alexander Kurtakov <akurtako@redhat.com> 0.8.6-1
19e504f
- Update to upstream 0.8.6.
19e504f
- Start using mvn_install.
19e504f
e76fc7e
* Thu Jun 12 2014 Alexander Kurtakov <akurtako@redhat.com> 0.8.4-6
e76fc7e
- Fix FTBFS.
e76fc7e
5dc76b5
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.4-5
5dc76b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5dc76b5
2e6bfb2
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 0.8.4-4
2e6bfb2
- Use Requires: java-headless rebuild (#1067528)
2e6bfb2
4eb066f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.4-3
4eb066f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4eb066f
9f7c4da
* Fri Feb 15 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8.4-2
9f7c4da
- Provide a constantine.jar simlink for gradle.
9f7c4da
a963807
* Tue Feb 05 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8.4-1
a963807
- Updated to version 0.8.4.
a963807
- Switch from ant to maven.
a963807
0293d48
* Tue Oct 09 2012 gil cattaneo <puntogil@libero.it> 0.7-6
0293d48
- add maven pom
0293d48
- adapt to current guideline
0293d48
16329de
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-5
16329de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
16329de
8baf9de
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4
8baf9de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8baf9de
ca9a5ec
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-3
ca9a5ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ca9a5ec
4186ae3
* Mon Aug 02 2010 Mohammed Morsi <mmorsi@redhat.com> - 0.7-2
4186ae3
- Fixed incorrect Source0 url
4186ae3
4186ae3
* Fri Jan 22 2010 Mohammed Morsi <mmorsi@redhat.com> - 0.7-1
4186ae3
- Unorphaned / updated package
4186ae3
4186ae3
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
4186ae3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4186ae3
4186ae3
* Sat Dec 6 2008 Conrad Meyer <konrad@tylerc.org> - 0.4-2
4186ae3
- Include LICENSE in rpm.
4186ae3
4186ae3
* Fri Nov 28 2008 Conrad Meyer <konrad@tylerc.org> - 0.4-1
4186ae3
- Include symlink from non-versioned jar to versioned jar.
4186ae3
- Bump to 0.4.
4186ae3
4186ae3
* Fri Nov 28 2008 Conrad Meyer <konrad@tylerc.org> - 0.1-1
4186ae3
- Initial package (needed for jruby 1.1.5).