commit
f8f8a91152
BIN
protoparser-3.1.5.tar.gz
Normal file
BIN
protoparser-3.1.5.tar.gz
Normal file
Binary file not shown.
48
protoparser.spec
Normal file
48
protoparser.spec
Normal file
@ -0,0 +1,48 @@
|
||||
Name: protoparser
|
||||
Version: 3.1.5
|
||||
Release: 6
|
||||
Summary: A parser for .proto schema declarations to java
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/square/protoparser
|
||||
Source0: https://github.com/square/protoparser/archive/%{name}-%{version}.tar.gz
|
||||
BuildRequires: maven-local mvn(com.google.auto.value:auto-value) mvn(junit:junit)
|
||||
BuildRequires: mvn(org.assertj:assertj-core) mvn(org.sonatype.oss:oss-parent:pom:)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
ProtoParser will directly parse independent File or Schema data, then
|
||||
returns the object representation as a ProtoFile instance.
|
||||
|
||||
%package help
|
||||
Summary: Help documents for protoparser packages
|
||||
Provides: %{name}-javadoc = %{version}-%{release}
|
||||
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
Help documents for protoparser packages.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{name}-%{version} -p1
|
||||
|
||||
%pom_remove_plugin :maven-checkstyle-plugin
|
||||
|
||||
%pom_change_dep org.easytesting:fest-assert-core org.assertj:assertj-core:2.0.0
|
||||
find ./ -name "*.java" -exec sed -i "s/org.fest.assertions/org.assertj.core/g" {} +
|
||||
|
||||
%mvn_file : protoparser
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE.txt
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
%doc CHANGELOG.md CONTRIBUTING.md README.md
|
||||
|
||||
%changelog
|
||||
* Fri Dec 20 2019 wutao <wutao61@huawei.com> - 3.1.5-6
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user