Projects
home:Eustace:branches:Eulaceura:Factory
openjdk-1.8.0
openjdk-1.8.0.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openjdk-1.8.0.spec of Package openjdk-1.8.0
# Prevent brp-java-repack-jars from being run %global debug_package %{nil} %global upgradever 21 %global majorver 8 # Standard JPackage naming and versioning defines. %global origin openjdk %global origin_nice OpenJDK %global repo jdk8u %global revision jdk8u900-b90 %global full_revision %{repo}-%{revision} %global updatever 900 %global buildver b90 %global javaver 1.%{majorver}.0 Name: openjdk-%{javaver} Version: %{javaver}.%{updatever}.%{buildver} Release: 0 Epoch: 1 Summary: %{origin_nice} Runtime Environment %{majorver} Group: Development/Languages License: Mulan PSL URL: http://openjdk.java.net/ %description Runtime Environment which uses higher version %package -n java-%{javaver}-%{origin} Provides: java-%{javaver}-%{origin} = %{epoch}:%{version}-%{release} # Requires rest of java Requires: java-%{javaver}-%{origin}-headless%{?1}%{?_isa} = %{epoch}:%{version}-%{release} # Standard JPackage base provides Provides: jre%{?1} = %{epoch}:%{version}-%{release} Provides: jre-%{origin}%{?1} = %{epoch}:%{version}-%{release} Provides: jre-%{javaver}%{?1} = %{epoch}:%{version}-%{release} Provides: jre-%{javaver}-%{origin}%{?1} = %{epoch}:%{version}-%{release} Provides: java-%{javaver}%{?1} = %{epoch}:%{version}-%{release} Provides: java-%{origin}%{?1} = %{epoch}:%{version}-%{release} Provides: java%{?1} = %{epoch}:%{version}-%{release} Summary: Meta RuntimeEnvironment %description -n java-%{javaver}-%{origin} Meta RuntimeEnvironment %package -n java-%{javaver}-%{origin}-headless Requires: java-%{upgradever}-%{origin}-headless # Standard JPackage base provides Provides: jre-headless%{?1} = %{epoch}:%{version}-%{release} Provides: jre-%{javaver}-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release} Provides: jre-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release} Provides: jre-%{javaver}-headless%{?1} = %{epoch}:%{version}-%{release} Provides: java-%{javaver}-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release} Provides: java-%{javaver}-headless%{?1} = %{epoch}:%{version}-%{release} Provides: java-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release} Provides: java-headless%{?1} = %{epoch}:%{version}-%{release} Summary: Meta RuntimeEnvironment Headless %description -n java-%{javaver}-%{origin}-headless Meta RuntimeEnvironment Headless %package -n java-%{javaver}-%{origin}-devel Requires: java-%{upgradever}-%{origin}-devel # Standard JPackage devel provides Provides: java-sdk-%{javaver}-%{origin}%{?1} = %{epoch}:%{version}-%{release} Provides: java-sdk-%{javaver}%{?1} = %{epoch}:%{version}-%{release} Provides: java-sdk-%{origin}%{?1} = %{epoch}:%{version}-%{release} Provides: java-sdk%{?1} = %{epoch}:%{version}-%{release} Provides: java-%{javaver}-devel%{?1} = %{epoch}:%{version}-%{release} Provides: java-%{javaver}-%{origin}-devel%{?1} = %{epoch}:%{version}-%{release} Provides: java-devel-%{origin}%{?1} = %{epoch}:%{version}-%{release} Provides: java-devel%{?1} = %{epoch}:%{version}-%{release} Summary: Meta RuntimeEnvironment Devel %description -n java-%{javaver}-%{origin}-devel Meta RuntimeEnvironment Devel %prep %install mkdir -p $RPM_BUILD_ROOT/usr/lib/jvm ln -s jre-%{javaver}-%{origin} $RPM_BUILD_ROOT/usr/lib/jvm/jre-%{javaver} #ln -s jre-%{upgradever}-%{origin} $RPM_BUILD_ROOT/usr/lib/jvm/jre-%{javaver}-%{origin} #ln -s java-%{upgradever}-%{origin} $RPM_BUILD_ROOT/usr/lib/jvm/java-%{javaver}-%{origin} %post -n java-%{javaver}-%{origin}-headless ln -s `ls /usr/lib/jvm | grep jre-%{upgradever}-%{origin}-` /usr/lib/jvm/jre-%{javaver}-%{origin} %post -n java-%{javaver}-%{origin}-devel ln -s `ls /usr/lib/jvm | grep java-%{upgradever}-%{origin}-` /usr/lib/jvm/java-%{javaver}-%{origin} %files -n java-%{javaver}-%{origin} /usr/lib/jvm/jre-%{javaver} %files -n java-%{javaver}-%{origin}-headless %files -n java-%{javaver}-%{origin}-devel %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2