Package atinject: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | Epoch: 0 Group: Development/Java AutoReq: yes,noosgi BuildRequires: rpm-build-java-osgi BuildRequires: /proc rpm-build-java BuildRequires: jpackage-11-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: atinject Version: 1 Release: alt7_35.20100611svn86jpp11 Summary: Dependency injection specification for Java (JSR-330) License: ASL 2.0 URL: http://code.google.com/p/atinject/ BuildArch: noarch # latest release doesn't generate javadocs and there is no source # tarball with pom.xml or ant build file # # svn export -r86 http://atinject.googlecode.com/svn/trunk atinject-1 # rm -rf atinject-1/{lib,javadoc}/ # tar caf atinject-1.tar.xz atinject-1 Source0: %{name}-%{version}.tar.xz # These manifests based on the ones shipped by eclipse.org Source1: MANIFEST.MF Source2: MANIFEST-TCK.MF Source3: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: javapackages-local BuildRequires: junit Source44: import.info %description This package specifies a means for obtaining objects in such a way as to maximize reusability, testability and maintainability compared to traditional approaches such as constructors, factories, and service locators (e.g., JNDI). This process, known as dependency injection, is beneficial to most nontrivial applications. %package tck Group: Development/Java Summary: TCK for testing %{name} compatibility with JSR-330 Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: junit %description tck %{summary}. %{?javadoc_package} %prep %setup -q cp %{SOURCE3} LICENSE mkdir lib build-jar-repository -p lib junit # Fix dep in TCK pom sed -i -e 's/pom\.groupId/project.groupId/' tck-pom.xml # J2EE API symlinks %mvn_file :javax.inject atinject javax.inject/atinject # TCK sub-package %mvn_file :javax.inject-tck atinject-tck %mvn_package :javax.inject-tck tck %build set -e alias rm=: alias xargs=: alias javac="javac -source 1.8 -target 1.8" alias javadoc="javadoc -source 1.8 -Xdoclint:none" . ./build.sh # Inject OSGi manifests required by Eclipse. jar umf %{SOURCE1} build/dist/javax.inject.jar jar umf %{SOURCE2} build/tck/dist/javax.inject-tck.jar %mvn_artifact pom.xml build/dist/javax.inject.jar %mvn_artifact tck-pom.xml build/tck/dist/javax.inject-tck.jar mv build/tck/javadoc build/javadoc/tck %install %mvn_install -J build/javadoc %files -f .mfiles %doc --no-dereference LICENSE %files tck -f .mfiles-tck %changelog * Tue Jun 01 2021 Igor Vlasenko <viy@altlinux.org> 0:1-alt7_35.20100611svn86jpp11 - update * Sat Feb 15 2020 Igor Vlasenko <viy@altlinux.ru> 0:1-alt7_32.20100611svn86jpp8 - fc update * Sat May 25 2019 Igor Vlasenko <viy@altlinux.ru> 0:1-alt7_30.20100611svn86jpp8 - new version * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 0:1-alt7_29.20100611svn86jpp8 - fc29 update * Fri Jun 01 2018 Igor Vlasenko <viy@altlinux.ru> 0:1-alt7_28.20100611svn86jpp8 - java fc28+ update * Tue May 15 2018 Igor Vlasenko <viy@altlinux.ru> 0:1-alt7_27.20100611svn86jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 0:1-alt7_25.20100611svn86jpp8 - fc27 update * Thu Nov 02 2017 Igor Vlasenko <viy@altlinux.ru> 0:1-alt7_24.20100611svn86jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:1-alt7_22.20100611svn86jpp8 - new fc release * Thu Feb 11 2016 Igor Vlasenko <viy@altlinux.ru> 0:1-alt7_21.20100611svn86jpp8 - added osgi provides * Mon Feb 01 2016 Igor Vlasenko <viy@altlinux.ru> 0:1-alt6_21.20100611svn86jpp8 - new version * Fri Jan 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:1-alt5jpp - bootstrap pack of jars created with jppbootstrap script - temporary package to satisfy circular dependencies * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0:1-alt4_13.20100611svn86jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 0:1-alt4_10.20100611svn86jpp7 - new release * Tue Oct 02 2012 Igor Vlasenko <viy@altlinux.ru> 0:1-alt4_8.20100611svn86jpp7 - new fc release * Fri Aug 24 2012 Igor Vlasenko <viy@altlinux.ru> 0:1-alt4_6.20100611svn86jpp7 - fc release * Sat Mar 24 2012 Igor Vlasenko <viy@altlinux.ru> 0:1-alt3_8jpp6 - added fc compat symlink %{_javadir}/atinject.jar * Sat Mar 24 2012 Igor Vlasenko <viy@altlinux.ru> 0:1-alt2_8jpp6 - target 5 build * Mon Jan 16 2012 Igor Vlasenko <viy@altlinux.ru> 0:1-alt1_8jpp6 - new jpp relase * Sat Jan 29 2011 Igor Vlasenko <viy@altlinux.ru> 0:1-alt1_2.20100611svn86jpp6 - fixed build |