Compare commits

..

16 Commits

Author SHA1 Message Date
2d7a50a044 Added SRPM chromium-widevine from chrome stable binary rpm 2018-06-16 01:40:31 +02:00
2b8f1d5c98 Release 4.0.90 2017-12-24 12:53:56 +01:00
28616db2c5 Replace smart usages with pkcon 2017-12-24 12:53:41 +01:00
8a428a76b6 Release 4.0.2 2017-10-18 15:52:58 +02:00
ab89e6ee0d sun-java8.spec.in: specfile fix for upstream release 8u152 2017-10-18 15:44:17 +02:00
e49a9c03b2 chromium-pepper-flash: fix to retrieve recent update 2017-06-19 10:15:19 +02:00
e0a172d8f7 Release 4.0.0 2017-06-03 15:40:17 +02:00
cedfb93b68 sun-java7, sun-java8: update following upstream download url changes 2017-06-03 15:39:36 +02:00
b5ddfe787c flashplugin: fix for version detection 2017-06-03 15:14:10 +02:00
0b20585be5 Release 3.94.0 2016-12-13 16:47:30 +01:00
f574490e77 flashplugin, chromium-pepper-flash: support for 24.0 2016-12-13 16:47:06 +01:00
f44219efae chromium-pepper-flash: fetch from Adobe site instead of Chrome archive 2016-12-13 16:34:49 +01:00
76b6dde25f SRPMSVERSIONS: version fetch update for chromium-pepper-flash and flashplugin 2016-12-03 19:16:35 +01:00
b4099586ce Release 3.92.0 2016-09-13 13:07:43 +02:00
b00e1dfe15 Update mambabase for sun-java8 2016-09-13 13:07:01 +02:00
4785ba0d9c Added sun-java8 SRPMS installation 2016-09-13 13:00:52 +02:00
19 changed files with 1303 additions and 51 deletions

View File

@@ -10,9 +10,15 @@ ifeq ($(ARCH), arm)
SRPMSVERSIONSFILE = SRPMSVERSIONS.arm SRPMSVERSIONSFILE = SRPMSVERSIONS.arm
pck_srpms = b43-firmware sun-java7 pck_srpms = b43-firmware sun-java7
else else
ifeq ($(ARCH), x86_64)
SRPMSVERSIONSFILE = SRPMSVERSIONS SRPMSVERSIONSFILE = SRPMSVERSIONS
pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack \ pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack \
sun-java7 spotify chromium-pepper-flash sun-java7 sun-java8 spotify chromium-pepper-flash chromium-widevine
else
SRPMSVERSIONSFILE = SRPMSVERSIONS
pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack \
sun-java7 sun-java8 spotify chromium-pepper-flash
endif
endif endif
PACKAGE = desktop-base-openmamba PACKAGE = desktop-base-openmamba
DISTROID = openmamba DISTROID = openmamba

View File

