forked from pool/jnr-x86asm
Accepting request 822578 from home:fstrba:maven
new package OBS-URL: https://build.opensuse.org/request/show/822578 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jnr-x86asm?expand=0&rev=1
This commit is contained in:
commit
52ff046688
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
12
MANIFEST.MF
Normal file
12
MANIFEST.MF
Normal file
@ -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
|
||||||
|
|
23
add-manifest.patch
Normal file
23
add-manifest.patch
Normal file
@ -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 @@
|
||||||
|
<maven.compiler.source>1.5</maven.compiler.source>
|
||||||
|
<maven.compiler.target>1.5</maven.compiler.target>
|
||||||
|
</properties>
|
||||||
|
+
|
||||||
|
+ <build>
|
||||||
|
+ <plugins>
|
||||||
|
+ <plugin>
|
||||||
|
+ <groupId>org.apache.maven.plugins</groupId>
|
||||||
|
+ <artifactId>maven-jar-plugin</artifactId>
|
||||||
|
+ <configuration>
|
||||||
|
+ <archive>
|
||||||
|
+ <manifestFile>MANIFEST.MF</manifestFile>
|
||||||
|
+ </archive>
|
||||||
|
+ </configuration>
|
||||||
|
+ </plugin>
|
||||||
|
+ </plugins>
|
||||||
|
+ </build>
|
||||||
|
+
|
||||||
|
</project>
|
3
jnr-jnr-x86asm-1.0.2-0-g1dead92.tar.gz
Normal file
3
jnr-jnr-x86asm-1.0.2-0-g1dead92.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2846693c3af607b1b89eba23e290f9dfd0668b45755cfa6f0708714d7a0ccdae
|
||||||
|
size 114165
|
4
jnr-x86asm.changes
Normal file
4
jnr-x86asm.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 24 08:47:52 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging of jnr-x86asm 1.0.2
|
73
jnr-x86asm.spec
Normal file
73
jnr-x86asm.spec
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
#
|
||||||
|
# spec file for package jnr-x86asm
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global commit_hash 1dead92
|
||||||
|
%global tag_hash 2a7fb9b
|
||||||
|
Name: jnr-x86asm
|
||||||
|
Version: 1.0.2
|
||||||
|
Release: 0
|
||||||
|
Summary: Pure-java port of asmjit
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
URL: https://github.com/jnr/%{name}/
|
||||||
|
Source0: https://github.com/jnr/%{name}/tarball/%{version}/jnr-%{name}-%{version}-0-g%{commit_hash}.tar.gz
|
||||||
|
Source1: MANIFEST.MF
|
||||||
|
Patch0: add-manifest.patch
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Pure-java port of asmjit (http://code.google.com/p/asmjit/)
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Group: Documentation/HTML
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
Javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n jnr-%{name}-%{tag_hash}
|
||||||
|
%patch0
|
||||||
|
cp %{SOURCE1} .
|
||||||
|
find ./ -name '*.jar' -delete
|
||||||
|
find ./ -name '*.class' -delete
|
||||||
|
|
||||||
|
%pom_xpath_set "pom:project/pom:properties/pom:maven.compiler.source" "1.6"
|
||||||
|
%pom_xpath_set "pom:project/pom:properties/pom:maven.compiler.target" "1.6"
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{mvn_build} -f \
|
||||||
|
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||||
|
-- -Dmaven.compiler.release=6
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license LICENSE
|
||||||
|
%doc README
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user