Package init
This commit is contained in:
parent
a92cf3ef76
commit
814e307a1b
BIN
ws-commons-util-1.0.2.tar.xz
Normal file
BIN
ws-commons-util-1.0.2.tar.xz
Normal file
Binary file not shown.
64
ws-commons-util.spec
Normal file
64
ws-commons-util.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Name: ws-commons-util
|
||||
Version: 1.0.2
|
||||
Release: 1
|
||||
Summary: Common utilities from the Apache Web Services Project
|
||||
License: ASL 2.0
|
||||
URL: http://ws.apache.org/commons/util
|
||||
# svn checkout http://svn.apache.org/repos/asf/webservices/commons/tags/util/1.0.2/ ws-commons-util-1.0.2
|
||||
# tar cJf ws-commons-util-1.0.2.tar.xz ws-commons-util-1.0.2
|
||||
Source0: ws-commons-util-1.0.2.tar.xz
|
||||
BuildArch: noarch
|
||||
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
|
||||
|
||||
%description
|
||||
This is version 1.0.2 of the common utilities from the Apache Web
|
||||
Services Project.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
|
||||
%description javadoc
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%mvn_file : %{name}
|
||||
%mvn_alias org.apache.ws.commons:ws-commons-util org.apache.ws.commons.util:ws-commons-util
|
||||
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>"
|
||||
%pom_add_plugin org.apache.felix:maven-bundle-plugin . '
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Bundle-SymbolicName>org.apache.ws.commons.util</Bundle-SymbolicName>
|
||||
<Bundle-Name>${project.name}</Bundle-Name>
|
||||
<Bundle-Localization>plugin</Bundle-Localization>
|
||||
<Bundle-Version>${project.version}</Bundle-Version>
|
||||
</instructions>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bundle-manifest</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>manifest</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>'
|
||||
%pom_remove_dep "xml-apis:xml-apis"
|
||||
%pom_xpath_inject 'pom:dependency[pom:artifactId="junit"]' "<scope>test</scope>"
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE.txt
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Wed Aug 12 2020 leiju <leiju4@huawei.com> - 1.0.2-1
|
||||
- Package init
|
||||
4
ws-commons-util.yaml
Normal file
4
ws-commons-util.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: svn
|
||||
src_repo: http://svn.apache.org/repos/asf/webservices/commons
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user