47 lines
1.3 KiB
RPMSpec
47 lines
1.3 KiB
RPMSpec
%global namedreltag .Final
|
|
%global namedversion %{version}%{?namedreltag}
|
|
Name: jboss-classfilewriter
|
|
Version: 1.2.5
|
|
Release: 1
|
|
Summary: JBoss Class File Writer
|
|
License: Apache-2.0
|
|
URL: https://github.com/jbossas/jboss-classfilewriter
|
|
Source0: https://github.com/jbossas/jboss-classfilewriter/archive/refs/tags/%{namedversion}.tar.gz
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
|
%description
|
|
This package contains JBoss Class File Writer
|
|
|
|
%package help
|
|
Summary: Javadoc for %{name}
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
%description help
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{namedversion}
|
|
cp -p %{SOURCE1} LICENSE
|
|
sed -i 's/\r//' LICENSE
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE
|
|
|
|
%files help -f .mfiles-javadoc
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Thu May 19 2022 Ge Wang <wangge20@h-partners.com> - 1.2.5-1
|
|
- upgrade to version 1.2.5
|
|
|
|
* Mon Aug 24 2020 huanghaitao <huanghaitao8@huawei.com> - 1.1.2-1
|
|
- package init
|