@@ -1,7 +1,7 @@
Name: chromium-pepper-flash Name: chromium-pepper-flash
Version: @SRPMVERSION@ Version: @SRPMVERSION@
Release: @SRPMRELEASE@ Release: @SRPMRELEASE@
Epoch: 1 Epoch: 2
Summary: Google Chrome's pepper-flash plugin for Chromium Summary: Google Chrome's pepper-flash plugin for Chromium
Group: Applications/Web Group: Applications/Web
Vendor: @vendor@ Vendor: @vendor@
@@ -37,16 +37,15 @@ tmpdir=$(mktemp -q -d -t flashplugin.XXXXXXXX)
${CHROMIUM_PEPPER_FLASH_URL}${CHROMIUM_PEPPER_FLASH_PCK} -O ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK} ${CHROMIUM_PEPPER_FLASH_URL}${CHROMIUM_PEPPER_FLASH_PCK} -O ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK}
[ -f ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK} ] || exit 1 [ -f ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK} ] || exit 1
rpm2cpio ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK} | cpio -id tar xzf ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK}
%build -q %build -q
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d -m0755 %{buildroot}/opt/chromium/PepperFlash install -d -m0755 %{buildroot}/opt/chromium/PepperFlash
cp -a opt/google/chrome/PepperFlash/* %{buildroot}/opt/chromium/PepperFlash/
cp %{S:0} LICENSE cp %{S:0} LICENSE
cp -a * %{buildroot}/opt/chromium/PepperFlash/
rm -fr ${tmpdir} rm -fr ${tmpdir}
@@ -59,9 +58,16 @@ rm -rf %{_builddir}/%{name}-*
%defattr(-,root,root) %defattr(-,root,root)
%dir /opt/chromium/PepperFlash %dir /opt/chromium/PepperFlash
/opt/chromium/PepperFlash/libpepflashplayer.so /opt/chromium/PepperFlash/libpepflashplayer.so
/opt/chromium/PepperFlash/license.pdf
/opt/chromium/PepperFlash/LICENSE
/opt/chromium/PepperFlash/manifest.json /opt/chromium/PepperFlash/manifest.json
%doc LICENSE /opt/chromium/PepperFlash/readme.txt
%dir /opt/chromium/PepperFlash/LGPL
/opt/chromium/PepperFlash/LGPL/*
%changelog %changelog
* Sat Dec 3 2016 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
- PPAPI plugin for Chromium
* Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 37.0.2062.120-1mamba * Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 37.0.2062.120-1mamba
- first build for chromium-pepper-flash - first build for chromium-pepper-flash

View File

@@ -1,7 +1,7 @@
## Google Chrome's pepper-flash ## Google Chrome's pepper-flash
# package name (do not modify unless you know what you're doing) # package name (do not modify unless you know what you're doing)
CHROMIUM_PEPPER_FLASH_PCK=google-chrome-stable_current_@arch@.rpm CHROMIUM_PEPPER_FLASH_PCK=flash_player_ppapi_linux.@arch@.tar.gz
# package URL (do not modify unless you know what you're doing) # package URL (do not modify unless you know what you're doing)
CHROMIUM_PEPPER_FLASH_URL=https://dl.google.com/linux/direct/ CHROMIUM_PEPPER_FLASH_URL=http://fpdownload.macromedia.com/get/flashplayer/pdc/${SRPMVERSION["chromium-pepper-flash"]}/

View File

@@ -0,0 +1,309 @@
Google Chrome Terms of Service
These Terms of Service apply to the executable code version of Google Chrome. Source code for Google Chrome is available free of charge under open source software license agreements at http://code.google.com/chromium/terms.html.
1. Your relationship with Google
1.1 Your use of Googles products, software, services and web sites (referred to collectively as the “Services” in this document and excluding any services provided to you by Google under a separate written agreement) is subject to the terms of a legal agreement between you and Google. “Google” means Google Inc., whose principal place of business is at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. This document explains how the agreement is made up, and sets out some of the terms of that agreement.
1.2 Unless otherwise agreed in writing with Google, your agreement with Google will always include, at a minimum, the terms and conditions set out in this document. These are referred to below as the “Universal Terms”. Open source software licenses for Google Chrome source code constitute separate written agreements. To the limited extent that the open source software licenses expressly supersede these Universal Terms, the open source licenses govern your agreement with Google for the use of Google Chrome or specific included components of Google Chrome.
1.3 Your agreement with Google will also include the terms set forth below in the Google Chrome Additional Terms of Service and terms of any Legal Notices applicable to the Services, in addition to the Universal Terms. All of these are referred to below as the “Additional Terms”. Where Additional Terms apply to a Service, these will be accessible for you to read either within, or through your use of, that Service.
1.4 The Universal Terms, together with the Additional Terms, form a legally binding agreement between you and Google in relation to your use of the Services. It is important that you take the time to read them carefully. Collectively, this legal agreement is referred to below as the “Terms”.
1.5 If there is any contradiction between what the Additional Terms say and what the Universal Terms say, then the Additional Terms shall take precedence in relation to that Service.
2. Accepting the Terms
2.1 In order to use the Services, you must first agree to the Terms. You may not use the Services if you do not accept the Terms.
2.2 You can accept the Terms by:
(A) clicking to accept or agree to the Terms, where this option is made available to you by Google in the user interface for any Service; or
(B) by actually using the Services. In this case, you understand and agree that Google will treat your use of the Services as acceptance of the Terms from that point onwards.
3. Language of the Terms
3.1 Where Google has provided you with a translation of the English language version of the Terms, then you agree that the translation is provided for your convenience only and that the English language versions of the Terms will govern your relationship with Google.
3.2 If there is any contradiction between what the English language version of the Terms says and what a translation says, then the English language version shall take precedence.
4. Provision of the Services by Google
4.1 Google has subsidiaries and affiliated legal entities around the world (“Subsidiaries and Affiliates”). Sometimes, these companies will be providing the Services to you on behalf of Google itself. You acknowledge and agree that Subsidiaries and Affiliates will be entitled to provide the Services to you.
4.2 Google is constantly innovating in order to provide the best possible experience for its users. You acknowledge and agree that the form and nature of the Services which Google provides may change from time to time without prior notice to you.
4.3 As part of this continuing innovation, you acknowledge and agree that Google may stop (permanently or temporarily) providing the Services (or any features within the Services) to you or to users generally at Googles sole discretion, without prior notice to you. You may stop using the Services at any time. You do not need to specifically inform Google when you stop using the Services.
4.4 You acknowledge and agree that if Google disables access to your account, you may be prevented from accessing the Services, your account details or any files or other content which is contained in your account.
5. Use of the Services by you
5.1 You agree to use the Services only for purposes that are permitted by (a) the Terms and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
5.2 You agree that you will not engage in any activity that interferes with or disrupts the Services (or the servers and networks which are connected to the Services).
5.3 Unless you have been specifically permitted to do so in a separate agreement with Google, you agree that you will not reproduce, duplicate, copy, sell, trade or resell the Services for any purpose.
5.4 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the Terms and for the consequences (including any loss or damage which Google may suffer) of any such breach.
6. Privacy and your personal information
6.1 For information about Googles data protection practices, please read Googles privacy policy at http://www.google.com/privacy.html and at http://www.google.com/chrome/intl/en/privacy.html. This policy explains how Google treats your personal information, and protects your privacy, when you use the Services.
6.2 You agree to the use of your data in accordance with Googles privacy policies.
7. Content in the Services
7.1 You understand that all information (such as data files, written text, computer software, music, audio files or other sounds, photographs, videos or other images) which you may have access to as part of, or through your use of, the Services are the sole responsibility of the person from which such content originated. All such information is referred to below as the “Content.”
7.2 You should be aware that Content presented to you as part of the Services, including but not limited to advertisements in the Services and sponsored Content within the Services may be protected by intellectual property rights which are owned by the sponsors or advertisers who provide that Content to Google (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this Content (either in whole or in part) unless you have been specifically told that you may do so by Google or by the owners of that Content, in a separate agreement.
7.3 Google reserves the right (but shall have no obligation) to pre-screen, review, flag, filter, modify, refuse or remove any or all Content from any Service. For some of the Services, Google may provide tools to filter out explicit sexual content. These tools include the SafeSearch preference settings (see http://www.google.com/help/customize.html#safe). In addition, there are commercially available services and software to limit access to material that you may find objectionable.
7.4 You understand that by using the Services you may be exposed to Content that you may find offensive, indecent or objectionable and that, in this respect, you use the Services at your own risk.
7.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any Content that you create, transmit or display while using the Services and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
8. Proprietary rights
8.1 You acknowledge and agree that Google (or Googles licensors) own all legal right, title and interest in and to the Services, including any intellectual property rights which subsist in the Services (whether those rights happen to be registered or not, and wherever in the world those rights may exist).
8.2 Unless you have agreed otherwise in writing with Google, nothing in the Terms gives you a right to use any of Googles trade names, trade marks, service marks, logos, domain names, and other distinctive brand features.
8.3 If you have been given an explicit right to use any of these brand features in a separate written agreement with Google, then you agree that your use of such features shall be in compliance with that agreement, any applicable provisions of the Terms, and Google's brand feature use guidelines as updated from time to time. These guidelines can be viewed online at http://www.google.com/permissions/guidelines.html (or such other URL as Google may provide for this purpose from time to time).
8.4 Google acknowledges and agrees that it obtains no right, title or interest from you (or your licensors) under these Terms in or to any Content that you submit, post, transmit or display on, or through, the Services, including any intellectual property rights which subsist in that Content (whether those rights happen to be registered or not, and wherever in the world those rights may exist). Unless you have agreed otherwise in writing with Google, you agree that you are responsible for protecting and enforcing those rights and that Google has no obligation to do so on your behalf.
8.5 You agree that you shall not remove, obscure, or alter any proprietary rights notices (including copyright and trade mark notices) which may be affixed to or contained within the Services.
8.6 Unless you have been expressly authorized to do so in writing by Google, you agree that in using the Services, you will not use any trade mark, service mark, trade name, logo of any company or organization in a way that is likely or intended to cause confusion about the owner or authorized user of such marks, names or logos.
9. License from Google
9.1 Google gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the software provided to you by Google as part of the Services as provided to you by Google (referred to as the “Software” below). This license is for the sole purpose of enabling you to use and enjoy the benefit of the Services as provided by Google, in the manner permitted by the Terms.
9.2 Subject to section 1.2, you may not (and you may not permit anyone else to) copy, modify, create a derivative work of, reverse engineer, decompile or otherwise attempt to extract the source code of the Software or any part thereof, unless this is expressly permitted or required by law, or unless you have been specifically told that you may do so by Google, in writing.
9.3 Subject to section 1.2, unless Google has given you specific written permission to do so, you may not assign (or grant a sub-license of) your rights to use the Software, grant a security interest in or over your rights to use the Software, or otherwise transfer any part of your rights to use the Software.
10. Content license from you
10.1 You retain copyright and any other rights you already hold in Content which you submit, post or display on or through, the Services.
11. Software updates
11.1 The Software which you use may automatically download and install updates from time to time from Google. These updates are designed to improve, enhance and further develop the Services and may take the form of bug fixes, enhanced functions, new software modules and completely new versions. You agree to receive such updates (and permit Google to deliver these to you) as part of your use of the Services.
12. Ending your relationship with Google
12.1 The Terms will continue to apply until terminated by either you or Google as set out below.
12.2 Google may at any time, terminate its legal agreement with you if:
(A) you have breached any provision of the Terms (or have acted in manner which clearly shows that you do not intend to, or are unable to comply with the provisions of the Terms); or
(B) Google is required to do so by law (for example, where the provision of the Services to you is, or becomes, unlawful); or
(C) the partner with whom Google offered the Services to you has terminated its relationship with Google or ceased to offer the Services to you; or
(D) Google is transitioning to no longer providing the Services to users in the country in which you are resident or from which you use the service; or
(E) the provision of the Services to you by Google is, in Googles opinion, no longer commercially viable.
12.3 Nothing in this Section shall affect Googles rights regarding provision of Services under Section 4 of the Terms.
12.4 When these Terms come to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the Terms have been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 19.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
13. EXCLUSION OF WARRANTIES
13.1 NOTHING IN THESE TERMS, INCLUDING SECTIONS 13 AND 14, SHALL EXCLUDE OR LIMIT GOOGLES WARRANTY OR LIABILITY FOR LOSSES WHICH MAY NOT BE LAWFULLY EXCLUDED OR LIMITED BY APPLICABLE LAW. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES OR CONDITIONS OR THE LIMITATION OR EXCLUSION OF LIABILITY FOR LOSS OR DAMAGE CAUSED BY NEGLIGENCE, BREACH OF CONTRACT OR BREACH OF IMPLIED TERMS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES. ACCORDINGLY, ONLY THE LIMITATIONS WHICH ARE LAWFUL IN YOUR JURISDICTION WILL APPLY TO YOU AND OUR LIABILITY WILL BE LIMITED TO THE MAXIMUM EXTENT PERMITTED BY LAW.
13.2 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SERVICES IS AT YOUR SOLE RISK AND THAT THE SERVICES ARE PROVIDED "AS IS" AND “AS AVAILABLE.”
13.3 IN PARTICULAR, GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS DO NOT REPRESENT OR WARRANT TO YOU THAT:
(A) YOUR USE OF THE SERVICES WILL MEET YOUR REQUIREMENTS,
(B) YOUR USE OF THE SERVICES WILL BE UNINTERRUPTED, TIMELY, SECURE OR FREE FROM ERROR,
(C) ANY INFORMATION OBTAINED BY YOU AS A RESULT OF YOUR USE OF THE SERVICES WILL BE ACCURATE OR RELIABLE, AND
(D) THAT DEFECTS IN THE OPERATION OR FUNCTIONALITY OF ANY SOFTWARE PROVIDED TO YOU AS PART OF THE SERVICES WILL BE CORRECTED.
13.4 ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SERVICES IS DONE AT YOUR OWN DISCRETION AND RISK AND THAT YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM THE DOWNLOAD OF ANY SUCH MATERIAL.
13.5 NO ADVICE OR INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM GOOGLE OR THROUGH OR FROM THE SERVICES SHALL CREATE ANY WARRANTY NOT EXPRESSLY STATED IN THE TERMS.
13.6 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
14. LIMITATION OF LIABILITY
14.1 SUBJECT TO OVERALL PROVISION IN PARAGRAPH 13.1 ABOVE, YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU FOR:
(A) ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES WHICH MAY BE INCURRED BY YOU, HOWEVER CAUSED AND UNDER ANY THEORY OF LIABILITY.. THIS SHALL INCLUDE, BUT NOT BE LIMITED TO, ANY LOSS OF PROFIT (WHETHER INCURRED DIRECTLY OR INDIRECTLY), ANY LOSS OF GOODWILL OR BUSINESS REPUTATION, ANY LOSS OF DATA SUFFERED, COST OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR OTHER INTANGIBLE LOSS;
(B) ANY LOSS OR DAMAGE WHICH MAY BE INCURRED BY YOU, INCLUDING BUT NOT LIMITED TO LOSS OR DAMAGE AS A RESULT OF:
(I) ANY RELIANCE PLACED BY YOU ON THE COMPLETENESS, ACCURACY OR EXISTENCE OF ANY ADVERTISING, OR AS A RESULT OF ANY RELATIONSHIP OR TRANSACTION BETWEEN YOU AND ANY ADVERTISER OR SPONSOR WHOSE ADVERTISING APPEARS ON THE SERVICES;
(II) ANY CHANGES WHICH GOOGLE MAY MAKE TO THE SERVICES, OR FOR ANY PERMANENT OR TEMPORARY CESSATION IN THE PROVISION OF THE SERVICES (OR ANY FEATURES WITHIN THE SERVICES);
(III) THE DELETION OF, CORRUPTION OF, OR FAILURE TO STORE, ANY CONTENT AND OTHER COMMUNICATIONS DATA MAINTAINED OR TRANSMITTED BY OR THROUGH YOUR USE OF THE SERVICES;
(IV) YOUR FAILURE TO PROVIDE GOOGLE WITH ACCURATE ACCOUNT INFORMATION;
(V) YOUR FAILURE TO KEEP YOUR PASSWORD OR ACCOUNT DETAILS SECURE AND CONFIDENTIAL;
14.2 THE LIMITATIONS ON GOOGLES LIABILITY TO YOU IN PARAGRAPH 14.1 ABOVE SHALL APPLY WHETHER OR NOT GOOGLE HAS BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
15. Copyright and trade mark policies
15.1 It is Googles policy to respond to notices of alleged copyright infringement that comply with applicable international intellectual property law (including, in the United States, the Digital Millennium Copyright Act) and to terminating the accounts of repeat infringers. Details of Googles policy can be found at http://www.google.com/dmca.html.
15.2 Google operates a trade mark complaints procedure in respect of Googles advertising business, details of which can be found at http://www.google.com/tm_complaint.html.
16. Advertisements
16.1 Some of the Services are supported by advertising revenue and may display advertisements and promotions. These advertisements may be targeted to the content of information stored on the Services, queries made through the Services or other information.
16.2 The manner, mode and extent of advertising by Google on the Services are subject to change without specific notice to you.
16.3 In consideration for Google granting you access to and use of the Services, you agree that Google may place such advertising on the Services.
17. Other content
17.1 The Services may include hyperlinks to other web sites or content or resources. Google may have no control over any web sites or resources which are provided by companies or persons other than Google.
17.2 You acknowledge and agree that Google is not responsible for the availability of any such external sites or resources, and does not endorse any advertising, products or other materials on or available from such web sites or resources.
17.3 You acknowledge and agree that Google is not liable for any loss or damage which may be incurred by you as a result of the availability of those external sites or resources, or as a result of any reliance placed by you on the completeness, accuracy or existence of any advertising, products or other materials on, or available from, such web sites or resources.
18. Changes to the Terms
18.1 Google may make changes to the Universal Terms or Additional Terms from time to time. When these changes are made, Google will make a new copy of the Universal Terms available at http://www.google.com/chrome/intl/en/eula_text.html and any new Additional Terms will be made available to you from within, or through, the affected Services.
18.2 You understand and agree that if you use the Services after the date on which the Universal Terms or Additional Terms have changed, Google will treat your use as acceptance of the updated Universal Terms or Additional Terms.
19. General legal terms
19.1 Sometimes when you use the Services, you may (as a result of, or in connection with your use of the Services) use a service or download a piece of software, or purchase goods, which are provided by another person or company. Your use of these other services, software or goods may be subject to separate terms between you and the company or person concerned. If so, the Terms do not affect your legal relationship with these other companies or individuals.
19.2 The Terms constitute the whole legal agreement between you and Google and govern your use of the Services (but excluding any services which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the Services.
19.3 You agree that Google may provide you with notices, including those regarding changes to the Terms, by email, regular mail, or postings on the Services.
19.4 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the Terms (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Googles rights and that those rights or remedies will still be available to Google.
19.5 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of these Terms is invalid, then that provision will be removed from the Terms without affecting the rest of the Terms. The remaining provisions of the Terms will continue to be valid and enforceable.
19.6 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the Terms and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the Terms which confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the Terms.
19.7 The Terms, and your relationship with Google under the Terms, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the Terms. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
20. Additional Terms for Extensions for Google Chrome
20.1 These terms in this section apply if you install extensions on your copy of Google Chrome. Extensions are small software programs, developed by Google or third parties, that can modify and enhance the functionality of Google Chrome. Extensions may have greater privileges to access your browser or your computer than regular webpages, including the ability to read and modify your private data.
20.2 From time to time, Google Chrome may check with remote servers (hosted by Google or by third parties) for available updates to extensions, including but not limited to bug fixes or enhanced functionality. You agree that such updates will be automatically requested, downloaded, and installed without further notice to you.
20.3 From time to time, Google may discover an extension that violates Google developer terms or other legal agreements, laws, regulations or policies. Google Chrome will periodically download a list of such extensions from Googles servers. You agree that Google may remotely disable or remove any such extension from user systems in its sole discretion.
21. Additional Terms for Enterprise Use
21.1 If you are a business entity, then the individual accepting on behalf of the entity (for the avoidance of doubt, for business entities, in these Terms, "you" means the entity) represents and warrants that he or she has the authority to act on your behalf, that you represent that you are duly authorized to do business in the country or countries where you operate, and that your employees, officers, representatives, and other agents accessing the Service are duly authorized to access Google Chrome and to legally bind you to these Terms.
21.2 Subject to the Terms, and in addition to the license grant in Section 9, Google grants you a non-exclusive, non-transferable license to reproduce, distribute, install, and use Google Chrome solely on machines intended for use by your employees, officers, representatives, and agents in connection with your business entity, and provided that their use of Google Chrome will be subject to the Terms.
August 12, 2010
Google Chrome Additional Terms of Service
MPEGLA
THIS PRODUCT IS LICENSED UNDER THE AVC PATENT PORTFOLIO LICENSE FOR THE PERSONAL AND NON-COMMERCIAL USE OF A CONSUMER TO (i) ENCODE VIDEO IN COMPLIANCE WITH THE AVC STANDARD ( “AVC VIDEO”) AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED BY A CONSUMER ENGAGED IN A PERSONAL AND NON-COMMERCIAL ACTIVITY AND/OR WAS OBTAINED FROM A VIDEO PARTNER LICENSED TO PROVIDE AVC VIDEO. NO LICENSE IS GRANTED OR SHALL BE IMPLIED FOR ANY OTHER USE. ADDITIONAL INFORMATION MAY BE OBTAINED FROM MPEG LA, L.L.C. SEE HTTP://WWW.MPEGLA.COM.
Adobe
Google Chrome may include one or more components provided by Adobe Systems Incorporated and Adobe Software Ireland Limited (collectively “Adobe”). Your use of the Adobe software as provided by Google (“Adobe Software”) is subject to the following additional terms (the “Adobe Terms”). You, the entity receiving the Adobe Software, will be hereinafter referred to as “Sublicensee.”
1. License Restrictions.
(a) Flash Player, Version 10.x is designed only as a browser plug-in. Sublicensee may not modify or distribute this Adobe Software for use as anything but a browser plug-in for playing back content on a web page. For example, Sublicensee will not modify this Adobe Software in order to allow interoperation with applications that run outside of the browser (e.g., standalone applications, widgets, device UI).
(b) Sublicensee will not expose any APIs of the Flash Player, Version 10.x through a browser plug-in interface in such a way that allows such extension to be used to playback content from a web page as a stand-alone application.
(c) The Chrome-Reader Software may not be used to render any PDF or EPUB documents that utilize digital rights management protocols or systems other than Adobe DRM.
(d) Adobe DRM must be enabled in the Chrome-Reader Software for all Adobe DRM protected PDF and EPUB documents.
(e) The Chrome-Reader Software may not, other than as explicitly permitted by the technical specifications, disable any capabilities provided by Adobe in the Adobe Software, including but not limited to, support for PDF and EPUB formats and Adobe DRM.
2. Electronic Transmission. Sublicensee may allow the download of the Adobe Software from a web site, the Internet, an intranet, or similar technology (an, “Electronic Transmissions”) provided that Sublicensee agrees that any distributions of the Adobe Software by Sublicensee, including those on CD-ROM, DVD-ROM or other storage media and Electronic Transmissions, if expressly permitted, shall be subject to reasonable security measures to prevent unauthorized use. With relation to Electronic Transmissions approved hereunder, Sublicensee agrees to employ any reasonable use restrictions set by Adobe, including those related to security and/or the restriction of distribution to end users of the Sublicensee Product.
3. EULA and Distribution Terms.
(a) Sublicensee shall ensure that the Adobe Software is distributed to end users under an enforceable end user license agreement, in favor of Sublicensee and its suppliers containing at least each of the following minimum terms (the “End-User License”): (i) a prohibition against distribution and copying, (ii) a prohibition against modifications and derivative works, (iii) a prohibition against decompiling, reverse engineering, disassembling, and otherwise reducing the Adobe Software to a human-perceivable form, (iv) a provision indicating ownership of Sublicensee Product (as defined in Section 8) by Sublicensee and its licensors, (v) a disclaimer of indirect, special, incidental, punitive, and consequential damages, and (vi) other industry standard disclaimers and limitations, including, as applicable: a disclaimer of all applicable statutory warranties, to the full extent allowed by law.
(b) Sublicensee shall ensure that the Adobe Software is distributed to Sublicensees distributors under an enforceable distribution license agreement, in favor of Sublicensee and its suppliers containing terms as protective of Adobe as the Adobe Terms.
4. Opensource. Sublicensee will not directly or indirectly grant, or purport to grant, to any third party any rights or immunities under Adobes intellectual property or proprietary rights that will subject such intellectual property to an open source license or scheme in which there is or could be interpreted to be a requirement that as a condition of use, modification and/or distribution, the Adobe Software be: (i) disclosed or distributed in source code form; (ii) licensed for the purpose of making derivative works; or (iii) redistributable at no charge. For clarification purposes, the foregoing restriction does not preclude Sublicensee from distributing, and Sublicensee will distribute the Adobe Software as bundled with the Google Software, without charge.
5. Additional Terms. With respect to any update, upgrade, new versions of the Adobe Software (collectively “Upgrades”) provided to Sublicenses, Adobe reserves the right to require additional terms and conditions applicable solely to the Upgrade and future versions thereof, and solely to the extent that such restrictions are imposed by Adobe on all licensees of such Upgrade. If Sublicensee does not agree to such additional terms or conditions, Sublicensee will have no license rights with respect to such Upgrade, and Sublicensees license rights with respect to the Adobe Software will terminate automatically on the 90th day from the date such additional terms are made available to Sublicensee.
6. Proprietary Rights Notices. Sublicensee shall not, and shall require its distributors not to, delete or in any manner alter the copyright notices, trademarks, logos or related notices, or other proprietary rights notices of Adobe (and its licensors, if any) appearing on or within the Adobe Software or accompanying materials.
7. Technical Requirements. Sublicensee and its distributors may only distribute Adobe Software and/or Upgrade on devices that (i) meet the technical specifications posted on http://www.adobe.com/mobile/licensees, (or a successor web site thereto), and (ii) has been verified by Adobe as set forth below.
8. Verification and Update. Sublicensee must submit to Adobe each Sublicensee product (and each version thereof) containing the Adobe Software and/or Upgrade (“Sublicensee Product”) that do not meet the Device Verification exemption criteria to be communicated by Google, for Adobe to verify. Sublicensee shall pay for each submission made by Sublicensee by procuring verification packages at Adobes then-current terms set forth at http://flashmobile.adobe.com/. Sublicensee Product that has not passed verification may not be distributed. Verification will be accomplished in accordance with Adobes then-current process described at http://flashmobile.adobe.com/ (“Verification”).
9. Profiles and Device Central. Sublicensee will be prompted to enter certain profile information about the Sublicensee Products either as part of the Verification process or some other method, and Sublicensee will provide such information, to Adobe. Adobe may (i) use such profile information as reasonably necessary to verify the Sublicensee Product (if such product is subject to Verification), and (ii) display such profile information in “Adobe Device Intelligence system,” located at https://devices.adobe.com/partnerportal/, and made available through Adobes authoring and development tools and services to enable developers and end users to see how content or applications are displayed in Sublicensee Products (e.g. how video images appear in certain phones).
10. Export. Sublicensee acknowledges that the laws and regulations of the United States restrict the export and re-export of commodities and technical data of United States origin, which may include the Adobe Software. Sublicensee agrees that it will not export or re-export the Adobe Software, without the appropriate United States and foreign governmental clearances, if any.
11. Technology Pass-through Terms.
(a) Except pursuant to applicable permissions or agreements therefor, from or with the applicable parties, Sublicensees shall not use and shall not allow the use of, the Adobe Software for the encoding or decoding of mp3 audio only (.mp3) data on any non-pc device (e.g., mobile phone or set-top box), nor may the mp3 encoders or decoders contained in the Adobe Software be used or accessed by any product other than the Adobe Software. The Adobe Software may be used for the encoding or decoding of MP3 data contained within a swf or flv file, which contains video, picture or other data. Sublicensee shall acknowledge that use of the Adobe Software for non-PC devices, as described in the prohibitions in this section, may require the payment of licensing royalties or other amounts to third parties who may hold intellectual property rights related to the MP3 technology and that Adobe nor Sublicensee has not paid any royalties or other amounts on account of third party intellectual property rights for such use. If Sublicensee requires an MP3 encoder or decoder for such use, Sublicensee is responsible for obtaining the necessary intellectual property license, including any applicable patent rights.
(b) Sublicensee will not use, copy, reproduce and modify (i) the On2 source code (provided hereunder as a component of the Source Code) as necessary to enable the Adobe Software to decode video in the Flash video file format (.flv or .f4v), and (ii) the Sorenson Spark source code (provided hereunder as a component of the Source Code) for the limited purpose of making bug fixes and performance enhancements to the Adobe Software. All codecs provided with the Adobe Software may only be used and distributed as an integrated part of the Adobe Software and may not be accessed by any other application, including other Google applications.
(c) The Source Code may be provided with an AAC codec and/or HE-AAC codec (“the AAC Codec”). Use of the AAC Codec is conditioned on Sublicensee obtaining a proper patent license covering necessary patents as provided by VIA Licensing, for end products on or in which the AAC Codec will be used. Sublicensee acknowledges and agrees that Adobe is not providing a patent license for an AAC Codec under this Agreement to Sublicensee or its sublicensees.
(d) THE SOURCE CODE MAY CONTAIN CODE LICENSED UNDER THE AVC PATENT PORTFOLIO LICENSE FOR THE PERSONAL NON-COMMERCIAL USE OF A CONSUMER TO (i) ENCODE VIDEO IN COMPLIANCE WITH THE AVC STANDARD ("AVC VIDEO") AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED BY A CONSUMER ENGAGED IN A PERSONAL NON-COMMERCIAL ACTIVITY AND/OR WAS OBTAINED FROM A VIDEO PROVIDER LICENSED TO PROVIDE AVC VIDEO. NO LICENSE IS GRANTED OR WILL BE IMPLIED FOR ANY OTHER USE. ADDITIONAL INFORMATION MAY BE OBTAINED FROM MPEG LA, L.L.C. See http://www.mpegla.com
12. Update. Sublicensee will not circumvent Googles or Adobes efforts to update the Adobe Software in all Sublicensees products incorporating the Adobe Software as bundled with the Google Software (“Sublicensee Products”).
13. Attribution and Proprietary Notices. Sublicensee will list the Adobe Software in publicly available Sublicensee Product specifications and include appropriate Adobe Software branding (specifically excluding the Adobe corporate logo) on the Sublicensee Product packaging or marketing materials in a manner consistent with branding of other third party products contained within the Sublicensee Product.
14. No Warranty. THE ADOBE SOFTWARE IS MADE AVAILABLE TO SUBLICENSEE FOR USE AND REPRODUCTION “AS IS” AND ADOBE MAKES NO WARRANTY AS TO ITS USE OR PERFORMANCE. ADOBE AND ITS SUPPLIERS DO NOT AND CANNOT WARRANT THE PERFORMANCE OR RESULTS OBTAINED BY USING THE ADOBE SOFTWARE. EXCEPT FOR ANY WARRANTY, CONDITION, REPRESENTATION OR TERM TO THE EXTENT TO WHICH THE SAME CANNOT OR MAY NOT BE EXCLUDED OR LIMITED BY LAW APPLICABLE TO SUBLICENSEEIN SUBLICENSEES JURISDICTION, ADOBE AND ITS SUPPLIERS MAKE NO WARRANTIES, CONDITIONS, REPRESENTATIONS, OR TERMS (EXPRESS OR IMPLIED WHETHER BY STATUTE, COMMON LAW, CUSTOM, USAGE OR OTHERWISE) AS TO ANY MATTER INCLUDING WITHOUT LIMITATION NONINFRINGEMENT OF THIRD PARTY RIGHTS, MERCHANTABILITY, INTEGRATION, SATISFACTORY QUALITY, OR FITNESS FOR ANY PARTICULAR PURPOSE. SUBLICENSEE AGREES THAT SUBLICENSEE SHALL NOT MAKE ANY WARRANTY, EXPRESS OR IMPLIED, ON BEHALF OF ADOBE.
15. Limitation of Liability. IN NO EVENT WILL ADOBE OR ITS SUPPLIERS BE LIABLE TO SUBLICENSEE FOR ANY DAMAGES, CLAIMS OR COSTS WHATSOEVER OR ANY CONSEQUENTIAL, INDIRECT, OR INCIDENTAL DAMAGES, OR ANY LOST PROFITS OR LOST SAVINGS, EVEN IF AN ADOBE REPRESENTATIVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, DAMAGES, CLAIMS OR COSTS OR FOR ANY CLAIM BY ANY THIRD PARTY. THE FOREGOING LIMITATIONS AND EXCLUSIONS APPLY TO THE EXTENT PERMITTED BY APPLICABLE LAW IN SUBLICENSEES JURISDICTION. ADOBES AGGREGATE LIABILITY AND THAT OF ITS SUPPLIERS UNDER OR IN CONNECTION WITH THIS AGREEMENT SHALL BE LIMITED TO ONE THOUSAND DOLLARS (US$1,000). Nothing contained in this Agreement limits Adobes liability to Sublicensee in the event of death or personal injury resulting from Adobes negligence or for the tort of deceit (fraud). Adobe is acting on behalf of its suppliers for the purpose of disclaiming, excluding and/or limiting obligations, warranties and liability as provided in this Agreement, but in no other respects and for no other purpose.
16. Content Protection Terms
(a) Definitions.
“Compliance and Robustness Rules” means the document setting forth compliance and robustness rules for the Adobe Software located at http://www.adobe.com/mobile/licensees, or a successor web site thereto.
“Content Protection Functions” means those aspects of the Adobe Software that are designed to ensure compliance with the Compliance and Robustness Rules, and to prevent playback, copying, modification, redistribution or other actions with respect to digital content distributed for consumption by users of the Adobe Software when such actions are not authorized by the owners of such digital content or its licensed distributors.
“Content Protection Code” means code within certain designated versions of the Adobe Software that enables certain Content Protection Functions.
“Key” means a cryptographic value contained in the Adobe Software for use in decrypting digital content.
(b) License Restrictions. Sublicensees right to exercise the licenses with respect to the Adobe Software is subject to the following additional restrictions and obligations. Sublicensee will ensure that Sublicensees customers comply with these restrictions and obligations to the same extent imposed on Sublicensee with respect to the Adobe Software; any failure by Sublicensees customers to comply with these additional restrictions and obligations shall be treated as a material breach by Sublicensee.
b.1. Sublicensee and customers may only distribute the Adobe Software that meets the Robustness and Compliance Rules as so confirmed by Sublicensee during the verification process described above in the Adobe Terms.
b.2. Sublicensee shall not (i) circumvent the Content Protection Functions of either the Adobe Software or any related Adobe Software that is used to encrypt or decrypt digital content for authorized consumption by users of the Adobe Software, or (ii) develop or distribute products that are designed to circumvent the Content Protection Functions of either the Adobe Software or any Adobe Software that is used to encrypt or decrypt digital content for authorized consumption by users of the Adobe Software.
(c) The Keys are hereby designated as Adobes Confidential Information, and Sublicensee will, with respect to the Keys, adhere to Adobes Source Code Handling Procedure (to be provided by Adobe upon request).
(d) Injunctive Relief. Sublicensee agrees that a breach of this Agreement may compromise the Content Protection Functions of the Adobe Software and may cause unique and lasting harm to the interests of Adobe and owners of digital content that rely on such Content Protection Functions, and that monetary damages may be inadequate to compensate fully for such harm. Therefore, Sublicensee further agrees that Adobe may be entitled to seek injunctive relief to prevent or limit the harm caused by any such breach, in addition to monetary damages.
17. Intended Third-party Beneficiary. Adobe Systems Incorporated and Adobe Software Ireland Limited are the intended third-party beneficiaries of Googles agreement with Sublicensee with respect to the Adobe Software, including but not limited to, the Adobe Terms. Sublicensee agrees, notwithstanding anything to the contrary in its agreement with Google, that Google may disclose Sublicensees identity to Adobe and certify in writing that Sublicensee has entered into a license agreement with Google which includes the Adobe Terms. Sublicensee must have an agreement with each of its licensees, and if such licensees are allowed to redistribute the Adobe Software, such agreement will include the Adobe Terms.

View File

@@ -0,0 +1,63 @@
Name: chromium-widevine
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Summary: Google Chrome's Widevine plugin for Chromium
Group: Applications/Web
Vendor: @vendor@
Distribution: @distribution@
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.widevine.com/
Source: LICENSE
License: Non Distributable
BuildPrereq: wget
BuildPrereq: /usr/bin/tempfile
# NOTE: requires the backward compatible version of the libstdc++ library
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Google Chrome's Widevine plugin for Chromium.
%prep
%setup -c -n %{name}-%{version} -T
[ -r /etc/sysconfig/@sysconfigfile@ ] || exit 1
declare -A SRPMVERSION SRPMRELEASE
. /etc/sysconfig/@sysconfigfile@
[ "${CHROMIUM_WIDEVINE_PCK}" ] || exit 1
[ "${CHROMIUM_WIDEVINE_URL}" ] || \
CHROMIUM_WIDEVINE_URL="https://dl.google.com/linux/direct/"
tmpdir=$(mktemp -q -d -t chromium-widevine.XXXXXXXX)
[ $? -eq 0 ] || exit 1
[ -f ${tmpdir}/${WIDEVINE_PCK} ] ||
wget -nv --timeout=10 --tries=2 \
${CHROMIUM_WIDEVINE_URL}${CHROMIUM_WIDEVINE_PCK} -O ${tmpdir}/${CHROMIUM_WIDEVINE_PCK}
[ -f ${tmpdir}/${CHROMIUM_WIDEVINE_PCK} ] || exit 1
rpm2cpio ${tmpdir}/${CHROMIUM_WIDEVINE_PCK}|cpio -id
%build -q
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d -m0755 %{buildroot}%{_libdir}/chromium
install -D -m0755 opt/google/chrome/libwidevinecdm.so %{buildroot}%{_libdir}/chromium/libwidevinecdm.so
cp %{S:0} LICENSE
rm -fr ${tmpdir}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
rm -rf %{_builddir}/%{name}-*
:
%files
%defattr(-,root,root)
%{_libdir}/chromium/libwidevinecdm.so
%doc LICENSE
%changelog
* Sat Jun 16 2018 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
- first build for chromium-widevine

View File

@@ -0,0 +1,7 @@
## Google Chrome's Widevine plugin
# package name (do not modify unless you know what you're doing)
CHROMIUM_WIDEVINE_PCK=google-chrome-stable_current_@arch@.rpm
# package URL (do not modify unless you know what you're doing)
CHROMIUM_WIDEVINE_URL=https://dl.google.com/linux/direct/

View File

@@ -1,7 +1,7 @@
## Adobe Flash Plugin ## Adobe Flash Plugin
# package name (do not modify unless you know what you're doing) # package name (do not modify unless you know what you're doing)
FLASH_PLUGIN_PCK=install_flash_player_11_linux.@arch@.tar.gz FLASH_PLUGIN_PCK=flash_player_npapi_linux.@arch@.tar.gz
# package URL (do not modify unless you know what you're doing) # package URL (do not modify unless you know what you're doing)
FLASH_PLUGIN_URL=http://fpdownload.macromedia.com/get/flashplayer/pdc/${SRPMVERSION["flashplugin"]}/ FLASH_PLUGIN_URL=http://fpdownload.macromedia.com/get/flashplayer/pdc/${SRPMVERSION["flashplugin"]}/

View File

@@ -61,23 +61,25 @@ Sun Java Platform Runtime Environment.
%setup -q -T -c %setup -q -T -c
DOWNLOAD_FRAGMENT=`curl --max-time 20 -sL http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\([a-zA-Z0-9-]*\).*/jdk-.*|\1|"`
#echo yes | MORE=10000 #echo yes | MORE=10000
%ifarch %{ix86} %ifarch %{ix86}
wget -nv --tries=2 --no-cookies --header \ wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \ "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-i586.tar.gz http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-i586.tar.gz
tar xf jdk-%{realver}-linux-i586.tar.gz tar xf jdk-%{realver}-linux-i586.tar.gz
%endif %endif
%ifarch x86_64 %ifarch x86_64
wget -nv --tries=2 --no-cookies --header \ wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \ "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-x64.tar.gz http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-x64.tar.gz
tar xf jdk-%{realver}-linux-x64.tar.gz tar xf jdk-%{realver}-linux-x64.tar.gz
%endif %endif
%ifarch arm %ifarch arm
wget -nv --tries=2 --no-cookies --header \ wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \ "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/%{pkgver}/jdk-%{realver}-linux-arm-vfp-sflt.tar.gz http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-arm-vfp-sflt.tar.gz
tar xf jdk-%{realver}-linux-arm-sfp.tar.gz tar xf jdk-%{realver}-linux-arm-sfp.tar.gz
%endif %endif

