From 94f9863bd2f04b3f6c944cb1906cca5e1c0d8b77 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 16 2015 14:46:52 +0000 Subject: import devtoolset-4-jnr-x86asm-1.0.2-8.2.el7 --- diff --git a/.devtoolset-4-jnr-x86asm.metadata b/.devtoolset-4-jnr-x86asm.metadata new file mode 100644 index 0000000..132e3f9 --- /dev/null +++ b/.devtoolset-4-jnr-x86asm.metadata @@ -0,0 +1 @@ +9ff7c08f22895d9e0ba456aaabc5b1dc64da6a6d SOURCES/jnr-jnr-x86asm-1.0.2-0-g1dead92.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0f10795 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jnr-jnr-x86asm-1.0.2-0-g1dead92.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/MANIFEST.MF b/SOURCES/MANIFEST.MF new file mode 100644 index 0000000..66abf45 --- /dev/null +++ b/SOURCES/MANIFEST.MF @@ -0,0 +1,12 @@ +Manifest-Version: 1.0 +Bundle-SymbolicName: jnr.x86asm +Export-Package: com.kenai.jnr.x86asm;version="1.0.2",jnr.x86asm;versio + n="1.0.2" +Bundle-Name: Pure Java x86 And x86_64 Assembler +Bundle-Version: 1.0.2 +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-Vendor: Eclipse Orbit + diff --git a/SOURCES/add-manifest.patch b/SOURCES/add-manifest.patch new file mode 100644 index 0000000..b320b67 --- /dev/null +++ b/SOURCES/add-manifest.patch @@ -0,0 +1,23 @@ +diff -up ./pom.xml.fix ./pom.xml +--- ./pom.xml.fix 2015-06-22 15:44:35.991442997 -0400 ++++ ./pom.xml 2015-06-22 15:45:44.215610804 -0400 +@@ -50,4 +50,19 @@ + 1.5 + 1.5 + ++ ++ ++ ++ ++ org.apache.maven.plugins ++ maven-jar-plugin ++ ++ ++ MANIFEST.MF ++ ++ ++ ++ ++ ++ + diff --git a/SPECS/jnr-x86asm.spec b/SPECS/jnr-x86asm.spec new file mode 100644 index 0000000..46073db --- /dev/null +++ b/SPECS/jnr-x86asm.spec @@ -0,0 +1,116 @@ +%{?scl:%scl_package jnr-x86asm} +%{!?scl:%global pkg_name %{name}} +%{?java_common_find_provides_and_requires} + +%global commit_hash 1dead92 +%global tag_hash 2a7fb9b + +Name: %{?scl_prefix}jnr-x86asm +Version: 1.0.2 +Release: 8.2%{?dist} +Summary: Pure-java port of asmjit + +Group: Development/Libraries +License: MIT +URL: http://github.com/jnr/%{pkg_name}/ +Source0: https://github.com/jnr/%{pkg_name}/tarball/%{version}/jnr-%{pkg_name}-%{version}-0-g%{commit_hash}.tar.gz +Source1: MANIFEST.MF +Patch0: add-manifest.patch +BuildArch: noarch + + +BuildRequires: %{?scl_prefix_java_common}maven-local + +%description +Pure-java port of asmjit (http://code.google.com/p/asmjit/) + +%package javadoc +Summary: Javadoc for %{pkg_name} +Group: Documentation + +%description javadoc +Javadoc for %{pkg_name}. + +%prep +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%setup -q -n jnr-%{pkg_name}-%{tag_hash} +%patch0 +cp %{SOURCE1} . +find ./ -name '*.jar' -delete +find ./ -name '*.class' -delete +%{?scl:EOF} + + +%build +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%mvn_build +%{?scl:EOF} + + +%install +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%mvn_install +%{?scl:EOF} + + +%files -f .mfiles +%doc LICENSE README +%dir %{_javadir}/%{pkg_name} +%dir %{_mavenpomdir}/%{pkg_name} + +%files javadoc -f .mfiles-javadoc +%doc LICENSE + +%changelog +* Thu Aug 20 2015 Mat Booth - 1.0.2-8.2 +- Fix unowned directories + +* Thu Aug 20 2015 Mat Booth - 1.0.2-8.1 +- Import latest from Fedora + +* Mon Jun 22 2015 Fedora Release Engineering - 1.0.2-8 +- Add OSGi MANIFEST.MF. + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Apr 30 2015 Alexander Kurtakov 1.0.2-6 +- Migrate to install with xmvn. + +* Mon Jun 16 2014 Mat Booth - 1.0.2-5 +- Fix FTBFS. + +* Sun Jun 08 2014 Fedora Release Engineering - 1.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 28 2014 Michael Simacek - 1.0.2-3 +- Use Requires: java-headless rebuild (#1067528) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Feb 05 2013 Bohuslav Kabrda - 1.0.2-1 +- Updated to version 1.0.2. +- Switch from ant to maven. + +* Tue Oct 09 2012 gil cattaneo - 0.1-6 +- add maven pom +- adapt to current guideline + +* Thu Jul 19 2012 Fedora Release Engineering - 0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon May 24 2010 Mohammed Morsi - 0.1-2 +- fixed macros for consistency +- fixed Source0 url +- corrected license, now LGPLv3 +- require jpackage-utils in javadocs package + +* Mon Feb 01 2010 Mohammed Morsi - 0.1-1 +- Initial package (needed for jaffl, needed for jruby)