Package init
This commit is contained in:
parent
bc7a0aa118
commit
93d3876c0e
58
cbi-plugins.spec
Normal file
58
cbi-plugins.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: cbi-plugins
|
||||
Version: 1.1.5
|
||||
Release: 1
|
||||
Summary: A set of helpers for Eclipse CBI
|
||||
License: EPL-1.0
|
||||
URL: https://git.eclipse.org/c/cbi/org.eclipse.cbi.git/tree/maven-plugins/README.md
|
||||
Source0: https://git.eclipse.org/c/cbi/org.eclipse.cbi.git/snapshot/org.eclipse.cbi-org.eclipse.cbi.maven.plugins_maven-plugin-parent_%{version}.tar.xz
|
||||
BuildRequires: maven-local mvn(com.google.auto.value:auto-value)
|
||||
BuildRequires: mvn(com.google.guava:guava:20.0) mvn(de.pdark:decentxml)
|
||||
BuildRequires: mvn(org.apache.commons:commons-compress)
|
||||
BuildRequires: mvn(org.apache.httpcomponents:httpclient)
|
||||
BuildRequires: mvn(org.apache.httpcomponents:httpmime) mvn(org.apache.maven:maven-core)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||
BuildRequires: mvn(org.eclipse.tycho:tycho-core)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
A set of helpers for Eclipse CBI.
|
||||
|
||||
%package help
|
||||
Summary: Documents for %{name}
|
||||
Provides: %{name}-javadoc = %{version}-%{release}
|
||||
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
This package contails man pages and other related documents for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n org.eclipse.cbi-org.eclipse.cbi.maven.plugins_maven-plugin-parent_%{version}
|
||||
%pom_disable_module eclipse-macsigner-plugin maven-plugins
|
||||
%pom_disable_module eclipse-winsigner-plugin maven-plugins
|
||||
%pom_disable_module eclipse-dmg-packager maven-plugins
|
||||
%pom_disable_module eclipse-flatpak-packager maven-plugins
|
||||
%pom_remove_plugin :findbugs-maven-plugin
|
||||
%pom_remove_plugin :maven-checkstyle-plugin
|
||||
%pom_remove_plugin :maven-enforcer-plugin
|
||||
%pom_change_dep com.google.code.findbugs: com.google.code.findbugs:jsr305 . maven-plugins/eclipse-flatpak-packager
|
||||
sed -i -e '/SuppressFBWarnings/d' maven-plugins/eclipse-flatpak-packager/src/main/java/org/eclipse/cbi/maven/plugins/flatpakager/model/Source.java
|
||||
%pom_xpath_inject pom:modules "<module>../common/</module>" maven-plugins
|
||||
%pom_remove_dep org.eclipse.cbi:checkstyle common
|
||||
sed -i -e 's/1\.0\.5-SNAPSHOT/1.0.4/' pom.xml
|
||||
sed -i -e 's/1\.2\.3-SNAPSHOT/1.2.2/' common/pom.xml
|
||||
|
||||
%build
|
||||
%mvn_build -f -- -f maven-plugins/pom.xml -Dproject.build.sourceEncoding=UTF-8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Wed Aug 12 2020 leiju <leiju4@huawei.com> - 1.1.5-1
|
||||
- Package init
|
||||
4
cbi-plugins.yaml
Normal file
4
cbi-plugins.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://git.eclipse.org/r/cbi/org.eclipse.cbi.git
|
||||
tag_prefix: "org.eclipse.cbi.maven.plugins_maven-plugin-parent_"
|
||||
seperator: "."
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user