68
SRPMS/sun-java8/LICENSE Normal file
View File

@@ -0,0 +1,68 @@
Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX
ORACLE AMERICA, INC. ("ORACLE"), FOR AND ON BEHALF OF ITSELF AND ITS SUBSIDIARIES AND AFFILIATES UNDER COMMON CONTROL, IS WILLING TO LICENSE THE SOFTWARE TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. BY SELECTING THE "ACCEPT LICENSE AGREEMENT" (OR THE EQUIVALENT) BUTTON AND/OR BY USING THE SOFTWARE YOU ACKNOWLEDGE THAT YOU HAVE READ THE TERMS AND AGREE TO THEM. IF YOU ARE AGREEING TO THESE TERMS ON BEHALF OF A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT THAT YOU HAVE THE LEGAL AUTHORITY TO BIND THE LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT HAVE SUCH AUTHORITY, OR IF YOU DO NOT WISH TO BE BOUND BY THE TERMS, THEN SELECT THE "DECLINE LICENSE AGREEMENT" (OR THE EQUIVALENT) BUTTON AND YOU MUST NOT USE THE SOFTWARE ON THIS SITE OR ANY OTHER MEDIA ON WHICH THE SOFTWARE IS CONTAINED.
1. DEFINITIONS. "Software" means the software identified above in binary form that you selected for download, install or use (in the version You selected for download, install or use) from Oracle or its authorized licensees, any other machine readable materials (including, but not limited to, libraries, source files, header files, and data files), any updates or error corrections provided by Oracle, and any user manuals, programming guides and other documentation provided to you by Oracle under this Agreement. "General Purpose Desktop Computers and Servers" means computers, including desktop and laptop computers, or servers, used for general computing functions under end user control (such as but not specifically limited to email, general purpose Internet browsing, and office suite productivity tools). The use of Software in systems and solutions that provide dedicated functionality (other than as mentioned above) or designed for use in embedded or function-specific software applications, for example but not limited to: Software embedded in or bundled with industrial control systems, wireless mobile telephones, wireless handheld devices, kiosks, TV/STB, Blu-ray Disc devices, telematics and network control switching equipment, printers and storage management systems, and other related systems are excluded from this definition and not licensed under this Agreement. "Programs" means (a) Java technology applets and applications intended to run on the Java Platform, Standard Edition platform on Java-enabled General Purpose Desktop Computers and Servers; and (b) JavaFX technology applications intended to run on the JavaFX Runtime on JavaFX-enabled General Purpose Desktop Computers and Servers. “Commercial Features” means those features identified in Table 1-1 (Commercial Features In Java SE Product Editions) of the Java SE documentation accessible at http://www.oracle.com/technetwork/java/javase/documentation/index.html. “README File” means the README file for the Software accessible at http://www.oracle.com/technetwork/java/javase/documentation/index.html.
2. LICENSE TO USE. Subject to the terms and conditions of this Agreement including, but not limited to, the Java Technology Restrictions of the Supplemental License Terms, Oracle grants you a non-exclusive, non-transferable, limited license without license fees to reproduce and use internally the Software complete and unmodified for the sole purpose of running Programs. THE LICENSE SET FORTH IN THIS SECTION 2 DOES NOT EXTEND TO THE COMMERCIAL FEATURES. YOUR RIGHTS AND OBLIGATIONS RELATED TO THE COMMERCIAL FEATURES ARE AS SET FORTH IN THE SUPPLEMENTAL TERMS ALONG WITH ADDITIONAL LICENSES FOR DEVELOPERS AND PUBLISHERS.
3. RESTRICTIONS. Software is copyrighted. Title to Software and all associated intellectual property rights is retained by Oracle and/or its licensors. Unless enforcement is prohibited by applicable law, you may not modify, decompile, or reverse engineer Software. You acknowledge that the Software is developed for general use in a variety of information management applications; it is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use the Software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle disclaims any express or implied warranty of fitness for such uses. No right, title or interest in or to any trademark, service mark, logo or trade name of Oracle or its licensors is granted under this Agreement. Additional restrictions for developers and/or publishers licenses are set forth in the Supplemental License Terms.
4. DISCLAIMER OF WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ORACLE FURTHER DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
5. LIMITATION OF LIABILITY. IN NO EVENT SHALL ORACLE BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR DAMAGES FOR LOSS OF PROFITS, REVENUE, DATA OR DATA USE, INCURRED BY YOU OR ANY THIRD PARTY, WHETHER IN AN ACTION IN CONTRACT OR TORT, EVEN IF ORACLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ORACLE'S ENTIRE LIABILITY FOR DAMAGES HEREUNDER SHALL IN NO EVENT EXCEED ONE THOUSAND DOLLARS (U.S. $1,000).
6. TERMINATION. This Agreement is effective until terminated. You may terminate this Agreement at any time by destroying all copies of Software. This Agreement will terminate immediately without notice from Oracle if you fail to comply with any provision of this Agreement. Either party may terminate this Agreement immediately should any Software become, or in either party's opinion be likely to become, the subject of a claim of infringement of any intellectual property right. Upon termination, you must destroy all copies of Software.
7. EXPORT REGULATIONS. You agree that U.S. export control laws and other applicable export and import laws govern your use of the Software, including technical data; additional information can be found on Oracle's Global Trade Compliance web site (http://www.oracle.com/products/export). You agree that neither the Software nor any direct product thereof will be exported, directly, or indirectly, in violation of these laws, or will be used for any purpose prohibited by these laws including, without limitation, nuclear, chemical, or biological weapons proliferation.
8. TRADEMARKS AND LOGOS. You acknowledge and agree as between you
and Oracle that Oracle owns the ORACLE and JAVA trademarks and all ORACLE- and JAVA-related trademarks, service marks, logos and other brand
designations ("Oracle Marks"), and you agree to comply with the Third
Party Usage Guidelines for Oracle Trademarks currently located at
http://www.oracle.com/us/legal/third-party-trademarks/index.html . Any use you make of the Oracle Marks inures to Oracle's benefit.
9. U.S. GOVERNMENT LICENSE RIGHTS. If Software is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), then the Government's rights in Software and accompanying documentation shall be only those set forth in this Agreement.
10. GOVERNING LAW. This agreement is governed by the substantive and procedural laws of California. You and Oracle agree to submit to the exclusive jurisdiction of, and venue in, the courts of San Francisco, or Santa Clara counties in California in any dispute arising out of or relating to this agreement.
11. SEVERABILITY. If any provision of this Agreement is held to be unenforceable, this Agreement will remain in effect with the provision omitted, unless omission would frustrate the intent of the parties, in which case this Agreement will immediately terminate.
12. INTEGRATION. This Agreement is the entire agreement between you and Oracle relating to its subject matter. It supersedes all prior or contemporaneous oral or written communications, proposals, representations and warranties and prevails over any conflicting or additional terms of any quote, order, acknowledgment, or other communication between the parties relating to its subject matter during the term of this Agreement. No modification of this Agreement will be binding, unless in writing and signed by an authorized representative of each party.
SUPPLEMENTAL LICENSE TERMS
These Supplemental License Terms add to or modify the terms of the Binary Code License Agreement. Capitalized terms not defined in these Supplemental Terms shall have the same meanings ascribed to them in the Binary Code License Agreement. These Supplemental Terms shall supersede any inconsistent or conflicting terms in the Binary Code License Agreement, or in any license contained within the Software.
A. COMMERCIAL FEATURES. You may not use the Commercial Features for running Programs, Java applets or applications in your internal business operations or for any commercial or production purpose, or for any purpose other than as set forth in Sections B, C, D and E of these Supplemental Terms. If You want to use the Commercial Features for any purpose other than as permitted in this Agreement, You must obtain a separate license from Oracle.
B. SOFTWARE INTERNAL USE FOR DEVELOPMENT LICENSE GRANT. Subject to the terms and conditions of this Agreement and restrictions and exceptions set forth in the README File incorporated herein by reference, including, but not limited to the Java Technology Restrictions of these Supplemental Terms, Oracle grants you a non-exclusive, non-transferable, limited license without fees to reproduce internally and use internally the Software complete and unmodified for the purpose of designing, developing, and testing your Programs.
C. LICENSE TO DISTRIBUTE SOFTWARE. Subject to the terms and conditions of this Agreement and restrictions and exceptions set forth in the README File, including, but not limited to the Java Technology Restrictions and Limitations on Redistribution of these Supplemental Terms, Oracle grants you a non-exclusive, non-transferable, limited license without fees to reproduce and distribute the Software, provided that (i) you distribute the Software complete and unmodified and only bundled as part of, and for the sole purpose of running, your Programs, (ii) the Programs add significant and primary functionality to the Software, (iii) you do not distribute additional software intended to replace any component(s) of the Software, (iv) you do not remove or alter any proprietary legends or notices contained in the Software, (v) you only distribute the Software subject to a license agreement that: (a) is a complete, unmodified reproduction of this Agreement; or (b) protects Oracle's interests consistent with the terms contained in this Agreement and that includes the notice set forth in Section H, and (vi) you agree to defend and indemnify Oracle and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of any and all Programs and/or Software. The license set forth in this Section C does not extend to the Software identified in Section G.
D. LICENSE TO DISTRIBUTE REDISTRIBUTABLES. Subject to the terms and conditions of this Agreement and restrictions and exceptions set forth in the README File, including but not limited to the Java Technology Restrictions and Limitations on Redistribution of these Supplemental Terms, Oracle grants you a non-exclusive, non-transferable, limited license without fees to reproduce and distribute those files specifically identified as redistributable in the README File ("Redistributables") provided that: (i) you distribute the Redistributables complete and unmodified, and only bundled as part of Programs, (ii) the Programs add significant and primary functionality to the Redistributables, (iii) you do not distribute additional software intended to supersede any component(s) of the Redistributables (unless otherwise specified in the applicable README File), (iv) you do not remove or alter any proprietary legends or notices contained in or on the Redistributables, (v) you only distribute the Redistributables pursuant to a license agreement that: (a) is a complete, unmodified reproduction of this Agreement; or (b) protects Oracle's interests consistent with the terms contained in the Agreement and includes the notice set forth in Section H, (vi) you agree to defend and indemnify Oracle and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of any and all Programs and/or Software. The license set forth in this Section D does not extend to the Software identified in Section G.
E. DISTRIBUTION BY PUBLISHERS. This section pertains to your distribution of the JavaTM SE Development Kit Software (“JDK”) with your printed book or magazine (as those terms are commonly used in the industry) relating to Java technology ("Publication"). Subject to and conditioned upon your compliance with the restrictions and obligations contained in the Agreement, Oracle hereby grants to you a non-exclusive, nontransferable limited right to reproduce complete and unmodified copies of the JDK on electronic media (the "Media") for the sole purpose of inclusion and distribution with your Publication(s), subject to the following terms: (i) You may not distribute the JDK on a stand-alone basis; it must be distributed with your Publication(s); (ii) You are responsible for downloading the JDK from the applicable Oracle web site; (iii) You must refer to the JDK as JavaTM SE Development Kit; (iv) The JDK must be reproduced in its entirety and without any modification whatsoever (including with respect to all proprietary notices) and distributed with your Publication subject to a license agreement that is a complete, unmodified reproduction of this Agreement; (v) The Media label shall include the following information: “Copyright [YEAR], Oracle America, Inc. All rights reserved. Use is subject to license terms. ORACLE and JAVA trademarks and all ORACLE- and JAVA-related trademarks, service marks, logos and other brand designations are trademarks or registered trademarks of Oracle in the U.S. and other countries.” [YEAR] is the year of Oracle's release of the Software; the year information can typically be found in the Softwares “About” box or screen. This information must be placed on the Media label in such a manner as to only apply to the JDK; (vi) You must clearly identify the JDK as Oracle's product on the Media holder or Media label, and you may not state or imply that Oracle is responsible for any third-party software contained on the Media; (vii) You may not include any third party software on the Media which is intended to be a replacement or substitute for the JDK; (viii) You agree to defend and indemnify Oracle and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of the JDK and/or the Publication; ; and (ix) You shall provide Oracle with a written notice for each Publication; such notice shall include the following information: (1) title of Publication, (2) author(s), (3) date of Publication, and (4) ISBN or ISSN numbers. Such notice shall be sent to Oracle America, Inc., 500 Oracle Parkway, Redwood Shores, California 94065 U.S.A , Attention: General Counsel.
F. JAVA TECHNOLOGY RESTRICTIONS. You may not create, modify, or change the behavior of, or authorize your licensees to create, modify, or change the behavior of, classes, interfaces, or subpackages that are in any way identified as "java", "javax", "sun", “oracle” or similar convention as specified by Oracle in any naming convention designation.
G. LIMITATIONS ON REDISTRIBUTION. You may not redistribute or otherwise transfer: (a) JavaFX Runtime prior to version 2.0.2, (b) JavaFX Development Kit prior to version 2.0.2, or (c) any and all patches, bug fixes and updates made available by Oracle through Oracle Premier Support, including those made available under Oracle's Java SE Support program.
H. COMMERCIAL FEATURES NOTICE. For purpose of complying with Supplemental Term Section C.(v)(b) and D.(v)(b), your license agreement shall include the following notice, where the notice is displayed in a manner that anyone using the Software will see the notice:
Use of the Commercial Features for any commercial or production purpose requires a separate license from Oracle. “Commercial Features” means those features identified Table 1-1 (Commercial Features In Java SE Product Editions) of the Java SE documentation accessible at http://www.oracle.com/technetwork/java/javase/documentation/index.html
I. SOURCE CODE. Software may contain source code that, unless expressly licensed for other purposes, is provided solely for reference purposes pursuant to the terms of this Agreement. Source code may not be redistributed unless expressly provided for in this Agreement.
J. THIRD PARTY CODE. Additional copyright notices and license terms applicable to portions of the Software are set forth in the THIRDPARTYLICENSEREADME file accessible at http://www.oracle.com/technetwork/java/javase/documentation/index.html. In addition to any terms and conditions of any third party opensource/freeware license identified in the THIRDPARTYLICENSEREADME file, the disclaimer of warranty and limitation of liability provisions in paragraphs 4 and 5 of the Binary Code License Agreement shall apply to all Software in this distribution.
K. TERMINATION FOR INFRINGEMENT. Either party may terminate this Agreement immediately should any Software become, or in either party's opinion be likely to become, the subject of a claim of infringement of any intellectual property right.
L. INSTALLATION AND AUTO-UPDATE. The Software's installation and auto-update processes transmit a limited amount of data to Oracle (or its service provider) about those specific processes to help Oracle understand and optimize them. Oracle does not associate the data with personally identifiable information. You can find more information about the data Oracle collects as a result of your Software download at http://www.oracle.com/technetwork/java/javase/documentation/index.html.
For inquiries please contact:
Oracle America, Inc., 500 Oracle Parkway,
Redwood Shores, California 94065, USA.
Last updated 2 July 2012

