44 lines
1.3 KiB
RPMSpec
44 lines
1.3 KiB
RPMSpec
Name: jatl
|
|
Version: 0.2.2
|
|
Release: 15
|
|
Summary: Java Anti-Template Language
|
|
License: ASL 2.0
|
|
URL: https://github.com/chris-martin/jatl
|
|
Source0: https://github.com/chris-martin/jatl/archive/%{name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: maven-local, mvn(commons-lang:commons-lang), mvn(junit:junit), mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin), mvn(org.sonatype.oss:oss-parent:pom:)
|
|
Requires: mvn(commons-lang:commons-lang)
|
|
Provides: %{name}-javadoc%{?_isa} %{name}-javadoc
|
|
Obsoletes: %{name}-javadoc
|
|
|
|
%description
|
|
This module is extremely lightweight efficient Java library to generate XHTML or XML
|
|
in a micro DSL builder/fluent style.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{name}-%{version} -p1
|
|
|
|
%pom_xpath_remove "pom:build/pom:extensions"
|
|
%pom_remove_plugin :maven-license-plugin
|
|
%pom_remove_plugin :maven-source-plugin
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
|
%pom_remove_plugin com.googlecode.maven-gcu-plugin:maven-gcu-plugin
|
|
|
|
%mvn_file :%{name} %{name}
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license COPYING
|
|
%{_javadocdir}/%{name}/*
|
|
|
|
%changelog
|
|
* Fri Dec 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.2.2-15
|
|
- Package init
|