42 lines
1.0 KiB
RPMSpec
42 lines
1.0 KiB
RPMSpec
Name: yecht
|
|
Version: 1.0
|
|
Release: 1
|
|
Summary: A YAML processor based on Syck
|
|
License: MIT
|
|
URL: http://github.com/jruby/yecht
|
|
Source0: https://github.com/jruby/yecht/archive/yecht-%{version}.zip
|
|
Patch0: disable-jruby-dep.patch
|
|
|
|
BuildRequires: java-devel jpackage-utils maven-local mvn(org.sonatype.oss:oss-parent:pom:)
|
|
Requires: java-headless jpackage-utils
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Yecht is a Syck port, a YAML 1.0 processor for Ruby.
|
|
|
|
%package javadoc
|
|
Summary: Javadocs for %{name}
|
|
Requires: jpackage-utils
|
|
%description javadoc
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -n %{name}-%{name}-%{version}
|
|
%patch0
|
|
find ./ -name '*.jar' -exec rm -f '{}' \;
|
|
find ./ -name '*.class' -exec rm -f '{}' \;
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%changelog
|
|
* Mon Aug 17 2020 maminjie <maminjie1@huawei.com> - 1.0-1
|
|
- package init
|