View File

View File

@@ -0,0 +1,761 @@
%define JRE_NSVER 8
%define pkgver %(echo %version | tr _ -)
%define realver %(echo %version | cut -d_ -f1)
%define MAJOR %(echo %realver | cut -du -f1)
%define MINOR %(echo %realver | cut -du -f2)
%define major 1.%{MAJOR}
%define minor 0
%define origin sun
%define javaver %{major}.%{minor}
%define jppname java-%{javaver}-%{origin}
%define javaws_ver %{javaver}
%define toplevel_dir jdk%{javaver}_%{MINOR}
%define distversion %{realver}
%define label -%{name}
%define jdklnk jdk8-%{origin}
%define jrelnk jre8-%{origin}
%define jdkdir %{jppname}
%define jredir %{jdkdir}/jre
%define jdkbindir %{_jvmdir}/%{jdklnk}/bin
%define jdklibdir %{_jvmdir}/%{jdklnk}/lib
%define jrebindir %{_jvmdir}/%{jrelnk}/bin
%define jvmjardir %{_jvmjardir}/%{jppname}
%define cgibindir %{_var}/www/cgi-bin
Name: sun-java8
Version: @SRPMVERSION@
Release: @SRPMRELEASE@
Epoch: 1
Summary: Sun Java Developer's Kit
Group: System/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.oracle.com/technetwork/java/javase/overview/index.html
Source: LICENSE
BuildRequires: jpackage-utils
Provides: jdk = %{realver}
Provides: jdk2 = %{realver}
License: Oracle Binary Code License
Requires: shared-mime-info
Requires: desktop-file-utils
Requires: sun-java8-runtime = %{epoch}:%{version}-%{release}
Requires: menu-java
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Sun Java Developer's Kit.
%package runtime
Summary: Sun Java Platform Runtime Environment
Group: System/Libraries/Java
#Obsoletes: j2re
Provides: j2re = %{realver}
Provides: jre = %{realver}
%description runtime
Sun Java Platform Runtime Environment.
%prep
[ "%{toplevel_dir}" != / ] && rm -rf "%{toplevel_dir}"
%setup -q -T -c
DOWNLOAD_FRAGMENT=`curl --max-time 20 -sL http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|"`
#echo yes | MORE=10000
%ifarch %{ix86}
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-i586.tar.gz
tar xf jdk-%{realver}-linux-i586.tar.gz
%endif
%ifarch x86_64
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-x64.tar.gz
tar xf jdk-%{realver}-linux-x64.tar.gz
%endif
%ifarch arm
wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/${DOWNLOAD_FRAGMENT}/jdk-%{realver}-linux-arm-vfp-sflt.tar.gz
tar xf jdk-%{realver}-linux-arm-sfp.tar.gz
%endif
cd %{toplevel_dir}
#cp %{SOURCE5} ./construct.sh
#mkdir unbundle-jdk
#cd unbundle-jdk
#sh %{SOURCE0} --accept-license
chmod -R u+w *
#for pack in $(find . -name "*.pack"); do
# bin/unpack200 $pack $(echo $pack | sed -e s:.pack::g).jar
#done
%install
cd %{toplevel_dir}
#construct.sh unbundle-jdk linux-jdk linux-jre
install -d -m 755 %{buildroot}%{_jvmdir}/%{jdkdir}
install -d -m 755 %{buildroot}%{_jvmdir}/%{jredir}
cat > bin/HtmlConverter << EOF
%{jrebindir}/java -jar %{jdklibdir}/htmlconverter.jar $*
EOF
sed -i "s|PATH=.*|PATH=%{jrebindir}|" bin/java-rmi.cgi
# main
cp -a bin include lib src.zip %{buildroot}%{_jvmdir}/%{jdkdir}
# extensions
install -d -m 755 %{buildroot}%{jvmjardir}
pushd %{buildroot}%{jvmjardir}
ln -s %{_jvmdir}/%{jredir}/lib/jsse.jar jsse-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/jce.jar jce-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-ldap-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-cos-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jndi-rmi-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jaas-%{javaver}.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar jdbc-stdext-%{javaver}.jar
ln -s jdbc-stdext-%{javaver}.jar jdbc-stdext-3.0.jar
ln -s %{_jvmdir}/%{jredir}/lib/rt.jar sasl-%{javaver}.jar
# ln -s %{_jvmdir}/%{jredir}/lib/rt.jar xml-commons-apis.jar
for jar in *-%{javaver}.jar ; do
#if [ %{realver} != %{javaver} ]; then
#ln -fs ${jar} $(echo $jar | sed "s|-%{realver}.jar|-%{javaver}.jar|g")
#fi
ln -fs ${jar} $(echo $jar | sed "s|-%{javaver}.jar|.jar|g")
done
popd
# rest of jre
cp -a jre/bin jre/lib %{buildroot}%{_jvmdir}/%{jredir}
#cp -a jre/javaws %{buildroot}%{_jvmdir}/%{jredir}
%ifnarch arm
cp -a jre/plugin %{buildroot}%{_jvmdir}/%{jredir}
%endif
# see <http://www.java.com/it/download/help/5000010500.xml#install>
mkdir -p %{buildroot}%{_datadir}/pixmaps
mkdir -p %{buildroot}%{_datadir}/icons/mini
%ifnarch arm
install -m 644 jre/plugin/desktop/%{origin}_java.png \
%{buildroot}%{_datadir}/pixmaps/%{name}.png
ln -s %{_datadir}/pixmaps/%{name}.png %{buildroot}%{_datadir}/icons/mini/%{name}.png
install -d %{buildroot}%{_libdir}/mozilla/plugins
%endif
%ifarch %{ix86}
ln -s %{_jvmdir}/%{jredir}/plugin/i386/ns%{JRE_NSVER}/libjavaplugin_oji.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_oji.so
ln -s %{_jvmdir}/%{jredir}/plugin/i386/ns%{JRE_NSVER}/libjavaplugin_oji.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libjavaplugin_jni.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_jni.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libjavaplugin_nscp.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_nscp.so
ln -s %{_jvmdir}/%{jredir}/lib/i386/libnpjp2.so \
%{buildroot}%{_libdir}/mozilla/plugins/libnpjp2-8.so
%endif
%ifarch x86_64
ln -s %{_jvmdir}/%{jredir}/lib/amd64/libjavaplugin_jni.so \
%{buildroot}%{_libdir}/mozilla/plugins/libjava8plugin_jni.so
ln -s %{_jvmdir}/%{jredir}/lib/amd64/libnpjp2.so \
%{buildroot}%{_libdir}/mozilla/plugins/libnpjp2-8.so
%endif
install -d -m 755 %{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla
for file in local_policy.jar US_export_policy.jar; do
mv %{buildroot}%{_jvmdir}/%{jredir}/lib/security/policy/unlimited/$file \
%{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla
# for ghosts
touch %{buildroot}%{_jvmdir}/%{jredir}/lib/security/policy/unlimited/$file
done
pushd %{buildroot}%{_jvmdir}
ln -s %{jredir} %{jrelnk}
ln -s %{jdkdir} %{jdklnk}
popd
pushd %{buildroot}%{_jvmjardir}
ln -s %{jdkdir} %{jrelnk}
ln -s %{jdkdir} %{jdklnk}
popd
mkdir -p %{buildroot}%{_mandir}/man1
for manpage in man/man1/*; do
install -m 644 -p $manpage \
%{buildroot}%{_mandir}/man1/`basename $manpage .1`-%{origin}8.1
done
mkdir -p %{buildroot}%{_jvmdir}/%{jdkdir}
#cp -a demo sample %{buildroot}%{_jvmdir}/%{jdkdir}
mkdir -p %{buildroot}%{_datadir}/mime/packages/
mkdir -p %{buildroot}%{_datadir}/applications
%ifnarch arm
for style in hicolor HighContrast HighContrastInverse LowContrast; do
for size in 16 48; do
for kind in apps mimetypes; do
mkdir -p %{buildroot}%{_datadir}/icons/$style/${size}x${size}/$kind
install -m 644 jre/lib/desktop/icons/$style/${size}x${size}/$kind/*.png \
%{buildroot}%{_datadir}/icons/$style/${size}x${size}/$kind
done
done
done
rm -rf %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes/gnome-mime-text-x-java.png
rm -rf %{buildroot}%{_datadir}/icons/hicolor/16x16/mimetypes/gnome-mime-text-x-java.png
cp -a jre/lib/desktop/mime/packages/* %{buildroot}%{_datadir}/mime/packages/
cp -a jre/lib/desktop/applications/%{origin}-java.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
mkdir -p %{buildroot}%{_datadir}/applications
if [ -e %{buildroot}%{_jvmdir}/%{jdkdir}/bin/jvisualvm ]; then
cat >> %{buildroot}%{_datadir}/applications/%{name}-jvisualvm.desktop << EOF
[Desktop Entry]
Name=Java VisualVM (%{name})
Comment=Java Virtual Machine Monitoring, Troubleshooting, and Profiling Tool
Exec=%{_jvmdir}/%{jdkdir}/bin/jvisualvm
Icon=%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
Terminal=false
Type=Application
Categories=Development;Profiling;
EOF
fi
# ControlPanel freedesktop.org menu entry
cat > %{buildroot}%{_datadir}/applications/%{name}-jcontrol.desktop << EOF
[Desktop Entry]
Name=Java Plugin Control Panel (%{name})
Comment=Java Control Panel
Exec=%{_jvmdir}/%{jdkdir}/bin/jcontrol
Icon=%{_datadir}/icons/hicolor/48x48/apps/sun-jcontrol.png
Terminal=false
Type=Application
Categories=Settings;Java;
EOF
# javaws freedesktop.org menu entry
cat > %{buildroot}%{_datadir}/applications/%{name}-javaws.desktop << EOF
[Desktop Entry]
Name=Java Web Start (%{name})
Comment=Java Application Launcher
MimeType=application/x-java-jnlp-file;
Exec=%{_jvmdir}/%{jredir}/bin/javaws %%u
Icon=%{_datadir}/icons/hicolor/48x48/apps/sun-javaws.png
Terminal=false
Type=Application
Categories=Settings;Java;
EOF
%endif
mkdir -p %{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}
mkdir -p %{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}-oblique
# move the fonts into a shared fonts directory
install -m 644 jre/lib/fonts/*.ttf \
%{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}
install -m 644 jre/lib/oblique-fonts/*.ttf \
%{buildroot}%{_datadir}/fonts/ttf/j2se-%{origin}-oblique
rm -rf %{buildroot}%{_jvmdir}/%{jredir}/lib/fonts
rm -rf %{buildroot}%{_jvmdir}/%{jredir}/lib/oblique-fonts
ln -s ../../../../../share/fonts/ttf/j2se-%{origin} \
%{buildroot}%{_jvmdir}/%{jredir}/lib/fonts
ln -s ../../../../../share/fonts/ttf/j2se-%{origin}-oblique \
%{buildroot}%{_jvmdir}/%{jredir}/lib/oblique-fonts
#install -d %{buildroot}%{_sysconfdir}/profile.d
#sed -i "s|__JDK__PREFIX__|%{_jvmdir}|" %{S:3}
#sed -i "s|__JRE__PREFIX__|%{_jvmdir}%{jrelnk}|" %{S:4}
#install -m0755 %{S:3} %{buildroot}%{_sysconfdir}/profile.d/%{jdklnk}.sh
#install -m0755 %{S:4} %{buildroot}%{_sysconfdir}/profile.d/%{jrelnk}.sh
mkdir %{buildroot}%{_javadir}-%{javaver}
mkdir %{buildroot}%{_jnidir}-%{javaver}
## FIXME: temporary workaround to provide openjdk (required by ooobuild-3.1.0.6 odk patch)
#ln -s %{jdkdir} %{buildroot}%{_libdir}/jvm/java-%{MAJOR}-openjdk
pushd %{buildroot}%{_jvmdir}/%{jredir}/lib
for l in *.jar; do
ln -s ../jre/lib/$l %{buildroot}%{_jvmdir}/%{jdkdir}/lib/$l
done
install -d -m 0755 %{buildroot}%{_jvmdir}/%{jredir}/.systemPrefs
touch %{buildroot}%{_jvmdir}/%{jredir}/.systemPrefs/.systemRootModFile
#for file in %{buildroot}%{_jvmdir}/%{jdkdir}/bin/* %{buildroot}%{_jvmdir}/%{jredir}/bin/*
#do
# chrpath --list $file && chrpath --delete $file || :
#done
#for file in $(find %{buildroot}%{_jvmdir}/%{jdkdir}/demo -name "*.so")
#do
# chrpath --list $file && chrpath --delete $file || :
#done
#for file in $(find %{buildroot}%{_jvmdir}/%{jredir}/lib -name "*.so")
#do
# chrpath --list $file && chrpath --delete $file || :
#done
# Remove requirements missing ffmpeg libraries
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-ffmpeg-56.so
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-53.so
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-54.so
rm -f %{buildroot}%{_jvmdir}/%{jredir}/lib/*/libavplugin-56.so
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
rm -rf %{_builddir}/%{name}-*
:
%pre
if [ $1 -ge 1 ]; then
# legacy cleanups
for b in javac jar; do
/usr/sbin/update-alternatives --remove $b \
/opt/java/jdk/bin/$b 2>/dev/null
done
fi
:
%post
if [ $1 -ge 1 ]; then
# new install
if ! echo ${PATH} | grep -q %{_jredir}/bin; then
export PATH="$PATH:%{_jredir}/bin"
fi
for b in javac jar; do
[ -L %{_bindir}/$b -a "`readlink %{_bindir}/$b`" != "%{_sysconfdir}/alternatives/$b" ] &&
rm -f %{_bindir}/$b
%{_sbindir}/update-alternatives \
--install %{_bindir}/$b $b \
%{_jvmdir}/%{jdklnk}/bin/$b 56
done
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/jdk jdk \
%{_jvmdir}/%{jdklnk} 56
%{_sbindir}/update-alternatives \
--install %{_jvmjardir}/jdk jdk-exports \
%{_jvmjardir}/%{jdklnk} 56
fi
:
%preun
if [ $1 -eq 0 ]; then
for b in javac jar; do
%{_sbindir}/update-alternatives --remove $b \
%{_jvmdir}/%{jdklnk}/bin/$b
done
%{_sbindir}/update-alternatives --remove jdk \
%{_jvmdir}/%{jdklnk}
%{_sbindir}/update-alternatives --remove jdk-exports \
%{_jvmjardir}/%{jdklnk}
fi
:
%pre runtime
if [ $1 -ge 1 ]; then
[ -L %{_jvmdir}/%{jredir}/lib/fonts ] || rm -rf %{_jvmdir}/%{jredir}/lib/fonts
[ -L %{_jvmdir}/%{jredir}/lib/oblique-fonts ] || rm -rf %{_jvmdir}/%{jredir}/lib/oblique-fonts
[ -e %{_jvmdir}/%{jrelnk} ] && rm -rf %{_jvmdir}/%{jrelnk}
[ -L %{_bindir}/java -a "`readlink %{_bindir}/java`" != "%{_sysconfdir}/alternatives/java" ] &&
rm -f %{_bindir}/java
if [ -d /opt/java/jre ]; then
# legacy cleanups
%{_sbindir}/update-alternatives --remove java \
/opt/java/jre/bin/java 2>/dev/null
fi
%{_sbindir}/update-alternatives \
--install %{_bindir}/java java \
%{_jvmdir}/%{jrelnk}/bin/java 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/jre jre \
%{_jvmdir}/%{jrelnk} 56
%{_sbindir}/update-alternatives \
--install %{_jvmjardir}/jre jre-exports \
%{_jvmjardir}/%{jrelnk} 56
fi
:
%post runtime
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts/ttf/j2se-%{origin}
%{_bindir}/fc-cache %{_datadir}/fonts/ttf/j2se-%{origin}-oblique
fi
if ! echo ${PATH} | grep -q %{_jvmdir}/jre/bin; then
export PATH="$PATH: %{_jvmdir}/jre/bin"
fi
if [ -d %{_jvmdir}/%{jrelnk}/lib/security ]; then
# Need to remove the old jars in order to support upgrading
# update-alternatives fails silently if the link targets exist as files
rm -f %{_jvmdir}/%{jrelnk}/lib/security/{local,US_export}_policy.jar
fi
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jredir}/lib/oblique-fonts \
oblique_fonts_%{javaver}_%{origin} %{_datadir}/fonts/ttf/j2se-%{origin}-oblique 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jredir}/lib/fonts fonts_%{javaver}_%{origin} \
%{_datadir}/fonts/ttf/j2se-%{origin} 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jrelnk}/lib/security/policy/unlimited/local_policy.jar \
jce_%{javaver}_%{origin}_local_policy %{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jrelnk}/lib/security/policy/unlimited/US_export_policy.jar \
jce_%{javaver}_%{origin}_us_export_policy %{_jvmprivdir}/%{name}/jce/vanilla/US_export_policy.jar 56
:
%preun runtime
if [ $1 -eq 0 ]; then
%{_sbindir}/update-alternatives --remove java \
%{_jvmdir}/%{jrelnk}/bin/java
%{_sbindir}/update-alternatives --remove jre \
%{_jvmdir}/%{jrelnk}
%{_sbindir}/update-alternatives --remove jre-exports \
%{_jvmjardir}/%{jrelnk}
fi
:
%postun runtime
if [ $1 -eq 0 ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache --system-only
fi
%{_sbindir}/update-alternatives \
--remove jce_%{javaver}_%{origin}_local_policy \
%{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar
%{_sbindir}/update-alternatives \
--remove oblique_fonts_%{javaver}_%{origin} \
%{_datadir}/fonts/ttf/j2se-%{origin}-oblique
%{_sbindir}/update-alternatives \
--remove fonts_%{javaver}_%{origin} \
%{_datadir}/fonts/ttf/j2se-%{origin}
fi
:
%files
%defattr(-,root,root)
#%{_sysconfdir}/profile.d/%{jdklnk}.sh
%{_jvmdir}/%{jdklnk}
%{_jvmjardir}/%{jdklnk}
%{_jvmdir}/%{jdkdir}/bin
#%{_jvmdir}/%{jdkdir}/db
#%{_jvmdir}/%{jdkdir}/demo
%{_jvmdir}/%{jdkdir}/lib
%{_jvmdir}/%{jdkdir}/include
#%{_jvmdir}/%{jdkdir}/sample
%{_jvmdir}/%{jdkdir}/src.zip
%dir %{_javadir}-%{javaver}
%dir %{_jnidir}-%{javaver}
%{_mandir}/man1/appletviewer-sun8.1*
#%{_mandir}/man1/apt-sun8.1*
%{_mandir}/man1/extcheck-sun8.1*
%{_mandir}/man1/idlj-sun8.1*
%{_mandir}/man1/jar-sun8.1*
%{_mandir}/man1/jarsigner-sun8.1*
%{_mandir}/man1/javac-sun8.1*
%{_mandir}/man1/javadoc-sun8.1*
%ifnarch arm
%{_mandir}/man1/javafxpackager-sun8.1*
%endif
%{_mandir}/man1/javah-sun8.1*
%{_mandir}/man1/javap-sun8.1*
%{_mandir}/man1/javapackager-sun8.1*
%{_mandir}/man1/jdeps-sun8.1*
%{_mandir}/man1/jjs-sun8.1*
%{_mandir}/man1/jcmd-sun8.1*
%{_mandir}/man1/jconsole-sun8.1*
%{_mandir}/man1/jdb-sun8.1*
%{_mandir}/man1/jhat-sun8.1*
%{_mandir}/man1/jinfo-sun8.1*
%{_mandir}/man1/jmap-sun8.1*
%{_mandir}/man1/jmc-sun8.1*
%{_mandir}/man1/jps-sun8.1*
%{_mandir}/man1/jrunscript-sun8.1*
%{_mandir}/man1/jsadebugd-sun8.1*
%{_mandir}/man1/jstack-sun8.1*
%{_mandir}/man1/jstat-sun8.1*
%{_mandir}/man1/jstatd-sun8.1*
%{_mandir}/man1/jvisualvm-sun8.1*
%{_mandir}/man1/native2ascii-sun8.1*
%{_mandir}/man1/policytool-sun8.1*
%{_mandir}/man1/rmic-sun8.1*
%{_mandir}/man1/schemagen-sun8.1*
%{_mandir}/man1/serialver-sun8.1*
%{_mandir}/man1/wsgen-sun8.1*
%{_mandir}/man1/wsimport-sun8.1*
%{_mandir}/man1/xjc-sun8.1*
%doc %{toplevel_dir}/COPYRIGHT %{toplevel_dir}/LICENSE
%doc %{toplevel_dir}/THIRDPARTYLICENSEREADME.txt
# %{toplevel_dir}/README*
%files runtime
%defattr(-,root,root)
#%{_sysconfdir}/profile.d/%{jrelnk}.sh
%dir %{_jvmdir}/%{jdkdir}
%dir %{_jvmdir}/%{jredir}
%dir %{_jvmdir}/%{jredir}/lib
%{_jvmdir}/%{jredir}/lib/*.jar
%{_jvmdir}/%{jredir}/lib/*.properties*
%{_jvmdir}/%{jredir}/lib/fontconfig*.bfc
%{_jvmdir}/%{jredir}/lib/classlist
%{_jvmdir}/%{jredir}/lib/jexec
%{_jvmdir}/%{jredir}/lib/*.txt
%{_jvmdir}/%{jredir}/lib/meta-index
#%{_jvmdir}/%{jredir}/lib/audio
%{_jvmdir}/%{jredir}/lib/cmm
%ifnarch arm
%{_jvmdir}/%{jredir}/lib/deploy
%{_jvmdir}/%{jredir}/lib/desktop
%{_jvmdir}/%{jredir}/lib/locale
%endif
%{_jvmdir}/%{jredir}/lib/ext
%ifarch %{ix86}
%{_jvmdir}/%{jredir}/lib/i386
%endif
%ifarch x86_64
%{_jvmdir}/%{jredir}/lib/amd64
%endif
%ifarch arm
%{_jvmdir}/%{jredir}/lib/arm
%endif
#%{_jvmdir}/%{jredir}/lib/im
%{_jvmdir}/%{jredir}/lib/images
%{_jvmdir}/%{jredir}/lib/management
%dir %{_jvmdir}/%{jredir}/lib/security
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/cacerts
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklisted.certs
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security
%ifnarch arm
#%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javafx.policy
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javaws.policy
%endif
%{_jvmdir}/%{jredir}/lib/tzdb.dat
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklist
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/trusted.libraries
%ghost %{_jvmdir}/%{jredir}/lib/security/policy/*limited/local_policy.jar
%ghost %{_jvmdir}/%{jredir}/lib/security/policy/*limited/US_export_policy.jar
%dir %{_jvmdir}/%{jredir}/lib/jfr
%{_jvmdir}/%{jredir}/lib/jfr/*
%{_jvmdir}/%{jredir}/lib/currency.data
#%{_jvmdir}/%{jredir}/lib/servicetag
%{_jvmdir}/%{jredir}/.systemPrefs
#%{_jvmdir}/%{jredir}/lib/zi
%{_jvmdir}/%{jredir}/lib/fonts
%{_jvmdir}/%{jredir}/lib/oblique-fonts
%dir %{_jvmprivdir}/%{name}
%dir %{_jvmprivdir}/%{name}/jce
%dir %{_jvmprivdir}/%{name}/jce/vanilla
%config(noreplace) %{_jvmprivdir}/%{name}/jce/vanilla/US_export_policy.jar
%config(noreplace) %{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar
%{_jvmdir}/%{jredir}/bin
#%{_jvmdir}/%{jredir}/javaws
#%{_jvmdir}/%{jredir}/lib
%ifnarch arm
%{_jvmdir}/%{jredir}/plugin
%endif
%{_jvmdir}/%{jrelnk}
%{_jvmjardir}/%{jrelnk}
%{_jvmjardir}/%{jppname}/jaas*.jar
%{_jvmjardir}/%{jppname}/jce*jar
%{_jvmjardir}/%{jppname}/jdbc-stdext*jar
%{_jvmjardir}/%{jppname}/jndi*.jar
%{_jvmjardir}/%{jppname}/jsse*.jar
%{_jvmjardir}/%{jppname}/sasl*.jar
#%{_jvmjardir}/%{jppname}/xml-commons-apis.jar
%ifnarch arm
%{_libdir}/mozilla/plugins/libjava8plugin*.so
%{_libdir}/mozilla/plugins/libnpjp2-8.so
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}-javaws.desktop
%{_datadir}/applications/%{name}-jcontrol.desktop
%{_datadir}/applications/%{name}-jvisualvm.desktop
%{_datadir}/icons/*/*x*/*/*.png
%{_datadir}/icons/mini/%{name}.png
%{_datadir}/mime/packages/x-java-*.xml
%{_datadir}/pixmaps/%{name}.png
%endif
%dir %{_datadir}/fonts/ttf/j2se-sun-oblique
%{_datadir}/fonts/ttf/j2se-sun-oblique/*.ttf
%dir %{_datadir}/fonts/ttf/j2se-sun
%{_datadir}/fonts/ttf/j2se-sun/*.ttf
%{_mandir}/man1/java-sun8.1*
%{_mandir}/man1/javaws-sun8.1*
%{_mandir}/man1/keytool-sun8.1*
%{_mandir}/man1/orbd-sun8.1*
%{_mandir}/man1/pack200-sun8.1*
%{_mandir}/man1/rmid-sun8.1*
%{_mandir}/man1/rmiregistry-sun8.1*
%{_mandir}/man1/servertool-sun8.1*
%{_mandir}/man1/tnameserv-sun8.1*
%{_mandir}/man1/unpack200-sun8.1*
%doc %{toplevel_dir}/jre/COPYRIGHT %{toplevel_dir}/jre/LICENSE
%doc %{toplevel_dir}/jre/THIRDPARTYLICENSEREADME.txt
# %{toplevel_dir}/jre/README %{toplevel_dir}/jre/Welcome.html
%changelog
* Tue Sep 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 8u102_b14-1mamba
- update to java8
* Sat Oct 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u67_b01-1mamba
- fix x86_64 mozulla plugin symlinks
- support for pkg download code (b01) in version
* Fri Mar 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u51-2mamba
- update wget download string (see https://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/)
- dont' install fxavcodecplugin-52.so to remove dependencies on old libav library; fxavcodecplugin-53.so is provided requiring ffmpeg0
* Fri Jan 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 7u51-1mamba
- update to 7u51
* Sun Nov 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7u45-1mamba
- update to 7u45
* Wed Apr 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7u17-1mamba
- update to 7u17
* Sun Aug 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7u6-2mamba
- rename to sun-java7
* Thu Aug 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7u6-1mamba
- update to 7u6
* Tue Mar 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 6u26-2mamba
- don't obsolete jre and jdk
* Wed Jun 08 2011 Automatic Build System <autodist@mambasoft.it> 6u26-1mamba
- automatic update by autodist
* Wed Apr 27 2011 Automatic Build System <autodist@mambasoft.it> 6u25-1mamba
- automatic update by autodist
* Thu Feb 17 2011 Automatic Build System <autodist@mambasoft.it> 6u24-1mamba
- automatic update by autodist
* Wed Oct 13 2010 Automatic Build System <autodist@mambasoft.it> 6u22-1mamba
- automatic update to 6u22 by autodist
* Mon Jul 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6u21-3mamba
- don't launch chrpath or executables won't find libraries because they are not in system path
* Wed Jul 21 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 6u21-2mamba
- specfile fixes and cleanup
- fix broken fonts symlink
- edit %%post and %%postun runtime scripts
* Fri Jul 16 2010 Automatic Build System <autodist@mambasoft.it> 6u21-1mamba
- automatic update to 6u21 by autodist
* Mon Jun 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 6u20-2mamba
- link libnpjp2.so instead of libjavaplugin.so to /usr/lib/mozilla/plugins
* Fri Apr 16 2010 Automatic Build System <autodist@mambasoft.it> 6u20-1mamba
- automatic update to 6u20 by autodist
* Wed Mar 31 2010 Automatic Build System <autodist@mambasoft.it> 6u19-1mamba
- automatic update to 6u19 by autodist
* Thu Jan 21 2010 Automatic Build System <autodist@mambasoft.it> 6u18-1mamba
- automatic update to 6u18 by autodist
* Tue Nov 17 2009 Automatic Build System <autodist@mambasoft.it> 6u17-1mamba
- automatic update to 6u17 by autodist
* Wed Sep 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u16-2mamba
- fixed wrong symlink destination for jav for mozilla plugin files
* Mon Aug 17 2009 Automatic Build System <autodist@mambasoft.it> 6u16-1mamba
- automatic update to 6u16 by autodist
* Thu Aug 06 2009 Automatic Build System <autodist@mambasoft.it> 6u15-1mamba
- automatic update to 6u15 by autodist
* Mon Jul 13 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u14-2mamba
- create symlink of jre jar's into jdk lib directory
* Tue Jun 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u14-1mamba
- update to 6u14
* Fri Jun 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u13-4mamba
- manage /usr/lib/jvm/{jdk,jre} as alternatives
- remove profile files for setting JAVA_HOME (now handled by initscripts and alternatives)
* Thu Jun 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 6u13-3mamba
- added symlink in /usr/lib/jvm
* Mon Apr 20 2009 gil <puntogil@libero.it> 6u13-2mamba
- added requirement for menu-java
* Wed Mar 18 2009 gil <puntogil@libero.it> 6u13-1mamba
- update to 6u13
- edit spec file
* Tue Sep 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 6u7-1mamba
- automatic update to 6u7 by autodist
* Tue Mar 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-4mamba
- update to release 6u4
- manage /usr/bin/{java,javac,jar} using alternatives with priority 50
* Sat Apr 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-3mamba
- install into /opt/java
* Mon Feb 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-2qilnx
- check and handle a pre-existing /usr/java/jre%version dir
* Mon Feb 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1qilnx
- new build under the Operating System Distributor License for Java (DLJ 1.1)
* Fri Feb 02 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.5-1qilnx
- get download parameters from a sysconfig file
* Tue Oct 31 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-8qilnx
- specfile updated to donwload latest jre version (1.5.0_09)
* Wed Jul 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-7qilnx
- added "provides j2re" (needed by the limewire rpm)
* Mon Apr 03 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-6qilnx
- updated javaurl
* Thu Feb 02 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-5qilnx
- fixed symbolic link in %{_libdir}/mozilla/plugins
* Tue Aug 23 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-4qilnx
- specfile updates for last jre version (1.5.0_04)
* Thu Jul 07 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-3qilnx
- remove %{javapath}/.systemPrefs if found
* Wed Apr 20 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-2qilnx
- enable resume of download
- remove requirements and provides
* Wed Apr 20 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1qilnx
- specfile for new jre version (1.5.0)
- added automatic download and build support (this is a non distributable package)
* Mon Jul 12 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-2qilnx
- create symlinks for browser plugins to /usr/lib/mozilla/plugins
* Mon Oct 13 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1qilnx
- first build

View File

@@ -3,7 +3,7 @@ SRPMVERSION["b43-firmware"]=4.150.10.5
SRPMRELEASE["b43-firmware"]=1mamba SRPMRELEASE["b43-firmware"]=1mamba
# flashplugin # flashplugin
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "flashplugin" ]; then if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "flashplugin" ]; then
SRPMVERSION["flashplugin"]="`curl --max-time 20 -s http://www.adobe.com/software/flash/about/ | grep -A3 "Linux" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`" SRPMVERSION["flashplugin"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A10 "Linux" | grep -A3 "NPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMRELEASE["flashplugin"]=1mamba SRPMRELEASE["flashplugin"]=1mamba
fi fi
# msttcorefonts # msttcorefonts
@@ -23,9 +23,14 @@ fi
SRPMRELEASE["spotify"]=1mamba SRPMRELEASE["spotify"]=1mamba
# sun-java7 # sun-java7
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java7" ]; then if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java7" ]; then
SRPMVERSION["sun-java7"]="`curl --max-time 20 -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`" SRPMVERSION["sun-java7"]="`curl --max-time 20 -sL http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\([a-zA-Z0-9-]*\).*/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java7"]=1mamba SRPMRELEASE["sun-java7"]=1mamba
fi fi
# sun-java8
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java8" ]; then
SRPMVERSION["sun-java8"]="`curl --max-time 20 -sL http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\([a-zA-Z0-9-]*\).*/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java8"]=1mamba
fi
# virtualbox-extension-pack # virtualbox-extension-pack
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "virtualbox-extension-pack" ]; then if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "virtualbox-extension-pack" ]; then
SRPMVERSION["virtualbox-extension-pack"]="`rpm -q VirtualBox 2>/dev/null| cut -d- -f2`" SRPMVERSION["virtualbox-extension-pack"]="`rpm -q VirtualBox 2>/dev/null| cut -d- -f2`"
@@ -36,10 +41,13 @@ SRPMVERSION["win32codecs"]=20110131
SRPMRELEASE["win32codecs"]=1mamba SRPMRELEASE["win32codecs"]=1mamba
# chromium-pepper-flash # chromium-pepper-flash
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
if [ "`uname -m`" == "x86_64" ]; then SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A11 "Linux" | grep -A3 "PPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -s "http://googlechromereleases.blogspot.it/" | grep -i -m 1 "stable channel has been updated to" | sed "s|.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*|\1|" 2>/dev/null`"
else
SRPMVERSION["chromium-pepper-flash"]=""
fi
SRPMRELEASE["chromium-pepper-flash"]=1mamba SRPMRELEASE["chromium-pepper-flash"]=1mamba
fi fi
# chromium-widevine
if [ "`uname -m`" == "x86_64" ]; then
SRPMVERSION["chromium-widevine"]="`curl --max-time 20 -L -s "http://googlechromereleases.blogspot.com/" | grep -i -m 1 "stable channel has been updated to" | sed "s|.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*|\1|" 2>/dev/null`"
else
SRPMVERSION["chromium-widevine"]="0"
fi
SRPMRELEASE["chromium-widevine"]=1mamba

