Group :: Desenvolvimento/Java
RPM: jboss-annotations-1.2-api
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Development/Java
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-default
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
# %%version is ahead of its definition. Predefining for rpm 4.0 compatibility.
%define version 1.0.2
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-annotations-1.2-api
Version: 1.0.2
Release: alt1_1jpp11
Summary: Common Annotations 1.2 API
License: CDDL or GPLv2 with exceptions
URL: https://github.com/jboss/jboss-annotations-api_spec
Source0: https://github.com/jboss/jboss-annotations-api_spec/archive/jboss-annotations-api_1.2_spec-%{namedversion}.tar.gz
Source1: cddl.txt
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
BuildArch: noarch
Source44: import.info
%description
This package contains Common Annotations 1.2 API.
%package javadoc
Group: Development/Java
Summary: Javadoc for %{name}
BuildArch: noarch
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-%{namedversion}
cp %{SOURCE1} .
%pom_remove_plugin :maven-source-plugin
%build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8
%install
%mvn_install
%files -f .mfiles
%doc README
%doc --no-dereference cddl.txt LICENSE
%files javadoc -f .mfiles-javadoc
%doc --no-dereference cddl.txt LICENSE
%changelog
…
Todas as alterações você pod ver aqui
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-default
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
# %%version is ahead of its definition. Predefining for rpm 4.0 compatibility.
%define version 1.0.2
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-annotations-1.2-api
Version: 1.0.2
Release: alt1_1jpp11
Summary: Common Annotations 1.2 API
License: CDDL or GPLv2 with exceptions
URL: https://github.com/jboss/jboss-annotations-api_spec
Source0: https://github.com/jboss/jboss-annotations-api_spec/archive/jboss-annotations-api_1.2_spec-%{namedversion}.tar.gz
Source1: cddl.txt
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
BuildArch: noarch
Source44: import.info
%description
This package contains Common Annotations 1.2 API.
%package javadoc
Group: Development/Java
Summary: Javadoc for %{name}
BuildArch: noarch
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-%{namedversion}
cp %{SOURCE1} .
%pom_remove_plugin :maven-source-plugin
%build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8
%install
%mvn_install
%files -f .mfiles
%doc README
%doc --no-dereference cddl.txt LICENSE
%files javadoc -f .mfiles-javadoc
%doc --no-dereference cddl.txt LICENSE
%changelog
…
Todas as alterações você pod ver aqui