jboss-classfilewriter/jboss-classfilewriter.spec

47 lines
1.3 KiB
RPMSpec
Raw Normal View History

2020-08-29 15:29:33 +08:00
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-classfilewriter
2022-05-19 11:34:02 +08:00
Version: 1.2.5
2020-08-29 15:29:33 +08:00
Release: 1
Summary: JBoss Class File Writer
2022-05-19 11:34:02 +08:00
License: Apache-2.0
2020-08-29 15:29:33 +08:00
URL: https://github.com/jbossas/jboss-classfilewriter
2022-05-19 11:34:02 +08:00
Source0: https://github.com/jbossas/jboss-classfilewriter/archive/refs/tags/%{namedversion}.tar.gz
2020-08-29 15:29:33 +08:00
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
2022-05-19 11:34:02 +08:00
* Thu May 19 2022 Ge Wang <wangge20@h-partners.com> - 1.2.5-1
- upgrade to version 1.2.5
2020-08-29 15:29:33 +08:00
* Mon Aug 24 2020 huanghaitao <huanghaitao8@huawei.com> - 1.1.2-1
- package init