%global project felix %global bundle org.apache.felix.shell.tui Name: felix-shell-tui Version: 1.4.1 Release: 1%{?dist} Summary: Apache Felix Shell TUI License: ASL 2.0 URL: http://felix.apache.org/ Source0: http://www.apache.org/dist/felix/%{bundle}-%{version}-project.tar.gz BuildRequires: java-devel BuildRequires: mvn(org.apache.felix:felix-parent) BuildRequires: mvn(org.apache.felix:org.apache.felix.shell) BuildRequires: mvn(org.osgi:org.osgi.core) BuildRequires: maven-local BuildRequires: maven-plugin-bundle BuildRequires: maven-remote-resources-plugin BuildRequires: maven-site-plugin BuildArch: noarch %description A simple textual user interface for Felix' shell service. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{bundle}-%{version} %pom_remove_plugin :rat-maven-plugin sed -i "s|pom.artifactId|project.artifactId|" pom.xml sed -i "s|pom.groupId|project.groupId|" pom.xml %build %mvn_file :%{bundle} %{project}/%{bundle} %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %doc LICENSE NOTICE %files javadoc -f .mfiles-javadoc %doc LICENSE NOTICE %changelog * Thu Oct 31 2013 gil cattaneo 1.4.1-1 - initial rpm