View File

@@ -1,2 +1,5 @@
SRPMVERSION["sun-java7"]="`curl --max-time 20 -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-arm-downloads-2187468.html|grep "Linux ARM.*arm-vfp-sflt.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`" # sun-java7
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java7" ]; then
SRPMVERSION["sun-java7"]="`curl --max-time 20 -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-arm-downloads-2187468.html|grep "Linux ARM.*arm-vfp-sflt.tar.gz"|tail -n1|sed "s|.*/java/jdk/\([a-zA-Z0-9-]*\).*/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java7"]=1mamba SRPMRELEASE["sun-java7"]=1mamba
fi

View File

@@ -1 +1 @@
VERSION = 3.91.1 VERSION = 4.0.91

View File

@@ -1270,7 +1270,7 @@ if [ $? -eq 0 ]; then
dcop @dcopid KommanderIf setEnabled inst_codecs false dcop @dcopid KommanderIf setEnabled inst_codecs false
fi fi
openmamba-netsrpms -c sun-java7 &gt; /dev/null openmamba-netsrpms -c sun-java8 &gt; /dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
dcop @dcopid KommanderIf setEnabled inst_java false dcop @dcopid KommanderIf setEnabled inst_java false
fi fi

View File

@@ -1,5 +1,5 @@
# openmamba post installation script # openmamba post installation script
# Copyright (c) 2007-2015 by Silvan Calarco <silvan.calarco@mambasoft.it> # Copyright (c) 2007-2017 by Silvan Calarco <silvan.calarco@mambasoft.it>
# #
# Released under the terms of the GNU GPLv3 License # Released under the terms of the GNU GPLv3 License
@@ -42,8 +42,8 @@ function apt_parser() {
exit 0 exit 0
} }
function apt_get_parsed() { function pkg_tool() {
sudo smart $@ | apt_parser pkcon $@ | apt_parser
} }
DCOPID=$2 DCOPID=$2
@@ -95,13 +95,13 @@ TOTAL_PROGRESS=10
if [ "$INSTALL_BASE" = "1" ]; then if [ "$INSTALL_BASE" = "1" ]; then
echo $"Installing openmamba base packages" echo $"Installing openmamba base packages"
dcop_write $"Updating packages list..." 10 dcop_write $"Updating packages list..." 10
apt_get_parsed update pkg_tool update
dcop_write $"Removing packages that are no longer needed..." 10 dcop_write $"Removing packages that are no longer needed..." 10
rpm -q msysklogd >/dev/null && apt_get_parsed remove -y msysklogd rpm -q msysklogd >/dev/null && pkg_tool remove -y msysklogd
dcop_write $"Installing/updating openmamba base packages..." 15 dcop_write $"Installing/updating openmamba base packages..." 15
rpm -q --whatprovides $BASE_PKGS >/dev/null || apt_get_parsed install -y $BASE_PKGS rpm -q --whatprovides $BASE_PKGS >/dev/null || pkg_tool install -y $BASE_PKGS
# first time: remove mambabase from autostart # first time: remove mambabase from autostart
[ -e /home/$USER/.kde4/Autostart/mambabase.desktop ] && \ [ -e /home/$USER/.kde4/Autostart/mambabase.desktop ] && \
@@ -116,86 +116,86 @@ fi
if [ "$INSTALL_UPDATE" = "1" ]; then if [ "$INSTALL_UPDATE" = "1" ]; then
echo $"Updating installed packages" echo $"Updating installed packages"
dcop_write $"Updating installed packages..." 15 dcop_write $"Updating installed packages..." 15
apt_get_parsed upgrade -y pkg_tool update -y
fi fi
if [ "$INSTALL_OFFICE" = "1" ]; then if [ "$INSTALL_OFFICE" = "1" ]; then
echo $"Installing Office packages" echo $"Installing Office packages"
dcop_write $"Installing/updating Office packages..." 15 dcop_write $"Installing/updating Office packages..." 15
rpm -q --whatprovides $OFFICE_PKGS >/dev/null || apt_get_parsed install -y $OFFICE_PKGS rpm -q --whatprovides $OFFICE_PKGS >/dev/null || pkg_tool install -y $OFFICE_PKGS
fi fi
if [ "$INSTALL_PLAYERS" = "1" ]; then if [ "$INSTALL_PLAYERS" = "1" ]; then
echo $"Installing Audio and Video players" echo $"Installing Audio and Video players"
dcop_write $"Installing/updating Audio and Video players..." 15 dcop_write $"Installing/updating Audio and Video players..." 15
rpm -q --whatprovides $MULTIMEDIA_PLAYERS_PKGS >/dev/null || apt_get_parsed install -y $MULTIMEDIA_PLAYERS_PKGS rpm -q --whatprovides $MULTIMEDIA_PLAYERS_PKGS >/dev/null || pkg_tool install -y $MULTIMEDIA_PLAYERS_PKGS
fi fi
if [ "$INSTALL_MULTIMEDIA_EDITING" = "1" ]; then if [ "$INSTALL_MULTIMEDIA_EDITING" = "1" ]; then
echo $"Installing multimedia editing and production packages" echo $"Installing multimedia editing and production packages"
dcop_write $"Installing/updating multimedia editing and production packages..." 15 dcop_write $"Installing/updating multimedia editing and production packages..." 15
rpm -q --whatprovides $MULTIMEDIA_EDITING_PKGS >/dev/null || apt_get_parsed install -y $MULTIMEDIA_EDITING_PKGS rpm -q --whatprovides $MULTIMEDIA_EDITING_PKGS >/dev/null || pkg_tool install -y $MULTIMEDIA_EDITING_PKGS
fi fi
if [ "$INSTALL_INTERNET" = "1" ]; then if [ "$INSTALL_INTERNET" = "1" ]; then
echo $"Installing Internet packages" echo $"Installing Internet packages"
dcop_write $"Installing/updating Internet packages..." 15 dcop_write $"Installing/updating Internet packages..." 15
rpm -q --whatprovides $INTERNET_PKGS >/dev/null || apt_get_parsed install -y $INTERNET_PKGS rpm -q --whatprovides $INTERNET_PKGS >/dev/null || pkg_tool install -y $INTERNET_PKGS
fi fi
if [ "$INSTALL_GRAPHICS" = "1" ]; then if [ "$INSTALL_GRAPHICS" = "1" ]; then
echo $"Installing Graphics packages" echo $"Installing Graphics packages"
dcop_write $"Installing/updating Graphics packages..." 15 dcop_write $"Installing/updating Graphics packages..." 15
rpm -q --whatprovides $GRAPHICS_PKGS >/dev/null || apt_get_parsed install -y $GRAPHICS_PKGS rpm -q --whatprovides $GRAPHICS_PKGS >/dev/null || pkg_tool install -y $GRAPHICS_PKGS
fi fi
if [ "$INSTALL_GAMES" = "1" ]; then if [ "$INSTALL_GAMES" = "1" ]; then
echo $"Installing Games packages" echo $"Installing Games packages"
dcop_write $"Installing/updating Games packages..." 15 dcop_write $"Installing/updating Games packages..." 15
rpm -q --whatprovides $GAMES_PKGS >/dev/null || apt_get_parsed install -y $GAMES_PKGS rpm -q --whatprovides $GAMES_PKGS >/dev/null || pkg_tool install -y $GAMES_PKGS
fi fi
if [ "$INSTALL_VIRTUALIZATION" = "1" ]; then if [ "$INSTALL_VIRTUALIZATION" = "1" ]; then
echo $"Installing Virtualization packages" echo $"Installing Virtualization packages"
dcop_write $"Installing/updating Virtualization packages..." 15 dcop_write $"Installing/updating Virtualization packages..." 15
rpm -q --whatprovides $VIRTUALIZATION_PKGS >/dev/null || apt_get_parsed install -y $VIRTUALIZATION_PKGS rpm -q --whatprovides $VIRTUALIZATION_PKGS >/dev/null || pkg_tool install -y $VIRTUALIZATION_PKGS
fi fi
if [ "$INSTALL_SERVER" = "1" ]; then if [ "$INSTALL_SERVER" = "1" ]; then
echo $"Installing Server packages" echo $"Installing Server packages"
dcop_write $"Installing/updating Server packages..." 15 dcop_write $"Installing/updating Server packages..." 15
rpm -q --whatprovides $SERVER_PKGS >/dev/null || apt_get_parsed install -y $SERVER_PKGS rpm -q --whatprovides $SERVER_PKGS >/dev/null || pkg_tool install -y $SERVER_PKGS
fi fi
if [ "$INSTALL_DEVEL" = "1" ]; then if [ "$INSTALL_DEVEL" = "1" ]; then
echo $"Installing openmamba packages" echo $"Installing openmamba packages"
dcop_write $"Installing/updating Development packages..." 15 dcop_write $"Installing/updating Development packages..." 15
rpm -q --whatprovides $DEVEL_PKGS >/dev/null || apt_get_parsed install -y $DEVEL_PKGS rpm -q --whatprovides $DEVEL_PKGS >/dev/null || pkg_tool install -y $DEVEL_PKGS
fi fi
if [ "$INSTALL_NVIDIA" = "1" ]; then if [ "$INSTALL_NVIDIA" = "1" ]; then
echo $"Installing NVIDIA proprietary video driver (autodetected) packages" echo $"Installing NVIDIA proprietary video driver (autodetected) packages"
dcop_write $"Installing/updating NVIDIA proprietary video driver (autodetected) packages..." 10 dcop_write $"Installing/updating NVIDIA proprietary video driver (autodetected) packages..." 10
NVIDIA_DETECTED=$(/sbin/nvidia-autoselect-driver | sed "s|.* ||") NVIDIA_DETECTED=$(/sbin/nvidia-autoselect-driver | sed "s|.* ||")
rpm -q --whatprovides $NVIDIA_DETECTED >/dev/null || apt_get_parsed install -y $NVIDIA_DETECTED rpm -q --whatprovides $NVIDIA_DETECTED >/dev/null || pkg_tool install -y $NVIDIA_DETECTED
fi fi
if [ "$INSTALL_FGLRX" = "1" ]; then if [ "$INSTALL_FGLRX" = "1" ]; then
echo $"Installing AMD/ATI proprietary video driver packages" echo $"Installing AMD/ATI proprietary video driver packages"
dcop_write $"Installing/updating AMD/ATI proprietary video driver packages..." 10 dcop_write $"Installing/updating AMD/ATI proprietary video driver packages..." 10
rpm -q --whatprovides xorg-drv-video-fglrx >/dev/null || apt_get_parsed install -y xorg-drv-video-fglrx rpm -q --whatprovides xorg-drv-video-fglrx >/dev/null || pkg_tool install -y xorg-drv-video-fglrx
fi fi
if [ "$INSTALL_FGLRX_LEGACY" = "1" ]; then if [ "$INSTALL_FGLRX_LEGACY" = "1" ]; then
echo $"Installing AMD/ATI proprietary (legacy) video driver packages" echo $"Installing AMD/ATI proprietary (legacy) video driver packages"
dcop_write $"Installing/updating AMD/ATI proprietary (legacy) video driver packages..." 10 dcop_write $"Installing/updating AMD/ATI proprietary (legacy) video driver packages..." 10
rpm -q --whatprovides xorg-drv-video-fglrx-legacy >/dev/null || apt_get_parsed install -y xorg-drv-video-fglrx-legacy rpm -q --whatprovides xorg-drv-video-fglrx-legacy >/dev/null || pkg_tool install -y xorg-drv-video-fglrx-legacy
fi fi
if [ "$INSTALL_BROADCOM_STA" = "1" ]; then if [ "$INSTALL_BROADCOM_STA" = "1" ]; then
echo $"Installing Broadcom proprietary wireless driver" echo $"Installing Broadcom proprietary wireless driver"
dcop_write $"Installing Broadcom proprietary wireless driver..." 10 dcop_write $"Installing Broadcom proprietary wireless driver..." 10
rpm -q --whatprovides broadcom-sta >/dev/null || apt_get_parsed install -y broadcom-sta rpm -q --whatprovides broadcom-sta >/dev/null || pkg_tool install -y broadcom-sta
fi fi
if [ "$INSTALL_B43" = "1" ]; then if [ "$INSTALL_B43" = "1" ]; then
@@ -246,24 +246,24 @@ if [ "$INSTALL_MSTTCF" = "1" ]; then
fi fi
if [ "$INSTALL_SKYPE" = "1" ]; then if [ "$INSTALL_SKYPE" = "1" ]; then
rpm -q libqt4 >/dev/null || apt_get_parsed install -y libqt4 rpm -q libqt4 >/dev/null || pkg_tool install -y libqt4
dcop_write $"Installing Skype software..." 10 dcop_write $"Installing Skype software..." 10
/usr/bin/openmamba-netsrpms skype /usr/bin/openmamba-netsrpms skype
fi fi
if [ "$INSTALL_JAVA" = "1" ]; then if [ "$INSTALL_JAVA" = "1" ]; then
dcop_write $"Installing Oracle Java 7..." 10 dcop_write $"Installing Oracle Java 8..." 10
/usr/bin/openmamba-netsrpms sun-java7 /usr/bin/openmamba-netsrpms sun-java8
fi fi
if [ "$INSTALL_JRE" = "1" ]; then if [ "$INSTALL_JRE" = "1" ]; then
dcop_write $"Installing Sun Java Runtime Environment..." 10 dcop_write $"Installing Sun Java Runtime Environment..." 10
apt_get_parsed install -y $SUN_JAVA_RUNTIME_PKGS pkg_tool install -y $SUN_JAVA_RUNTIME_PKGS
fi fi
if [ "$INSTALL_JDK" = "1" ]; then if [ "$INSTALL_JDK" = "1" ]; then
dcop_write $"Installing Sun Java Developers Kit..." 10 dcop_write $"Installing Sun Java Developers Kit..." 10
apt_get_parsed install -y $SUN_JAVA_PKGS pkg_tool install -y $SUN_JAVA_PKGS
fi fi
dcop_write $"Installation completed." -1 dcop_write $"Installation completed." -1

