Modify source url and homepage url
This commit is contained in:
parent
a535b40413
commit
55d2df6df7
@ -1,15 +0,0 @@
|
|||||||
Manifest-Version: 1.0
|
|
||||||
Bundle-ManifestVersion: 2
|
|
||||||
Bundle-Name: Tck
|
|
||||||
Bundle-SymbolicName: com.google.code.atinject.tck
|
|
||||||
Bundle-Version: 1.0.0
|
|
||||||
Bundle-Vendor: GOOGLE
|
|
||||||
Bundle-RequiredExecutionEnvironment: J2SE-1.5
|
|
||||||
Require-Bundle: org.junit;bundle-version="3.8.2"
|
|
||||||
Export-Package: org.atinject.tck,
|
|
||||||
org.atinject.tck.auto;x-internal:=true,
|
|
||||||
org.atinject.tck.auto.accessories;x-internal:=true
|
|
||||||
Import-Package: javax.inject;version="1.0.0"
|
|
||||||
JavaPackages-GroupId: javax.inject
|
|
||||||
JavaPackages-ArtifactId: javax.inject-tck
|
|
||||||
JavaPackages-Version: 1.1.SNAPSHOT
|
|
||||||
14
MANIFEST.MF
14
MANIFEST.MF
@ -1,14 +0,0 @@
|
|||||||
Manifest-Version: 1.0
|
|
||||||
Bundle-ManifestVersion: 2
|
|
||||||
Bundle-Name: Atinject Dependency Injection Annotations
|
|
||||||
Bundle-SymbolicName: javax.inject
|
|
||||||
Bundle-Version: 1.0.0.v20091030
|
|
||||||
Bundle-ClassPath: .
|
|
||||||
Bundle-Vendor: Eclipse.org
|
|
||||||
Bundle-Localization: plugin
|
|
||||||
Export-Package: javax.inject;version="1.0.0"
|
|
||||||
Bundle-RequiredExecutionEnvironment: J2SE-1.5
|
|
||||||
JavaPackages-GroupId: javax.inject
|
|
||||||
JavaPackages-ArtifactId: javax.inject
|
|
||||||
JavaPackages-Version: 1
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
atinject-1.zip
Normal file
BIN
atinject-1.zip
Normal file
Binary file not shown.
@ -1,14 +1,13 @@
|
|||||||
|
%define commit fa680bbbc7db62a166f502ca7f3eeb0185b41097
|
||||||
Name: atinject
|
Name: atinject
|
||||||
Version: 1
|
Version: 1
|
||||||
Release: 30.20100611svn86
|
Release: 31
|
||||||
Summary: Java API for JSR-330 Dependency Injection
|
Summary: Java API for JSR-330 Dependency Injection
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://directory.fsf.org/wiki/Atinject
|
URL: https://github.com/svn2github/atinject/
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Source0: atinject-%{version}.tar.xz
|
Source0: https://github.com/svn2github/atinject/archive/f680bb.zip#/atinject-%{version}.zip
|
||||||
Source1: MANIFEST.MF
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||||
Source2: MANIFEST-TCK.MF
|
|
||||||
Source3: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
||||||
BuildRequires: javapackages-local java-devel junit
|
BuildRequires: javapackages-local java-devel junit
|
||||||
Patch0001: atinject-target-1.5.patch
|
Patch0001: atinject-target-1.5.patch
|
||||||
|
|
||||||
@ -35,9 +34,10 @@ Obsoletes: atinject-javadoc < %{version}-%{release}
|
|||||||
API documentation for atinject.
|
API documentation for atinject.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -n %{name}-%{commit}
|
||||||
cp %{SOURCE3} LICENSE
|
cp %{SOURCE1} LICENSE
|
||||||
mkdir lib
|
rm -rf ./lib/*
|
||||||
|
rm -rf ./javadoc/*
|
||||||
build-jar-repository -p lib junit
|
build-jar-repository -p lib junit
|
||||||
sed -i -e 's/pom\.groupId/project.groupId/' tck-pom.xml
|
sed -i -e 's/pom\.groupId/project.groupId/' tck-pom.xml
|
||||||
%mvn_file :javax.inject atinject javax.inject/atinject
|
%mvn_file :javax.inject atinject javax.inject/atinject
|
||||||
@ -48,8 +48,43 @@ sed -i -e 's/pom\.groupId/project.groupId/' tck-pom.xml
|
|||||||
set -e
|
set -e
|
||||||
alias rm=: xargs=: javadoc='javadoc -Xdoclint:none'
|
alias rm=: xargs=: javadoc='javadoc -Xdoclint:none'
|
||||||
source ./build.sh
|
source ./build.sh
|
||||||
jar umf %{SOURCE1} build/dist/javax.inject.jar
|
touch MANIFEST.MF
|
||||||
jar umf %{SOURCE2} build/tck/dist/javax.inject-tck.jar
|
cat >MANIFEST.MF<<EOF
|
||||||
|
Manifest-Version: 1.0
|
||||||
|
Bundle-ManifestVersion: 2
|
||||||
|
Bundle-Name: Atinject Dependency Injection Annotations
|
||||||
|
Bundle-SymbolicName: javax.inject
|
||||||
|
Bundle-Version: 1.0.0.v20091030
|
||||||
|
Bundle-ClassPath: .
|
||||||
|
Bundle-Vendor: Eclipse.org
|
||||||
|
Bundle-Localization: plugin
|
||||||
|
Export-Package: javax.inject;version="1.0.0"
|
||||||
|
Bundle-RequiredExecutionEnvironment: J2SE-1.5
|
||||||
|
JavaPackages-GroupId: javax.inject
|
||||||
|
JavaPackages-ArtifactId: javax.inject
|
||||||
|
JavaPackages-Version: 1
|
||||||
|
|
||||||
|
EOF
|
||||||
|
jar umf ./MANIFEST.MF build/dist/javax.inject.jar
|
||||||
|
touch MANIFEST-TCK.MF
|
||||||
|
cat >MANIFEST-TCK.MF<<EOF
|
||||||
|
Manifest-Version: 1.0
|
||||||
|
Bundle-ManifestVersion: 2
|
||||||
|
Bundle-Name: Tck
|
||||||
|
Bundle-SymbolicName: com.google.code.atinject.tck
|
||||||
|
Bundle-Version: 1.0.0
|
||||||
|
Bundle-Vendor: GOOGLE
|
||||||
|
Bundle-RequiredExecutionEnvironment: J2SE-1.5
|
||||||
|
Require-Bundle: org.junit;bundle-version="3.8.2"
|
||||||
|
Export-Package: org.atinject.tck,
|
||||||
|
org.atinject.tck.auto;x-internal:=true,
|
||||||
|
org.atinject.tck.auto.accessories;x-internal:=true
|
||||||
|
Import-Package: javax.inject;version="1.0.0"
|
||||||
|
JavaPackages-GroupId: javax.inject
|
||||||
|
JavaPackages-ArtifactId: javax.inject-tck
|
||||||
|
JavaPackages-Version: 1.1.SNAPSHOT
|
||||||
|
EOF
|
||||||
|
jar umf ./MANIFEST-TCK.MF build/tck/dist/javax.inject-tck.jar
|
||||||
%mvn_artifact pom.xml build/dist/javax.inject.jar
|
%mvn_artifact pom.xml build/dist/javax.inject.jar
|
||||||
%mvn_artifact tck-pom.xml build/tck/dist/javax.inject-tck.jar
|
%mvn_artifact tck-pom.xml build/tck/dist/javax.inject-tck.jar
|
||||||
mv build/tck/javadoc build/javadoc/tck
|
mv build/tck/javadoc build/javadoc/tck
|
||||||
@ -65,5 +100,8 @@ mv build/tck/javadoc build/javadoc/tck
|
|||||||
%files help -f .mfiles-javadoc
|
%files help -f .mfiles-javadoc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 4 2021 Ge Wang<wangge20@huawei.com> - 1-31
|
||||||
|
- Modify homepage url and source url
|
||||||
|
|
||||||
* Wed Dec 4 2019 likexin<likexin4@huawei.com> - 1-30.20100611svn86
|
* Wed Dec 4 2019 likexin<likexin4@huawei.com> - 1-30.20100611svn86
|
||||||
- Pakcage init
|
- Pakcage init
|
||||||
|
|||||||
4
atinject.yaml
Normal file
4
atinject.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: svn2github/atinject
|
||||||
|
tag_prefix: NA
|
||||||
|
separator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user