49 lines
1.4 KiB
RPMSpec
49 lines
1.4 KiB
RPMSpec
%global commit_id d5aaf49970fc3e95408f4f9cd1b856fa72be130f
|
|
|
|
Name: plexus-i18n
|
|
Version: 1.0
|
|
Release: 0.12.b10.6
|
|
Summary: Plexus I18N Component
|
|
License: ASL 2.0
|
|
URL: https://github.com/codehaus-plexus/plexus-i18n
|
|
Source0: https://codeload.github.com/codehaus-plexus/plexus-i18n/zip/%{commit_id}
|
|
Patch0001: plexus-i18n-migration-to-component-metadata.patch
|
|
Patch0002: plexus-i18n-plexus-container-default-missing.patch
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local mvn(org.codehaus.plexus:plexus-component-metadata) mvn(org.codehaus.plexus:plexus-utils)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-components:pom:) mvn(org.codehaus.plexus:plexus-container-default)
|
|
|
|
%description
|
|
The Plexus project provides a full software stack for creating and
|
|
executing software projects.
|
|
|
|
%package help
|
|
Summary: Documents for plexus-i18n
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
|
|
%description help
|
|
The plexus-i18n-help package contains related documents.
|
|
|
|
%prep
|
|
unzip %{SOURCE0}
|
|
cd plexus-i18n-%{commit_id}/
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
|
|
%build
|
|
cd plexus-i18n-%{commit_id}/
|
|
%mvn_build
|
|
|
|
%install
|
|
cd plexus-i18n-%{commit_id}/
|
|
%mvn_install
|
|
|
|
%files -f plexus-i18n-%{commit_id}/.mfiles
|
|
|
|
%files help -f plexus-i18n-%{commit_id}/.mfiles-javadoc
|
|
|
|
%changelog
|
|
* Mon Feb 17 2020 Ling Yang <lingyang2@huawei.com> - 1.0-0.12.b10.6
|
|
- Package init
|