View File

@@ -0,0 +1,19 @@
[Desktop Entry]
Name=Install Sun Java 8
Name[es]=Instala Sun Java 8
Name[fr]=Installation du Sun Java 8
Name[it]=Installa Sun Java 8
Comment=Install Sun Java 8 from network
Comment[es]=Instala Sun Java 8 por red
Comment[fr]=Installation du Sun Java 8 depuis le réseau
Comment[it]=Installa Sun Java 8 dalla rete
Encoding=UTF-8
Exec=@bindir@/openmamba-netsrpms sun-java8
Icon=distromenu-java
MimeType=
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
Categories=X-@distroID@-NetInstall;

View File

@@ -2,7 +2,7 @@
# #
# netsrpm-install.sh - Build srpms that download sources from network # netsrpm-install.sh - Build srpms that download sources from network
# #
# Copyright (C) 2003-2014 by Silvan Calarco <silvan.calarco@mambasoft.it> # Copyright (C) 2003-2017 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (C) 2005 by Massimo Pintore <massimo.pintore@qilinux.it> # Copyright (C) 2005 by Massimo Pintore <massimo.pintore@qilinux.it>
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@qilinux.it> # Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@qilinux.it>
@@ -135,9 +135,9 @@ for pckname in $PACKAGES; do
# install rpm # install rpm
if [ "$FORCE_MODE" = "1" ]; then if [ "$FORCE_MODE" = "1" ]; then
sudo smart remove -y $pckname pkcon remove -y $pckname
fi fi
sudo smart install -y $RPM_PATH pkcon install-local -y $RPM_PATH
if [ $? -gt 0 ]; then if [ $? -gt 0 ]; then
echo "$me: "$"error installing \`$RPM_PATH'."" "$"Aborting..." >&2 echo "$me: "$"error installing \`$RPM_PATH'."" "$"Aborting..." >&2
check_if_already_installed $pckname check_if_already_installed $pckname

View File

@@ -22,7 +22,7 @@ function pkg_parser() {
} }
function pkg_tool() { function pkg_tool() {
sudo smart $@ | pkg_parser pkcon $@ | pkg_parser
} }
echo $"\ echo $"\