20722f
# Release type, either "milestone" or "release"
20722f
%global reltype release
20722f
#global reltag .M1
20722f
20722f
Name:           sisu
20722f
Epoch:          1
20722f
Version:        0.3.3
20722f
Release:        6%{?dist}
20722f
Summary:        Eclipse dependency injection framework
20722f
# sisu is EPL-1.0
20722f
# bundled asm is BSD
20722f
License:        EPL-1.0 and BSD
20722f
URL:            http://eclipse.org/sisu
20722f
20722f
Source0:        http://git.eclipse.org/c/%{name}/org.eclipse.%{name}.inject.git/snapshot/%{reltype}s/%{version}%{?reltag}.tar.bz2#/org.eclipse.%{name}.inject-%{version}%{?reltag}.tar.bz2
20722f
Source1:        http://git.eclipse.org/c/%{name}/org.eclipse.%{name}.plexus.git/snapshot/%{reltype}s/%{version}%{?reltag}.tar.bz2#/org.eclipse.%{name}.plexus-%{version}%{?reltag}.tar.bz2
20722f
20722f
Source100:      %{name}-parent.pom
20722f
Source101:      %{name}-inject.pom
20722f
Source102:      %{name}-plexus.pom
20722f
20722f
Patch0:         %{name}-OSGi-import-guava.patch
20722f
Patch2:         %{name}-ignored-tests.patch
20722f
Patch3:         %{name}-osgi-api.patch
20722f
20722f
BuildArch:      noarch
20722f
20722f
BuildRequires:  maven-local
20722f
BuildRequires:  mvn(com.google.inject.extensions:guice-servlet)
20722f
BuildRequires:  mvn(com.google.inject:guice::no_aop:)
20722f
BuildRequires:  mvn(javax.annotation:javax.annotation-api)
20722f
BuildRequires:  mvn(javax.enterprise:cdi-api)
20722f
BuildRequires:  mvn(javax.inject:javax.inject)
20722f
BuildRequires:  mvn(javax.servlet:servlet-api)
20722f
BuildRequires:  mvn(junit:junit)
20722f
BuildRequires:  mvn(org.codehaus.plexus:plexus-classworlds)
20722f
BuildRequires:  mvn(org.codehaus.plexus:plexus-component-annotations)
20722f
BuildRequires:  mvn(org.codehaus.plexus:plexus-utils)
20722f
BuildRequires:  mvn(org.osgi:osgi.core)
20722f
BuildRequires:  mvn(org.slf4j:slf4j-api)
20722f
BuildRequires:  mvn(org.testng:testng)
20722f
20722f
Provides:       bundled(objectweb-asm)
20722f
20722f
20722f
%description
20722f
Java dependency injection framework with backward support for plexus and bean
20722f
style dependency injection.
20722f
20722f
%package        inject
20722f
Summary:        Sisu inject
20722f
Obsoletes:      %{name}-tests < 1:0.3.2-5
20722f
20722f
%description    inject
20722f
This package contains %{summary}.
20722f
20722f
%package        plexus
20722f
Summary:        Sisu Plexus
20722f
20722f
%description    plexus
20722f
This package contains %{summary}.
20722f
20722f
%package        javadoc
20722f
Summary:        API documentation for Sisu
20722f
20722f
%description    javadoc
20722f
This package contains %{summary}.
20722f
20722f
%prep
20722f
%setup -q -c -T
20722f
tar xf %{SOURCE0} && mv %{reltype}s/* sisu-inject && rmdir %{reltype}s
20722f
tar xf %{SOURCE1} && mv %{reltype}s/* sisu-plexus && rmdir %{reltype}s
20722f
20722f
cp %{SOURCE100} pom.xml
20722f
cp %{SOURCE101} sisu-inject/pom.xml
20722f
cp %{SOURCE102} sisu-plexus/pom.xml
20722f
20722f
%patch0
20722f
%patch2
20722f
%patch3
20722f
20722f
%pom_xpath_set -r /pom:project/pom:version %{version}
20722f
20722f
%mvn_file ":{*}" @1
20722f
%mvn_package ":*{inject,plexus}" @1
20722f
%mvn_package : __noinstall
20722f
%mvn_alias :org.eclipse.sisu.plexus org.sonatype.sisu:sisu-inject-plexus
20722f
20722f
%build
20722f
%mvn_build
20722f
20722f
%install
20722f
%mvn_install
20722f
20722f
%files inject -f .mfiles-inject
20722f
%doc sisu-inject/LICENSE.txt
20722f
20722f
%files plexus -f .mfiles-plexus
20722f
20722f
%files javadoc -f .mfiles-javadoc
20722f
%doc sisu-inject/LICENSE.txt
20722f
20722f
20722f
%changelog
20722f
* Tue Jul 24 2018 Michael Simacek <msimacek@redhat.com> - 1:0.3.3-6
20722f
- Declare bundled objectweb-asm
20722f
- Fix license tag to include BSD for asm
20722f
20722f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.3-5
20722f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
20722f
20722f
* Mon Jul  2 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.3-4
20722f
- Update license tag
20722f
20722f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.3-3
20722f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
20722f
20722f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.3-2
20722f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
20722f
20722f
* Tue Apr 11 2017 Michael Simacek <msimacek@redhat.com> - 1:0.3.3-1
20722f
- Update to upstream version 0.3.3
20722f
20722f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-7
20722f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
20722f
20722f
* Sun Jan 29 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.2-6
20722f
- Restore alias for org.sonatype.sisu:sisu-inject-plexus
20722f
20722f
* Sun Jan 29 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.2-5
20722f
- Build without Tycho
20722f
- Remove sisu-tests subpackage
20722f
- Drop old obsoletes
20722f
20722f
* Mon Feb 22 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.2-4
20722f
- Add alias for org.sonatype.sisu:sisu-inject-plexus
20722f
20722f
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-3
20722f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
20722f
20722f
* Thu Jan  7 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.2-2
20722f
- Remove unneeded patch
20722f
20722f
* Wed Sep 16 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.2-1
20722f
- Update to upstream version 0.3.2
20722f
20722f
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.1-2
20722f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
20722f
20722f
* Mon May 18 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.1-1
20722f
- Update to upstream version 0.3.1
20722f
20722f
* Thu Apr 23 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.0-2
20722f
- Install test artifacts
20722f
20722f
* Mon Feb 23 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.0-1
20722f
- Update to upstream version 0.3.0
20722f
20722f
* Wed Feb 18 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.0-0.2.M1
20722f
- Unbundle ASM
20722f
- Resolves: rhbz#1085903
20722f
20722f
* Wed Feb  4 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.3.0-0.1.M1
20722f
- Update to upstream milestone 0.3.0.M1
20722f
20722f
* Tue Sep 30 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.2.1-10
20722f
- Port to plexus-utils 3.0.18
20722f
20722f
* Thu Sep 18 2014 Michal Srb <msrb@redhat.com> - 1:0.2.1-9
20722f
- Rebuild to fix metadata
20722f
- Remove explicit Requires
20722f
20722f
* Fri Sep 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.2.1-8
20722f
- Update to latest XMvn version
20722f
- Enable tests
20722f
20722f
* Mon Aug  4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.2.1-7
20722f
- Fix build-requires on sonatype-oss-parent
20722f
20722f
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.1-6
20722f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
20722f
20722f
* Fri May 30 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.2.1-5
20722f
- Install JARs and POMs only
20722f
20722f
* Thu May 29 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.2.1-4
20722f
- Build with XMvn 2.0.0
20722f
20722f
* Wed May 07 2014 Michael Simacek <msimacek@redhat.com> - 1:0.2.1-3
20722f
- Build with Java 8
20722f
20722f
* Wed Apr 23 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.2.1-2
20722f
- Import guava in OSGi manifest
20722f
20722f
* Tue Apr 22 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.2.1-1
20722f
- Update to upstream version 0.2.1
20722f
- Remove patch for Eclipse bug 429369
20722f
20722f
* Wed Apr 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.2.0-5
20722f
- Update upstream patch for bug 429369
20722f
- Force usage of Java 1.7
20722f
20722f
* Mon Mar  3 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.2.0-4
20722f
- Revert upstream feature which introduced a regression
20722f
- Resolves: rhbz#1070915
20722f
20722f
* Thu Feb 20 2014 Michal Srb <msrb@redhat.com> - 1:0.2.0-3
20722f
- Remove R on cdi-api
20722f
20722f
* Thu Feb 20 2014 Michal Srb <msrb@redhat.com> - 1:0.2.0-2
20722f
- Update BR/R for version 0.2.0
20722f
- Enable tests
20722f
20722f
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.2.0-1
20722f
- Update to upstream version 0.2.0
20722f
20722f
* Wed Dec  4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.1.1-1
20722f
- Update to upstream version 0.1.1
20722f
20722f
* Wed Nov 13 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.1.0-1
20722f
- Update to upstream version 0.1.0
20722f
20722f
* Wed Oct 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.0.0-0.7.M5
20722f
- Rebuild to regenerate broken POMs
20722f
- Related: rhbz#1021484
20722f
20722f
* Fri Oct 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.0.0-0.6.M5
20722f
- Don't inject pom.properties
20722f
20722f
* Wed Sep 25 2013 Michal Srb <msrb@redhat.com> - 1:0.0.0-0.5.M5
20722f
- Update to upstream version 0.0.0.M5
20722f
- Install EPL license file
20722f
- Inject pom.properties
20722f
- Regenerate BR
20722f
- Add R
20722f
20722f
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.0.0-0.4.M4
20722f
- Update to XMvn 1.0.0
20722f
20722f
* Tue Aug 13 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.0.0-0.3.M4
20722f
- Obsolete sisu main package, resolves: rhbz#996288
20722f
20722f
* Tue Jul 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.0.0-0.2.M4
20722f
- Remove unneeded provides and compat symlinks
20722f
20722f
* Mon Jul 22 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.0.0-0.1.M4
20722f
- Update to upstream version 0.0.0.M4
20722f
20722f
* Wed Mar 27 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.3.0-8
20722f
- Remove unneeded animal-sniffer BuildRequires
20722f
- Add forge-parent to BuildRequires to ensure it's present
20722f
20722f
* Thu Mar 14 2013 Michal Srb <msrb@redhat.com> - 2.3.0-7
20722f
- sisu-inject-bean: add dependency on asm
20722f
- Fix dependencies on javax.inject and javax.enterprise.inject
20722f
- Remove bundled JARs and .class files from tarball
20722f
20722f
* Thu Feb  7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.0-6
20722f
- Add ASM dependency only to a single module, not all of them
20722f
- Disable animal-sniffer plugin
20722f
- Don't generate auto-requires for optional dependencies
20722f
20722f
* Wed Feb 06 2013 Tomas Radej <tradej@redhat.com> - 2.3.0-5
20722f
- Added BR on animal-sniffer
20722f
20722f
* Tue Feb 05 2013 Tomas Radej <tradej@redhat.com> - 2.3.0-4
20722f
- Split into subpackages
20722f
- Build with new macros
20722f
- Unbundled objectweb-asm
20722f
20722f
* Wed Dec  5 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.0-3
20722f
- Fix OSGi __requires_exclude
20722f
20722f
* Wed Dec  5 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.0-2
20722f
- Disable OSGi auto-requires: org.sonatype.sisu.guava
20722f
20722f
* Mon Dec  3 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.0-1
20722f
- Update to upstream version 2.3.0
20722f
20722f
* Tue Jul 24 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.3-6
20722f
- Convert patches to POM macros
20722f
20722f
* Mon Jul 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.3-5
20722f
- Fix license tag
20722f
20722f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-4
20722f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
20722f
20722f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-3
20722f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
20722f
20722f
* Fri Aug 19 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2.3-2
20722f
- Add backward compatible package path for lifecycles
20722f
- Remove temporary BRs/Rs
20722f
20722f
* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2.3-1
20722f
- Update to latest upstream 2.2.3 (#683795)
20722f
- Add forge-parent to Requires
20722f
- Rework spec to be more simple, update patches
20722f
20722f
* Tue Mar  1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1.1-2
20722f
- Add atinject into poms as dependency
20722f
20722f
* Mon Feb 28 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1.1-1
20722f
- Update to 2.1.1
20722f
- Update patch
20722f
- Disable guice-eclipse for now
20722f
20722f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3.2-2
20722f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
20722f
20722f
* Wed Feb  2 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.3.2-1
20722f
- Update to latest upstream version
20722f
- Versionless jars & javadocs
20722f
20722f
* Mon Oct 18 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.2-2
20722f
- Add felix-framework BR
20722f
20722f
* Thu Oct 14 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.2-1
20722f
- Initial version of the package