%global pkg_name sisu-mojos %{?scl:%scl_package %{pkg_name}} %{?maven_find_provides_and_requires} Name: %{?scl_prefix}%{pkg_name} Version: 0.3.1 Release: 2.3%{?dist} Summary: Sisu plugin for Apache Maven License: EPL URL: http://www.eclipse.org/sisu BuildArch: noarch Source0: http://git.eclipse.org/c/sisu/org.eclipse.sisu.mojos.git/snapshot/releases/%{version}.tar.bz2#/%{pkg_name}-%{version}.tar.bz2 BuildRequires: %{?scl_prefix}maven-local BuildRequires: %{?scl_prefix_java_common}mvn(junit:junit) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:maven-common-artifact-filters) BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils) BuildRequires: %{?scl_prefix}mvn(org.eclipse.sisu:org.eclipse.sisu.inject) BuildRequires: %{?scl_prefix_java_common}mvn(org.slf4j:slf4j-nop) BuildRequires: %{?scl_prefix}mvn(org.sonatype.oss:oss-parent:pom:) %description The Sisu Plugin for Maven provides mojos to generate META-INF/sisu/javax.inject.Named index files for the Sisu container. %package javadoc Summary: API documentation for %{pkg_name} %description javadoc This package contains %{summary}. %prep %setup -q -c mv releases/%{version}/* . %{?scl:scl enable %{scl} - <<"EOF"} set -e -x # Animal Sniffer is not useful in Fedora %pom_remove_plugin :animal-sniffer-maven-plugin %mvn_alias : org.sonatype.plugins: %{?scl:EOF} %build %{?scl:scl enable %{scl} - <<"EOF"} set -e -x %mvn_build %{?scl:EOF} %install %{?scl:scl enable %{scl} - <<"EOF"} set -e -x %mvn_install %{?scl:EOF} %files -f .mfiles %dir %{_javadir}/%{pkg_name} %dir %{_mavenpomdir}/%{pkg_name} %doc LICENSE.txt %files javadoc -f .mfiles-javadoc %doc LICENSE.txt %changelog * Thu Apr 14 2016 Michal Srb - 0.3.1-2.3 - Fix directory ownership (Resolves: rhbz#1325866) * Mon Feb 08 2016 Michal Srb - 0.3.1-2.2 - Fix BR on maven-local & co. * Tue Jan 12 2016 Mikolaj Izdebski - 0.3.1-2.1 - SCL-ize package * Fri Jun 19 2015 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon May 18 2015 Mikolaj Izdebski - 0.3.1-1 - Update to upstream version 0.3.1 * Mon Mar 30 2015 Michael Simacek - 0.1.0-4 - Fix parent POM BR * Sun Jun 08 2014 Fedora Release Engineering - 0.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Nov 14 2013 Mikolaj Izdebski - 0.1.0-2 - Obsolete sisu-maven-plugin * Wed Nov 13 2013 Mikolaj Izdebski - 0.1.0-1 - Update to upstream version 0.1.0 * Mon Sep 23 2013 Mikolaj Izdebski - 0.0.0-0.1.M5 - Initial packaging. - Fix unowned directory