aab346
%bcond_with bootstrap
aab346
aab346
Name:           atinject
aab346
Version:        1.0.5
aab346
Release:        4%{?dist}
aab346
Summary:        Dependency injection specification for Java (JSR-330)
aab346
License:        ASL 2.0
aab346
URL:            https://github.com/eclipse-ee4j/injection-api
aab346
BuildArch:      noarch
aab346
ExclusiveArch:  %{java_arches} noarch
aab346
aab346
Source0:        https://github.com/eclipse-ee4j/injection-api/archive/%{version}.tar.gz
aab346
aab346
%if %{with bootstrap}
aab346
BuildRequires:  javapackages-bootstrap
aab346
%else
aab346
BuildRequires:  maven-local
aab346
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
aab346
%endif
aab346
aab346
%description
aab346
This package specifies a means for obtaining objects in such a way as
aab346
to maximize reusability, testability and maintainability compared to
aab346
traditional approaches such as constructors, factories, and service
aab346
locators (e.g., JNDI). This process, known as dependency injection, is
aab346
beneficial to most nontrivial applications.
aab346
aab346
%{?javadoc_package}
aab346
aab346
%prep
aab346
%setup -q -n injection-api-%{version}
aab346
aab346
%pom_remove_parent
aab346
%pom_remove_plugin :maven-javadoc-plugin
aab346
%pom_remove_plugin :moditect-maven-plugin
aab346
aab346
%mvn_alias : javax.inject:javax.inject
aab346
%mvn_file : atinject
aab346
aab346
%build
aab346
%mvn_build
aab346
aab346
%install
aab346
%mvn_install
aab346
aab346
%files -n %{?module_prefix}%{name} -f .mfiles
aab346
%license LICENSE.txt NOTICE.md
aab346
aab346
%changelog
aab346
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-4
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
aab346
aab346
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.0.5-3
aab346
- Rebuilt for java-17-openjdk as system jdk
aab346
aab346
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
aab346
aab346
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.5-1
aab346
- Update to upstream version 1.0.5
aab346
aab346
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
aab346
aab346
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.3-2
aab346
- Bootstrap build
aab346
- Non-bootstrap build
aab346
aab346
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1-36.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
aab346
aab346
* Mon Oct 05 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.3-1
aab346
- Update to upstream version 1.0.3
aab346
aab346
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1-35.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
aab346
aab346
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1-34.20100611svn86
aab346
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
aab346
aab346
* Sat Jun 20 2020 Mat Booth <mat.booth@redhat.com> - 1-33.20100611svn86
aab346
- Allow building against Java 11
aab346
aab346
* Sat May 16 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.1-1
aab346
- Update to upstream version 1.0.1
aab346
aab346
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1-32.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
aab346
aab346
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-31.20100611svn86
aab346
- Build with OpenJDK 8
aab346
aab346
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-30.20100611svn86
aab346
- Mass rebuild for javapackages-tools 201902
aab346
aab346
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1-31.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
aab346
aab346
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-29.20100611svn86
aab346
- Mass rebuild for javapackages-tools 201901
aab346
aab346
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1-30.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
aab346
aab346
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1-29.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
aab346
aab346
* Wed Apr 18 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-28.20100611svn86
aab346
- Remove javax.inject Provides
aab346
aab346
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1-27.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
aab346
aab346
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-26.20100611svn86
aab346
- Cleanup spec file
aab346
aab346
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-25.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
aab346
aab346
* Thu Feb 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-24.20100611svn86
aab346
- Use build-classpath to symlink junit JAR
aab346
aab346
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-23.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
aab346
aab346
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1-22.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
aab346
aab346
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-21.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
aab346
aab346
* Wed May 13 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-20.20100611svn86
aab346
- Disable javadoc doclint
aab346
aab346
* Thu Mar 12 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-19.20100611svn86
aab346
- Add javapackages Maven coordinates to manifests
aab346
aab346
* Wed Feb 18 2015 Mat Booth <mat.booth@redhat.com> - 1-18.20100611svn86
aab346
- Add OSGi manifest to tck jar
aab346
- Install with mvn_install
aab346
aab346
* Mon Jun 09 2014 Michal Srb <msrb@redhat.com> - 1-17.20100611svn86
aab346
- Apply the "source/target 1.5" patch
aab346
aab346
* Mon Jun  9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-16.20100611svn86
aab346
- Compile with source/target 1.5
aab346
aab346
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-15.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
aab346
aab346
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-14.20100611svn86
aab346
- Use Requires: java-headless rebuild (#1067528)
aab346
aab346
* Mon Aug 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-13.20100611svn86
aab346
- Add javax.inject provides and directory
aab346
aab346
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-12.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
aab346
aab346
* Fri Jun 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-11.20100611svn86
aab346
- Remove unneeded BRs
aab346
- Install missing LICENSE file
aab346
- Update to current packaging guidelines
aab346
aab346
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-10.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
aab346
aab346
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1-9.20100611svn86
aab346
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
aab346
- Replace maven BuildRequires with maven-local
aab346
aab346
* Mon Jul 23 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-8.20100611svn86
aab346
- Add zip BR
aab346
aab346
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-7.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aab346
aab346
* Fri Feb 24 2012 Krzysztof Daniel <kdaniel@redhat.com> - 1-6.20100611svn86
aab346
- Added OSGi manifest.
aab346
aab346
* Mon Feb 13 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-5.20100611svn86
aab346
- Add tck subpackage
aab346
- Use upstream build method
aab346
aab346
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-4.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
aab346
aab346
* Fri Jun 10 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-3.20100611svn86
aab346
- Use maven3 to build
aab346
- Versionless jars & javadocs
aab346
aab346
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-2.20100611svn86
aab346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
aab346
aab346
* Tue Sep 21 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1-1.20100611svn86
aab346
- Initial version of the package