Blame SPECS/jnr-x86asm.spec

94f986
%{?scl:%scl_package jnr-x86asm}
94f986
%{!?scl:%global pkg_name %{name}}
94f986
%{?java_common_find_provides_and_requires}
94f986
94f986
%global commit_hash 1dead92
94f986
%global tag_hash 2a7fb9b
94f986
94f986
Name:           %{?scl_prefix}jnr-x86asm
94f986
Version:        1.0.2
94f986
Release:        8.2%{?dist}
94f986
Summary:        Pure-java port of asmjit
94f986
94f986
Group:          Development/Libraries
94f986
License:        MIT
94f986
URL:            http://github.com/jnr/%{pkg_name}/
94f986
Source0:        https://github.com/jnr/%{pkg_name}/tarball/%{version}/jnr-%{pkg_name}-%{version}-0-g%{commit_hash}.tar.gz
94f986
Source1:        MANIFEST.MF
94f986
Patch0:         add-manifest.patch
94f986
BuildArch:      noarch
94f986
94f986
94f986
BuildRequires:  %{?scl_prefix_java_common}maven-local
94f986
94f986
%description
94f986
Pure-java port of asmjit (http://code.google.com/p/asmjit/)
94f986
94f986
%package        javadoc
94f986
Summary:        Javadoc for %{pkg_name}
94f986
Group:          Documentation
94f986
94f986
%description    javadoc
94f986
Javadoc for %{pkg_name}.
94f986
94f986
%prep
94f986
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
94f986
%setup -q -n jnr-%{pkg_name}-%{tag_hash}
94f986
%patch0
94f986
cp %{SOURCE1} .
94f986
find ./ -name '*.jar' -delete
94f986
find ./ -name '*.class' -delete
94f986
%{?scl:EOF}
94f986
94f986
94f986
%build
94f986
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
94f986
%mvn_build
94f986
%{?scl:EOF}
94f986
94f986
94f986
%install
94f986
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
94f986
%mvn_install
94f986
%{?scl:EOF}
94f986
94f986
94f986
%files -f .mfiles
94f986
%doc LICENSE README
94f986
%dir %{_javadir}/%{pkg_name}
94f986
%dir %{_mavenpomdir}/%{pkg_name}
94f986
94f986
%files javadoc -f .mfiles-javadoc
94f986
%doc LICENSE
94f986
94f986
%changelog
94f986
* Thu Aug 20 2015 Mat Booth <mat.booth@redhat.com> - 1.0.2-8.2
94f986
- Fix unowned directories
94f986
94f986
* Thu Aug 20 2015 Mat Booth <mat.booth@redhat.com> - 1.0.2-8.1
94f986
- Import latest from Fedora
94f986
94f986
* Mon Jun 22 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-8
94f986
- Add OSGi MANIFEST.MF.
94f986
94f986
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-7
94f986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
94f986
94f986
* Thu Apr 30 2015 Alexander Kurtakov <akurtako@redhat.com> 1.0.2-6
94f986
- Migrate to install with xmvn.
94f986
94f986
* Mon Jun 16 2014 Mat Booth <mat.booth@redhat.com> - 1.0.2-5
94f986
- Fix FTBFS.
94f986
94f986
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-4
94f986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
94f986
94f986
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.0.2-3
94f986
- Use Requires: java-headless rebuild (#1067528)
94f986
94f986
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
94f986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
94f986
94f986
* Tue Feb 05 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.0.2-1
94f986
- Updated to version 1.0.2.
94f986
- Switch from ant to maven.
94f986
94f986
* Tue Oct 09 2012 gil cattaneo <puntogil@libero.it> - 0.1-6
94f986
- add maven pom
94f986
- adapt to current guideline
94f986
94f986
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
94f986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
94f986
94f986
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
94f986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
94f986
94f986
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
94f986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
94f986
94f986
* Mon May 24 2010 Mohammed Morsi <mmorsi@redhat.com> - 0.1-2
94f986
- fixed macros for consistency
94f986
- fixed Source0 url
94f986
- corrected license, now LGPLv3
94f986
- require jpackage-utils in javadocs package
94f986
94f986
* Mon Feb 01 2010 Mohammed Morsi <mmorsi@redhat.com> - 0.1-1
94f986
- Initial package (needed for jaffl, needed for jruby)