Package init
This commit is contained in:
parent
9dc213e3c9
commit
68850ecff5
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>
|
||||||
BIN
jnr-x86asm-1.0.2.tar.gz
Normal file
BIN
jnr-x86asm-1.0.2.tar.gz
Normal file
Binary file not shown.
44
jnr-x86asm.spec
Normal file
44
jnr-x86asm.spec
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
Name: jnr-x86asm
|
||||||
|
Version: 1.0.2
|
||||||
|
Release: 1
|
||||||
|
Summary: Pure-java port of asmjit
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/jnr/jnr-x86asm/
|
||||||
|
Source0: https://github.com/jnr/jnr-x86asm/archive/jnr-x86asm-%{version}.tar.gz
|
||||||
|
Source1: MANIFEST.MF
|
||||||
|
Patch0: add-manifest.patch
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
%description
|
||||||
|
Pure-java port of asmjit (http://code.google.com/p/asmjit/)
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Provides: %{name}-javadoc = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||||
|
%description help
|
||||||
|
Javadoc for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0
|
||||||
|
cp %{SOURCE1} .
|
||||||
|
find ./ -name '*.jar' -delete
|
||||||
|
find ./ -name '*.class' -delete
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license LICENSE
|
||||||
|
%doc README
|
||||||
|
|
||||||
|
%files help -f .mfiles-javadoc
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Aug 22 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.0.2-1
|
||||||
|
- package init
|
||||||
4
jnr-x86asm.yaml
Normal file
4
jnr-x86asm.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: jnr/jnr-x86asm
|
||||||
|
tag_prefix: ""
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user