代码拉取完成,页面将自动刷新
Name: cpptasks
Version: 1.0b5
Release: 1
Summary: Compile and link task for ant
License: ASL 2.0
URL: http://ant-contrib.sourceforge.net/
Source0: http://downloads.sourceforge.net/ant-contrib/cpptasks-1.0b5.tar.gz
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.ant:ant) mvn(xerces:xercesImpl)
BuildArch: noarch
%description
This ant task can compile various source languages and produce
executables, shared libraries (aka DLL's) and static libraries. Compiler
adaptors are currently available for several C/C++ compilers, FORTRAN,
MIDL and Windows Resource files.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
Javadoc documentation for %{summary}.
%prep
%setup -q
find . -name "*.jar" -exec rm -f {} \;
find . -name "*.class" -exec rm -f {} \;
sed -i 's/\r//' NOTICE
%pom_remove_plugin :maven-compiler-plugin
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-assembly-plugin
%pom_change_dep ant:ant org.apache.ant:ant
%pom_remove_dep ant:ant-nodeps
%pom_remove_dep ant:ant-trax
%mvn_file :%{name} ant/%{name}
%build
%mvn_build
%install
%mvn_install
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ant.d/
echo "ant/%{name}" > $RPM_BUILD_ROOT/%{_sysconfdir}/ant.d/%{name}
%files -f .mfiles
%license LICENSE NOTICE
%doc
%{_sysconfdir}/ant.d/%{name}
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog
* Mon Aug 3 2020 chengzihan <chengzihan2@huawei.com> - 1.0b5-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。