package init
This commit is contained in:
parent
6a284717c3
commit
2eb9b19e61
2182
0001-Add-pre-generated-Java-classes.patch
Normal file
2182
0001-Add-pre-generated-Java-classes.patch
Normal file
File diff suppressed because it is too large
Load Diff
BIN
1.3.0.Final.tar.gz
Normal file
BIN
1.3.0.Final.tar.gz
Normal file
Binary file not shown.
41
jboss-dmr.spec
Normal file
41
jboss-dmr.spec
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
%global namedreltag .Final
|
||||||
|
%global namedversion %{version}%{?namedreltag}
|
||||||
|
Name: jboss-dmr
|
||||||
|
Version: 1.3.0
|
||||||
|
Release: 1
|
||||||
|
Summary: JBoss DMR
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: https://github.com/jbossas/jboss-dmr
|
||||||
|
Source0: https://github.com/jbossas/jboss-dmr/archive/%{namedversion}.tar.gz
|
||||||
|
Patch0: 0001-Add-pre-generated-Java-classes.patch
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: maven-local mvn(com.google.code.cookcc:cookcc) mvn(jdepend:jdepend)
|
||||||
|
BuildRequires: mvn(junit:junit) mvn(org.jboss.apiviz:apiviz:pom:)
|
||||||
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:) mvn(org.jboss.logmanager:jboss-logmanager)
|
||||||
|
%description
|
||||||
|
This package contains the Dynamic Model Representation.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
%description javadoc
|
||||||
|
This package contains the API documentation for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{namedversion}
|
||||||
|
%patch0 -p1
|
||||||
|
%pom_remove_plugin :apt-maven-plugin
|
||||||
|
%pom_remove_plugin :maven-antrun-plugin
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Aug 14 2020 yaokai <yaokai13@huawei.com> - 1.3.0-1
|
||||||
|
- Package init
|
||||||
4
jboss-dmr.yaml
Normal file
4
jboss-dmr.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: jbossas/jboss-dmr
|
||||||
|
tag_pattern: "(.*?).Final"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user