Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:gcc
gcc-java
gcc-java.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc-java.spec of Package gcc-java
# # spec file for package gcc-java # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gcc-java %define separate_bi32 0 %define separate_bi64 0 %ifarch ppc %define separate_bi64 1 %endif %ifarch x86_64 s390x ppc64 %define separate_bi32 1 %endif Url: http://gcc.gnu.org/ %define gcc_version 6 %define gcc_suffix 6 Version: 6 Release: 0 Summary: The system GNU Java Compiler License: GPL-3.0+ Group: Development/Languages/Java Requires: gcc%{gcc_version}-java Requires: libgcj-devel = %{version} Recommends: gcc-gij = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The system GNU Java Compiler. %package -n libgcj-devel Summary: The system GNU Java development files. License: GPL-2.0-with-classpath-exception Group: Development/Libraries/Java Requires: libgcj-devel-gcc%{gcc_version} %description -n libgcj-devel The system GNU Java development files. %package -n gcc-gij Summary: The system GNU Java bytecode interpreter License: GPL-2.0+ Group: Development/Languages/Java Requires: gcc%{gcc_version}-gij %description -n gcc-gij The system GNU Java bytecode interpreter. %package -n gcc-gij-32bit Summary: The system GNU Java bytecode interpreter License: GPL-2.0+ Group: Development/Languages/Java Requires: gcc%{gcc_version}-gij-32bit %description -n gcc-gij-32bit The system GNU Java bytecode interpreter as 32 bit application. %package -n gcc-gij-64bit Summary: The system GNU Java bytecode interpreter License: GPL-2.0+ Group: Development/Languages/Java Requires: gcc%{gcc_version}-gij-64bit %description -n gcc-gij-64bit The system GNU Java bytecode interpreter as 64 bit application. %prep %build echo "This is a dummy package to provide a dependency on the system compiler." > README %install mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 # Link all the binaries for program in \ gcj gcjh gcj-dbtool jcf-dump jv-convert gc-analyze \ gij \ gappletviewer \ gjar gjarsigner gjavah gkeytool gnative2ascii gorbd grmic \ grmid grmiregistry gserialver gtnameserv \ %if %{separate_bi32} grmiregistry32 \ gij32 \ %endif %if %{separate_bi64} grmiregistry64 \ gij64 \ %endif ; do ln -sf $program-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/$program done # Link section 1 manpages for man1 in \ gcj gcjh gcj-dbtool jcf-dump jv-convert gc-analyze \ gij \ gappletviewer gjar gjarsigner gjavah \ gkeytool gnative2ascii gorbd grmic grmid grmiregistry gserialver \ gtnameserv \ ; do ln -sf $man1-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/$man1.1.gz done %files %defattr(-,root,root) %{_prefix}/bin/gcj %{_prefix}/bin/gcjh %{_prefix}/bin/gcj-dbtool %{_prefix}/bin/jcf-dump %{_prefix}/bin/jv-convert %{_prefix}/bin/gc-analyze %doc %{_mandir}/man1/gcj.1.gz %doc %{_mandir}/man1/gcjh.1.gz %doc %{_mandir}/man1/gcj-dbtool.1.gz %doc %{_mandir}/man1/jcf-dump.1.gz %doc %{_mandir}/man1/jv-convert.1.gz %doc %{_mandir}/man1/gc-analyze.1.gz %files -n gcc-gij %defattr(-,root,root) %{_prefix}/bin/gij %{_prefix}/bin/gappletviewer %{_prefix}/bin/gjar %{_prefix}/bin/gjarsigner %{_prefix}/bin/gjavah %{_prefix}/bin/gkeytool %{_prefix}/bin/gnative2ascii %{_prefix}/bin/gorbd %{_prefix}/bin/grmic %{_prefix}/bin/grmid %{_prefix}/bin/grmiregistry %{_prefix}/bin/gserialver %{_prefix}/bin/gtnameserv %doc %{_mandir}/man1/gij.1.gz %doc %{_mandir}/man1/gappletviewer.1.gz %doc %{_mandir}/man1/gjar.1.gz %doc %{_mandir}/man1/gjarsigner.1.gz %doc %{_mandir}/man1/gjavah.1.gz %doc %{_mandir}/man1/gkeytool.1.gz %doc %{_mandir}/man1/gnative2ascii.1.gz %doc %{_mandir}/man1/gorbd.1.gz %doc %{_mandir}/man1/grmic.1.gz %doc %{_mandir}/man1/grmid.1.gz %doc %{_mandir}/man1/grmiregistry.1.gz %doc %{_mandir}/man1/gserialver.1.gz %doc %{_mandir}/man1/gtnameserv.1.gz %files -n libgcj-devel %defattr(-,root,root) # empty - only for the dependency %doc README %if %{separate_bi32} %files -n gcc-gij-32bit %defattr(-,root,root) %{_prefix}/bin/gij32 %{_prefix}/bin/grmiregistry32 %endif %if %{separate_bi64} %files -n gcc-gij-64bit %defattr(-,root,root) %{_prefix}/bin/gij64 %{_prefix}/bin/grmiregistry64 %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor