Group :: Development/Java
RPM: codehaus-parent
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Epoch: 0
Group: Development/Java
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-default
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: codehaus-parent
Version: 4
Release: alt4_21jpp11
Summary: Parent pom file for codehaus projects
License: ASL 2.0
URL: http://codehaus.org/
BuildArch: noarch
#Next version with license is at https://github.com/sonatype/codehaus-parent/blob/master/pom.xml
Source0: http://repo1.maven.org/maven2/org/codehaus/codehaus-parent/%{version}/codehaus-parent-%{version}.pom
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
Patch0: %{name}-enforcer.patch
BuildRequires: maven-local
Source44: import.info
%description
This package contains the parent pom file for codehaus projects.
%prep
%setup -q -c -T
cp -p %{SOURCE0} pom.xml
cp -p %{SOURCE1} LICENSE
%patch0
%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 LICENSE
%changelog
…
Full changelog you can see here
Group: Development/Java
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-default
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: codehaus-parent
Version: 4
Release: alt4_21jpp11
Summary: Parent pom file for codehaus projects
License: ASL 2.0
URL: http://codehaus.org/
BuildArch: noarch
#Next version with license is at https://github.com/sonatype/codehaus-parent/blob/master/pom.xml
Source0: http://repo1.maven.org/maven2/org/codehaus/codehaus-parent/%{version}/codehaus-parent-%{version}.pom
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
Patch0: %{name}-enforcer.patch
BuildRequires: maven-local
Source44: import.info
%description
This package contains the parent pom file for codehaus projects.
%prep
%setup -q -c -T
cp -p %{SOURCE0} pom.xml
cp -p %{SOURCE1} LICENSE
%patch0
%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 LICENSE
%changelog
…
Full changelog you can see here