Compare commits
77 Commits
Author | SHA1 | Date | |
---|---|---|---|
4810bbea55 | |||
c7f2270b8f | |||
34eca705a4 | |||
09dfa1dca9 | |||
c3d4df7d42 | |||
6cd9f6f897 | |||
81a1814b9d | |||
868af223eb | |||
1087fe0c8a | |||
44daffa9b8 | |||
1b58b70c0f | |||
b51a394544 | |||
8713ca8727 | |||
a16817070f | |||
4a232df254 | |||
1b60656c73 | |||
03fbd206a5 | |||
f909f4450b | |||
476c1e42b0 | |||
091b8290ba | |||
0b5540707d | |||
a8672f6db8 | |||
9f67d99d87 | |||
627a6c97f5 | |||
e2a9b882df | |||
ea16cf3903 | |||
fbd9612b03 | |||
693471c548 | |||
8bfb8d05d3 | |||
5311088a1d | |||
b5aa9a1b0a | |||
6f9a1a9820 | |||
d104a8c9ec | |||
f49cad7a27 | |||
fcfb26109d | |||
f80c5acb9c | |||
493b87818b | |||
9cf1a6e2d7 | |||
c00fd0fdd5 | |||
f119e237ab | |||
2ff85e02e8 | |||
a53e689c7f | |||
948fdf45a6 | |||
3932be0528 | |||
e525be013d | |||
f33ae77937 | |||
da8a775020 | |||
2e3e67f26c | |||
d098c43154 | |||
232a09dd13 | |||
d923fb5f91 | |||
febe491142 | |||
a03a9cfb65 | |||
e6fadb30a0 | |||
e618c1ab42 | |||
cce13671a6 | |||
eea6783023 | |||
be83912999 | |||
875be09377 | |||
c9c4a4497b | |||
b6cd827b7a | |||
eb50508ce7 | |||
1ff63acc8c | |||
cab4b70c9f | |||
1b0c9093ba | |||
7071c58d8b | |||
b5411efa5e | |||
de2b9f307c | |||
1a22526c98 | |||
3216581294 | |||
ab72548671 | |||
d6f9336cda | |||
cdf3c0ebb6 | |||
f42808be3e | |||
eeb6b71002 | |||
23d889ba8a | |||
|
230573bd9f |
101
Makefile
@@ -1,14 +1,26 @@
|
||||
# Makefile for openmamba-desktop-base
|
||||
# Copyright (C) 2004-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Makefile for desktop-base-openmamba package
|
||||
# Copyright (C) 2004-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@gmail.com>
|
||||
|
||||
include VERSION
|
||||
include SRPMSVERSIONS
|
||||
|
||||
ARCH:=`uname -i`
|
||||
|
||||
ifeq ($(ARCH), arm)
|
||||
SRPMSVERSIONSFILE = SRPMSVERSIONS.arm
|
||||
pck_srpms = b43-firmware sun-java7
|
||||
else
|
||||
SRPMSVERSIONSFILE = SRPMSVERSIONS
|
||||
pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack sun-java7 spotify
|
||||
endif
|
||||
include $(SRPMSVERSIONSFILE)
|
||||
|
||||
PACKAGE = desktop-base-openmamba
|
||||
|
||||
DISTROID = openmamba
|
||||
|
||||
WITHKDE3 := 1
|
||||
WITHKDE3TOOLS := 1
|
||||
|
||||
RPM_VENDOR = openmamba
|
||||
RPM_DISTRIBUTION = openmamba
|
||||
RPM_DISTROEXT = mamba
|
||||
@@ -37,24 +49,23 @@ datadir = ${prefix}/share
|
||||
initrddir = ${sysconfdir}/rc.d/init.d
|
||||
mandir = ${prefix}/usr/share/man
|
||||
sysconfigdir= ${sysconfdir}/sysconfig
|
||||
xprofiledir = ${sysconfdir}/xprofile.d
|
||||
mambabasedatadir = ${datadir}/openmamba/mambabase
|
||||
mambareportdatadir = ${datadir}/openmamba/mambareport
|
||||
mambawelcomedatadir = ${datadir}/openmamba/mambawelcome
|
||||
mambaimagesdir = ${datadir}/openmamba/images
|
||||
xramdrdatadir = ${datadir}/openmamba/xramdr
|
||||
bootrecoverdatadir = ${datadir}/openmamba/bootrecover
|
||||
usbinstalldatadir = ${datadir}/openmamba/usbinstall
|
||||
iconsdir = ${datadir}/icons/hicolor
|
||||
kdeprefixdir = $(shell kde-config --prefix)
|
||||
kde4prefixdir = $(shell kde4-config --prefix)
|
||||
kdedatadir = $(kdeprefixdir)/share
|
||||
kde4bindir = $(kde4prefixdir)/bin
|
||||
kdeautostartdir = ${kdedatadir}/autostart
|
||||
kdeconfigdir = ${kdedatadir}/config
|
||||
kdewallpapersdir = ${kdedatadir}/wallpapers
|
||||
localesdir = ${datadir}/locale
|
||||
kdelocalesdir = ${kdedatadir}/locale
|
||||
|
||||
pck_desktop = $(wildcard desktop/*.bz2)
|
||||
systemlogodir = ${datadir}/pixmaps
|
||||
xdg_appsdir = ${datadir}/applications
|
||||
xdg_directorydir = ${datadir}/desktop-directories
|
||||
xdg_menudir = ${sysconfdir}/xdg/menus
|
||||
@@ -63,7 +74,7 @@ xdg_mergedmenudir = $(xdg_menudir)/applications-merged
|
||||
distrorootdir = ${datadir}/$(DISTROid)
|
||||
distrobindir = ${distrorootdir}/bin
|
||||
distrosrpmsdir = ${distrorootdir}/SRPMS
|
||||
distrokdedir = ${distrorootdir}/kde
|
||||
distrodesktopdir = ${distrorootdir}/desktop
|
||||
srcdir = .
|
||||
|
||||
INSTALL = /usr/bin/install
|
||||
@@ -72,32 +83,32 @@ INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_DIR = ${INSTALL} -d -m 755
|
||||
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
|
||||
|
||||
pck_kdedesktop = $(wildcard kde/desktop/*)
|
||||
#pck_srpms = flashplugin jre msttcorefonts win32codecs
|
||||
pck_srpms = flashplugin msttcorefonts win32codecs skype b43-firmware virtualbox-extension-pack
|
||||
|
||||
pck_infiles := $(wildcard kde/config/*.in \
|
||||
kde/scripts/*.in \
|
||||
kde/wallpapers/*.in \
|
||||
menu/*.in menu/applications/*.in menu/applications/*/*.in \
|
||||
SRPMS/*/*.in)
|
||||
SRPMS/*/*.in \
|
||||
desktop/*.in)
|
||||
pck_sysconfigfile := distroutils.sysconfig
|
||||
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
dist_archive = $(distdir).tar.bz2
|
||||
|
||||
pck_desktop := $(wildcard desktop/*.tar.bz2)
|
||||
pck_catalogs := $(wildcard mambabase/po/*.po)
|
||||
pck_catalogs1 := $(wildcard mambawelcome/po/*.po)
|
||||
pck_catalogs2 := $(wildcard bootrecover/po/*.po)
|
||||
pck_catalogs3 := $(wildcard usbinstall/po/*.po)
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .in .po .mo
|
||||
|
||||
.in:; @echo "generating $@..."; \
|
||||
if [ "$(ARCH)" != "x86_64" -a "$(ARCH)" != "arm" ]; then ARCH=i386; else ARCH=$(ARCH); fi; \
|
||||
sed "s,@distroID@,$(DISTROID),g;\
|
||||
s,@distroid@,$(DISTROid),g;\
|
||||
s,@distroicon@,$(DISTROICON),g;\
|
||||
s,@arch@,$$ARCH,g;\
|
||||
s,@distribution@,$(RPM_DISTRIBUTION),g;\
|
||||
s,@distroext@,$(RPM_DISTROEXT),g;\
|
||||
s,@vendor@,$(RPM_VENDOR),g;\
|
||||
@@ -105,13 +116,15 @@ pck_catalogs3 := $(wildcard usbinstall/po/*.po)
|
||||
s,@datadir@,${datadir},g;\
|
||||
s,@bindir@,$(bindir),g;\
|
||||
s,@distrobindir@,$(distrobindir),g;\
|
||||
s,@distrokdedir@,$(distrokdedir),g;\
|
||||
s,@distrodesktopdir@,$(distrodesktopdir),g;\
|
||||
s,@distrosrpmsdir@,$(distrosrpmsdir),g;\
|
||||
s,@wallpaper@,$(DEFAULT_WALLPAPER),g;\
|
||||
s,@screensaver@,${SCREENSAVER},g;\
|
||||
s,@flashpluginver@,${FLASHPLUGIN_VERSION},g;\
|
||||
s,@win32codecsver@,${WIN32CODECS_VERSION},g;\
|
||||
s,@sunjava7ver@,${SUN_JAVA7_VERSION},g;\
|
||||
s,@virtualboxextensionpackver@,${VIRTUALBOX_EXTENSION_PACK_VERSION},g;\
|
||||
s,@spotifyver@,${SPOTIFY_VERSION},g;\
|
||||
s,@skypever@,${SKYPE_VERSION},g" $< > $@
|
||||
|
||||
all: dist-update locales
|
||||
@@ -144,13 +157,6 @@ install-locales: locales
|
||||
$(INSTALL_DIR) $$dir;\
|
||||
$(INSTALL_DATA) $${f/.po/.mo} $$dir/bootrecover.mo;\
|
||||
done
|
||||
@for f in $(pck_catalogs3); do\
|
||||
lang=`echo $$f | sed 's,.*/\(.*\)\.po,\1,'`;\
|
||||
echo "installing i18n file for language \`$$lang'...";\
|
||||
dir="$(DESTDIR)$(localesdir)/$$lang/LC_MESSAGES";\
|
||||
$(INSTALL_DIR) $$dir;\
|
||||
$(INSTALL_DATA) $${f/.po/.mo} $$dir/usbinstall.mo;\
|
||||
done
|
||||
|
||||
install-kde-distro-addons: dist-update
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)
|
||||
@@ -158,16 +164,24 @@ install-kde-distro-addons: dist-update
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(datadir)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(sbindir)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(distrobindir)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(kde4bindir)
|
||||
ifeq ($(WITHKDE3),1)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(kdedatadir)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(kdeautostartdir)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(kdeconfigdir)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(kdewallpapersdir)
|
||||
endif
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(mambaimagesdir)
|
||||
cp -r etc/polkit-1 $(DESTDIR)$(sysconfdir)/
|
||||
cp -r etc/prelink.conf.d $(DESTDIR)$(sysconfdir)/
|
||||
cp -r etc/profile.d $(DESTDIR)$(sysconfdir)/
|
||||
cp -r etc/sudoers.d $(DESTDIR)$(sysconfdir)/
|
||||
cp -r etc/sysconfig $(DESTDIR)$(sysconfdir)/
|
||||
cp -r etc/xprofile.d $(DESTDIR)$(sysconfdir)/
|
||||
chmod 755 $(DESTDIR)$(sysconfdir)/profile.d/*.sh
|
||||
chmod 755 $(DESTDIR)$(sysconfdir)/xprofile.d/*.sh
|
||||
$(INSTALL_SCRIPT) kde/scripts/showlog $(DESTDIR)$(distrobindir)
|
||||
cp -r menu/icons/ $(DESTDIR)$(datadir)/icons/
|
||||
ifeq ($(WITHKDE3),1)
|
||||
cp -r kde/apps $(DESTDIR)$(kdedatadir)
|
||||
$(INSTALL_DATA) kde/autostart/kmix.desktop $(DESTDIR)$(kdeautostartdir)/kmix.desktop
|
||||
$(INSTALL_DATA) kde/config/*rc $(DESTDIR)$(kdeconfigdir)/
|
||||
@@ -175,8 +189,8 @@ install-kde-distro-addons: dist-update
|
||||
$(INSTALL_DATA) kde/config/kdeglobals $(DESTDIR)$(kdeconfigdir)/kdeglobals
|
||||
$(INSTALL_DATA) kde/wallpapers/$(WALLPAPER).desktop $(DESTDIR)$(kdewallpapersdir)
|
||||
$(INSTALL_DATA) kde/wallpapers/{$(WALLPAPERS)} $(DESTDIR)$(kdewallpapersdir)
|
||||
endif
|
||||
$(INSTALL_DATA) kde/wallpapers/{$(COMPIZ_WALLPAPERS)} $(DESTDIR)$(mambaimagesdir)
|
||||
# $(INSTALL_SCRIPT) kde/bin/konsole-nofork $(DESTDIR)$(kde4bindir)
|
||||
|
||||
install-distromenu: dist-update
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(xdg_directorydir)
|
||||
@@ -199,7 +213,7 @@ install-distromenu: dist-update
|
||||
install-srpms:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(distrosrpmsdir)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(sysconfigdir)
|
||||
@cat SRPMSVERSIONS > $(DESTDIR)$(sysconfigdir)/$(SYSCONFIGFILE)
|
||||
@cat $(SRPMSVERSIONSFILE) > $(DESTDIR)$(sysconfigdir)/$(SYSCONFIGFILE)
|
||||
for pck in $(pck_srpms); do\
|
||||
rpmbuild -bs SRPMS/$$pck/$${pck}.spec \
|
||||
--define="_sourcedir `pwd`/SRPMS/$$pck" \
|
||||
@@ -209,38 +223,53 @@ install-srpms:
|
||||
done
|
||||
|
||||
install-icons:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(systemlogodir)/; \
|
||||
$(INSTALL_DATA) mambabase/mamba-64x64.png $(DESTDIR)$(systemlogodir)/system-logo-white.png
|
||||
@for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \
|
||||
$(INSTALL_DIR) $(DESTDIR)$(iconsdir)/$$i/apps/; \
|
||||
$(INSTALL_DATA) mambabase/mamba-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/mamba.png; \
|
||||
done
|
||||
ifeq ($(WITHKDE3TOOLS),1)
|
||||
@for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \
|
||||
$(INSTALL_DATA) mambawelcome/mambawelcome-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/mambawelcome.png; \
|
||||
# $(INSTALL_DATA) xramdr/xramdr-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/xramdr.png; \
|
||||
$(INSTALL_DATA) bootrecover/bootrecover-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/bootrecover.png; \
|
||||
done
|
||||
endif
|
||||
# $(INSTALL_DATA) xramdr/xramdr-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/xramdr.png \
|
||||
|
||||
install-mambabase:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(mambabasedatadir)
|
||||
$(INSTALL_SCRIPT) mambabase/mambabase.kmdr $(DESTDIR)$(mambabasedatadir)
|
||||
$(INSTALL_DATA) mambabase/mambabase.db $(DESTDIR)$(mambabasedatadir)
|
||||
$(INSTALL_SCRIPT) mambabase/mambabase.sh $(DESTDIR)$(mambabasedatadir)
|
||||
ifeq ($(WITHKDE3TOOLS),1)
|
||||
$(INSTALL_SCRIPT) mambabase/mambabase.kmdr $(DESTDIR)$(mambabasedatadir)
|
||||
$(INSTALL_DATA) mambabase/mambabase.desktop $(DESTDIR)$(xdg_appsdir)
|
||||
$(INSTALL_DATA) mambabase/mambabase-autostart.desktop $(DESTDIR)$(mambabasedatadir)
|
||||
endif
|
||||
|
||||
install-mambareport:
|
||||
$(INSTALL_SCRIPT) mambareport/openmamba-makereport $(DESTDIR)$(bindir)
|
||||
ifeq ($(WITHKDE3TOOLS),1)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(mambareportdatadir)
|
||||
$(INSTALL_SCRIPT) mambareport/mambareport.kmdr $(DESTDIR)$(mambareportdatadir)
|
||||
$(INSTALL_SCRIPT) mambareport/openmamba-makereport $(DESTDIR)$(bindir)
|
||||
$(INSTALL_DATA) mambareport/mambareport.desktop $(DESTDIR)$(xdg_appsdir)
|
||||
endif
|
||||
|
||||
install-mambawelcome:
|
||||
ifeq ($(WITHKDE3TOOLS),1)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(mambawelcomedatadir)
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/rc.d/{init.d,rc5.d}
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(kdeconfigdir)
|
||||
$(INSTALL_SCRIPT) mambawelcome/mambawelcome.kmdr $(DESTDIR)$(mambawelcomedatadir)
|
||||
$(INSTALL_SCRIPT) mambawelcome/mambawelcome.sh $(DESTDIR)$(mambawelcomedatadir)
|
||||
$(INSTALL_SCRIPT) mambawelcome/mambawelcome-init $(DESTDIR)$(sysconfdir)/rc.d/init.d/mambawelcome
|
||||
$(INSTALL_DATA) gpl.html $(DESTDIR)$(mambawelcomedatadir)/gpl.html
|
||||
$(INSTALL_DATA) gpl-it.html $(DESTDIR)$(mambawelcomedatadir)/gpl-it.html
|
||||
$(INSTALL_DATA) gpl-es.html $(DESTDIR)$(mambawelcomedatadir)/gpl-es.html
|
||||
$(INSTALL_DATA) kde/config/kcmfonts $(DESTDIR)$(kdeconfigdir)/kcmfonts
|
||||
$(INSTALL_DATA) kde/config/kdeglobals $(DESTDIR)$(kdeconfigdir)/kdeglobals
|
||||
ln -s ../init.d/mambawelcome $(DESTDIR)$(sysconfdir)/rc.d/rc5.d/S99mambawelcome
|
||||
endif
|
||||
|
||||
install-xramdr:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(xramdrdatadir)
|
||||
@@ -249,14 +278,16 @@ install-xramdr:
|
||||
|
||||
install-bootrecover:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(bootrecoverdatadir)
|
||||
$(INSTALL_SCRIPT) bootrecover/bootrecover.kmdr $(DESTDIR)$(bootrecoverdatadir)
|
||||
$(INSTALL_SCRIPT) bootrecover/bootrecover.sh $(DESTDIR)$(bootrecoverdatadir)
|
||||
ifeq ($(WITHKDE3TOOLS),1)
|
||||
$(INSTALL_SCRIPT) bootrecover/bootrecover.kmdr $(DESTDIR)$(bootrecoverdatadir)
|
||||
$(INSTALL_DATA) bootrecover/openmamba-bootrecover.desktop $(DESTDIR)$(xdg_appsdir)
|
||||
endif
|
||||
|
||||
install-usbinstall:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(usbinstalldatadir)
|
||||
$(INSTALL_SCRIPT) usbinstall/usbinstall.sh $(DESTDIR)$(usbinstalldatadir)
|
||||
$(INSTALL_DATA) usbinstall/usbinstall.desktop $(DESTDIR)$(xdg_appsdir)
|
||||
install-desktop:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(distrodesktopdir)
|
||||
$(INSTALL_DATA) $(pck_desktop) $(DESTDIR)$(distrodesktopdir)
|
||||
$(INSTALL_SCRIPT) desktop/desktop-firsttime.sh $(DESTDIR)$(xprofiledir)
|
||||
|
||||
install-openmamba-update:
|
||||
@$(INSTALL_DIR) $(DESTDIR)$(bindir)
|
||||
@@ -267,11 +298,11 @@ install: $(pck_infiles:.in=) \
|
||||
install-kde-distro-addons \
|
||||
install-distromenu \
|
||||
install-srpms \
|
||||
install-desktop \
|
||||
install-openmamba-update \
|
||||
install-mambabase \
|
||||
install-mambawelcome \
|
||||
install-mambareport \
|
||||
install-usbinstall \
|
||||
install-openmamba-update \
|
||||
install-bootrecover \
|
||||
install-locales \
|
||||
install-icons
|
||||
|
@@ -1,13 +0,0 @@
|
||||
## Adobe Flash Plugin
|
||||
|
||||
# package name (do not modify unless you know what you're doing)
|
||||
#FLASH_PLUGIN_PCK=flashplayer9_install_linux_082207.tar.gz
|
||||
#FLASH_PLUGIN_PCK=flash-player-plugin-9.0.48.0.tar.bz2
|
||||
#FLASH_PLUGIN_PCK=install_flash_player_9_linux.tar.gz
|
||||
FLASH_PLUGIN_PCK=install_flash_player_11_linux.i386.tar.gz
|
||||
|
||||
# package URL (do not modify unless you know what you're doing)
|
||||
#FLASH_PLUGIN_URL=http://download.macromedia.com/pub/labs/flashplayer9_update/
|
||||
#FLASH_PLUGIN_URL=http://macromedia.rediris.es/rpmsource/
|
||||
#FLASH_PLUGIN_URL=http://fpdownload.macromedia.com/get/flashplayer/current/
|
||||
FLASH_PLUGIN_URL=http://fpdownload.macromedia.com/get/flashplayer/current/
|
7
SRPMS/flashplugin/distroutils.sysconfig.in
Normal file
@@ -0,0 +1,7 @@
|
||||
## Adobe Flash Plugin
|
||||
|
||||
# package name (do not modify unless you know what you're doing)
|
||||
FLASH_PLUGIN_PCK=install_flash_player_11_linux.@arch@.tar.gz
|
||||
|
||||
# package URL (do not modify unless you know what you're doing)
|
||||
FLASH_PLUGIN_URL=http://fpdownload.macromedia.com/get/flashplayer/pdc/${FLASHPLUGIN_VERSION}/
|
@@ -7,14 +7,4 @@ HAS_MS_LICENSE=no
|
||||
|
||||
# Select the server that is closest to you by removing the '#'
|
||||
# character in one of the following lines:
|
||||
MSTTCF_URL=http://mesh.dl.sourceforge.net/project/corefonts/the%20fonts/final/
|
||||
#MSTTCF_URL=http://aleron.dl.sourceforge.net/sourceforge/corefonts
|
||||
#MSTTCF_URL=http://belnet.dl.sourceforge.net/sourceforge/corefonts
|
||||
#MSTTCF_URL=http://cesnet.dl.sourceforge.net/sourceforge/corefonts
|
||||
#MSTTCF_URL=http://flow.dl.sourceforge.net/sourceforge/corefonts
|
||||
#MSTTCF_URL=http://switch.dl.sourceforge.net/sourceforge/corefonts
|
||||
#MSTTCF_URL=http://twtelecom.dl.sourceforge.net/sourceforge/corefonts
|
||||
#MSTTCF_URL=http://unc.dl.sourceforge.net/sourceforge/corefonts
|
||||
#MSTTCF_URL=http://umn.dl.sourceforge.net/sourceforge/corefonts
|
||||
#MSTTCF_URL=http://easynews.dl.sourceforge.net/sourceforge/corefonts/
|
||||
|
||||
MSTTCF_URL=http://downloads.sourceforge.net/project/corefonts/the%20fonts/final
|
||||
|
@@ -1,8 +1,8 @@
|
||||
## Skype
|
||||
|
||||
# package name (do not modify unless you know what you're doing)
|
||||
#SKYPE_PCK=skype-2.0.0.68.tar.bz2
|
||||
#SKYPE_PCK=skype-4.0.0.7.tar.bz2
|
||||
|
||||
# package URL (do not modify unless you know what you're doing)
|
||||
#SKYPE_URL=http://download.skype.com/linux/
|
||||
SKYPE_URL=http://www.skype.com/go/getskype-linux-dynamic
|
||||
SKYPE_URL=http://www.skype.com/go/getskype-linux-beta-dynamic
|
||||
|
@@ -1,6 +1,6 @@
|
||||
Name: skype
|
||||
Version: @skypever@
|
||||
Release: 2@distroext@
|
||||
Release: @distroext@
|
||||
Epoch: 1
|
||||
Summary: An Internet voice and video communication software
|
||||
Group: Graphical Desktop/Applications/Internet
|
||||
@@ -64,6 +64,37 @@ cp %{S:0} LICENSE
|
||||
|
||||
rm -fr ${tmpdir}
|
||||
|
||||
# create a v4l1_compat desktop link
|
||||
cat > %{buildroot}%{_datadir}/applications/skype-v4l1.desktop << _EOF
|
||||
[Desktop Entry]
|
||||
Name=Skype (v4l1 webcam compatibility)
|
||||
Name[it]=Skype (compatibilità webcam v4l1)
|
||||
Comment=Skype Internet Telephony
|
||||
Exec=LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
|
||||
Icon=skype.png
|
||||
Terminal=0
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
Categories=Network;Application;
|
||||
MimeType=x-scheme-handler/skype;
|
||||
X-KDE-Protocols=skype
|
||||
_EOF
|
||||
|
||||
cat > %{buildroot}%{_datadir}/applications/skype-v4l2.desktop << _EOF
|
||||
[Desktop Entry]
|
||||
Name=Skype (v4l2 webcam fixes)
|
||||
Name[it]=Skype (correzioni webcam v4l2)
|
||||
Comment=Skype Internet Telephony
|
||||
Exec=LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
|
||||
Icon=skype.png
|
||||
Terminal=0
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
Categories=Network;Application;
|
||||
MimeType=x-scheme-handler/skype;
|
||||
X-KDE-Protocols=skype
|
||||
_EOF
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
@@ -71,6 +102,8 @@ rm -fr ${tmpdir}
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/skype
|
||||
%{_datadir}/applications/skype.desktop
|
||||
%{_datadir}/applications/skype-v4l1.desktop
|
||||
%{_datadir}/applications/skype-v4l2.desktop
|
||||
%{_datadir}/icons/skype.png
|
||||
%{_datadir}/pixmaps/skype.png
|
||||
%dir %{_datadir}/skype
|
||||
@@ -80,7 +113,10 @@ rm -fr ${tmpdir}
|
||||
%doc LICENSE README
|
||||
|
||||
%changelog
|
||||
* Thu Sep 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2-2mamba
|
||||
* Mon Dec 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.0.20-1mamba
|
||||
- added v4l1 and v4l2 webcam compatibility desktop entries
|
||||
|
||||
* Thu Sep 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0.47-2mamba
|
||||
- specfile fixed for 2.1.0.47
|
||||
|
||||
* Wed May 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0.68-1mamba
|
||||
|
188
SRPMS/spotify/LICENSE
Normal file
@@ -0,0 +1,188 @@
|
||||
Spotify Terms and Conditions of Use
|
||||
Effective as from 20 June 2013
|
||||
|
||||
Introductions
|
||||
Changes to the Agreements
|
||||
Enjoying Spotify
|
||||
3.1 Subscriptions
|
||||
3.2 Codes and other Limited Offers
|
||||
3.3 Trials
|
||||
Licence and assignment
|
||||
Third Party Applications
|
||||
User generated content
|
||||
Consideration
|
||||
User Guidelines
|
||||
Copyright infringement
|
||||
Technology limitations and modifications
|
||||
Brand accounts
|
||||
Export control
|
||||
Payments, cancellations and cooling off
|
||||
Term and termination
|
||||
Warranty
|
||||
Limitation
|
||||
Entire agreement
|
||||
Severability
|
||||
Choice of law, mandatory arbitration and venue
|
||||
Local Country chart
|
||||
Hello, and welcome to our Terms and Conditions of Use. This is important and affects your legal rights, so please read them and our Privacy Policy carefully. We hope you’re sitting comfortably. Here we go…
|
||||
|
||||
1. Introductions
|
||||
Thanks for choosing Spotify (“Spotify”, “we”, “us”, “our”). By using the Spotify service, websites, or software applications (together, the “Spotify Service” or “Service”), including by purchasing or receiving Codes or Limited Offers, you are entering into a binding contract with our local company in your country of residence (your “Local Country”) if applicable or the company listed in this chart. Your agreement with us includes these Terms and Conditions of Use (“Terms”) and our Privacy Policy (together with the Mobile Terms where applicable, the “Agreements”). If you don’t agree with these Terms, then please don’t use the Service.
|
||||
|
||||
We’re pleased to make our Service available to you. The Spotify Service includes social and interactive features. Learn more about the Spotify Service here.
|
||||
|
||||
In order to use the Spotify Service, you need to (a) be 18 or older, or be 13 or older and have your parent or guardian’s consent to these Terms, (b) have the power to enter a binding contract with us and are not barred from doing so under any applicable laws, and (c) be resident in the Local Country. You also warrant that any registration information that you submit to Spotify is true, accurate and complete, and you agree to keep it that way at all times.
|
||||
|
||||
2. Changes to the Agreements
|
||||
Occasionally we may, in our discretion, make changes to the Spotify Service and Agreements. When we make changes to the Agreements that we consider material, we’ll notify you through the Service. By continuing to use the Service after those changes are made, you are expressing and acknowledging your acceptance of the changes.
|
||||
|
||||
3. Enjoying Spotify
|
||||
Here’s some information about all the ways you can enjoy Spotify.
|
||||
|
||||
3.1 Subscriptions
|
||||
Spotify account holders may access the Spotify Service by any of our several Subscriptions:
|
||||
|
||||
Free Service: an ad-based, free-of-charge service;
|
||||
Unlimited Service: a subscription fee-based service;
|
||||
Premium Service: an ad-free, subscription fee-based service which enables you to listen to music while not connected to the internet, among other features; or
|
||||
Mobile Service: via a supported mobile handset.
|
||||
The Premium Service permits you to store cached content on up to three (3) personal computers, mobile handsets and/or other relevant devices (collectively “Devices”) while your Premium Service subscription is active. You may not transfer copies of cached content to any other device via any means. By using the Mobile Service, you agree to accept the Mobile Terms and to register for the Service as a mobile subscriber. The Premium Service and the Unlimited Service are hereinafter referred to as “Paid Subscriptions”
|
||||
|
||||
3.2 Codes and other Limited Offers
|
||||
If you have purchased a code sold by or on behalf of Spotify for access to the Unlimited Service or Premium Service for the time period indicated on your email, card or paper receipt (“Code”), or if you are accessing the service through some other limited offer which you received or purchased from Spotify (“Limited Offer”), these Agreements apply to your access to the Service. Any separate sets of terms and conditions presented to you along with the Code or other Limited Offer also apply to your access to the Service using the Code or Limited Offer.
|
||||
|
||||
Subject to any rights you may have under Section 12, Codes are only redeemable in the country where you purchased such Code, not redeemable for cash and may not be returned for a cash refund, exchanged, resold or used to purchase other Codes.
|
||||
|
||||
3.3 Trials
|
||||
From time to time, we may offer trials of the Premium Service and/or Mobile Service for a specified period without payment (a “Trial”). Spotify reserves the right, in its absolute discretion, to determine your eligibility for a Trial, and to withdraw or to modify a Trial at any time without prior notice and with no liability.
|
||||
|
||||
For some Trials, we’ll require you to provide your payment details to start the Trial. At the end of such Trials, we may automatically start to charge you for the Premium Service on the first day following the end of the Trial, on a recurring monthly basis. By providing your payment details in conjunction with the Trial, you agree to this charge. If you do not want this charge, you must change your Subscription to the Free Service through your Spotify account’s settings before the end of the Trial.
|
||||
|
||||
4. Licence and assignment
|
||||
The Spotify Service and the content provided through it are the property of Spotify or Spotify's licensors, and we grant you a limited, non-exclusive, revocable licence to make personal, non-commercial (except as permitted under Section 11) use of the Spotify Service and to receive the media content made available through the Spotify Service in your Local Country, based on the Subscription or Trial, you have selected (the “Licence”). This Licence shall remain in effect for a period of 20 years unless terminated by you or Spotify.
|
||||
|
||||
The Spotify software applications are licensed, not sold, to you, and Spotify retains ownership of all copies of the Spotify software applications even after installation on your Devices. Spotify may assign these Agreements or any part of them without restrictions. You may not assign these Agreements or any part of them, nor transfer or sub-licence your rights under this Licence, to any third party.
|
||||
|
||||
All Spotify trademarks, service marks, trade names, logos, domain names, and any other features of the Spotify brand are the sole property of Spotify. This Licence does not grant you any rights to use the Spotify trademarks, service marks, trade names, logos, domain names, or any other features of the Spotify brand, whether for commercial or non-commercial use.
|
||||
|
||||
You agree to abide by our User Guidelines and not to use the Spotify Service (including but not limited to its content) in any manner not expressly permitted by the Terms.
|
||||
|
||||
Third party software libraries included in the Spotify Service are licensed to you either under these Terms, or under the relevant third party software library’s licence terms as published in the help or settings section of our desktop and mobile client and on our website.
|
||||
|
||||
5. Third Party Applications
|
||||
The Spotify Service provides a platform for third party applications, websites and services to make available products and services to you (“Third Party Applications”), and your use of these Third Party Applications is subject to their terms of use. You understand and agree that Spotify is not responsible or liable for the behavior, features, or content of any Third Party Application.
|
||||
|
||||
6. User generated content
|
||||
Spotify users may post, upload and/or contribute (“post”) content to the Service, including pictures, text and playlist compilations (“User Content”). You are solely responsible for any User Content you provide and for any consequences thereof. You represent that you have the right to post any User Content which you post to the Service, and that such User Content, or its use by us as contemplated by this Agreement, does not: (a) violate these Agreements, applicable law, or the intellectual property or publicity rights of others; or (b) imply any affiliation, endorsement, approval or cooperation with you or your User Content by Spotify or any artist, band, label, entity or individual without express written consent from such individual or entity. You grant us a non-exclusive, transferable, sub-licensable, royalty-free, worldwide license to use any User Content that you post on or in connection with Spotify. This license lasts until you terminate your Spotify account, except in the case of User Content that you have published, made public and/or share with others. Aside from the rights specifically granted herein, you retain ownership of all rights, including intellectual property rights, in the User Content that you post to the Spotify Service, except that, where applicable under Local Country law, you agree to waive your right to be identified as the author of any User Content on the Spotify Service and your right to object to derogatory treatment of such User Content.
|
||||
|
||||
Spotify does not monitor, review, or edit User Content, but reserves the right to remove or disable access to any User Content for any or no reason, including but not limited to, User Content that, in Spotify’s sole discretion, violates these Agreements. Spotify may take these actions without prior notification to you. Removal or disabling of access to User Content shall be at our sole discretion, and we do not promise to remove or disable access to any specific User Content.
|
||||
|
||||
Spotify is not responsible for User Content nor does it endorse any opinion contained in User Content. If you believe that any User Content infringes your intellectual property rights, please click here, or if you believe that any User Content does not comply with the User Guidelines (Section 8 below) or that your rights under applicable law have been otherwise infringed by any User Content, please contact us at legal-feedback@spotify.com.
|
||||
|
||||
7. Consideration
|
||||
In consideration for the rights granted to you under these Terms, you grant us the right (a) to allow the Spotify Service to use the processor, bandwidth and storage hardware on your Device in order to facilitate the operation of the Service, (b) to provide advertising and other information to you, if you subscribe to the Free Service, and (c) to allow our business partners to do the same.
|
||||
|
||||
You grant Spotify a non-exclusive, transferable, sub-licensable, royalty-free, perpetual, worldwide licence to use, reproduce, make available to the public, publish, translate and distribute any User Content that you post on or otherwise provide through the Spotify Service.
|
||||
|
||||
These Terms are not intended to grant rights to anyone except you and Spotify, and in no event shall these Terms create any third party beneficiary rights. Any failure by Spotify to enforce these Terms or any provision thereof shall not waive Spotify’s right to do so.
|
||||
|
||||
8. User Guidelines
|
||||
We’ve established a few ground rules for you to follow when using the Service, to make sure Spotify stays enjoyable for everyone. Please follow these rules and encourage other users to do the same.
|
||||
|
||||
Spotify respects intellectual property rights and expects you to do the same. This means, for example, that the following is not permitted: (a) Copying, reproducing, “ripping”, recording, or making available to the public any part of the Spotify Services or content delivered to you via the Spotify Services, or otherwise any making use of the Spotify Service which is not expressly permitted under these Terms; (b) using the Spotify service to import or copy any local files you do not have the legal right to import or copy in this way; (c) reverse-engineering, decompiling, disassembling, modification or creating derivative works based on the Spotify Services or any part thereof; (d) circumventing any technology used by Spotify, its licensors, or any third party to protect content accessible through the Service; (e) renting or leasing of any part of the Services; (f) circumventing of any territorial restrictions applied by Spotify; (g) artificially increasing play count or otherwise manipulating the Services by using a script or other automated process; (h) removing or altering any copyright, trademark or other intellectual property notices contained on or provided through the Spotify Service; (i) providing your password to any other person or using any other person’s user name and password.
|
||||
|
||||
Please respect Spotify and other users of the Spotify Service. Don’t engage in any activity on the Service or upload User Content, including registering and/or using a username, which is or includes material that (a) is offensive, abusive, defamatory, pornographic or obscene; (b) is illegal, or intended to promote or commit an illegal act of any kind, including but not limited to, violations of intellectual property rights, privacy rights or proprietary rights of Spotify or a third party; (c) includes personal data of third parties or is intended to solicit such personal data, (d) includes malicious content such as malware, trojan horses or viruses, or otherwise interferes with any user’s access to the Service; (e) is intended or does harass or bully other users; (f) impersonates or misrepresents your affiliation with another user, person or entity, or is otherwise fraudulent, false, deceptive, or misleading; (g) uses automated means to artificially promote content; (h) involves the transmission of unsolicited mass mailing (“spam”), junk mail, chain letter, or similar, including through the Spotify inbox; (i) involves commercial or sales activities, such as advertising, contests, sweepstakes, or pyramid schemes; (j) promotes commercial products or services (except as permitted under Section 11); (k) interferes with the Spotify Service, tampers with or attempts to probe, scan, or test for vulnerabilities in the Service or Spotify’s computer systems or network, or breaches any of Spotify’s security or authentication measures, or (l) conflicts with the Agreement, as determined by Spotify. You agree that Spotify may also reclaim your username for any reason.
|
||||
|
||||
Please be thoughtful about what you make public on Spotify. The Spotify Service includes social and interactive features, including the ability to post User Content, share content, and make certain information about you public, as further described in your account settings. Remember that shared or publicly available information may be used and re-shared by other users on Spotify or across the web, so please use Spotify carefully and manage your account settings regularly. Spotify has no responsibility for your choices to make any actions or material public on the Service.
|
||||
|
||||
Your password protects your user account, and you are solely responsible for keeping your password confidential and secure. You understand that you are responsible for all use of your username and password on the Service. If your username or password is lost or stolen, or if you believe there has been unauthorized access to your account by third parties, please notify us immediately and change your password as soon as possible.
|
||||
|
||||
9. Copyright infringement
|
||||
Spotify respects the rights of intellectual property owners. For details on Spotify’s copyright policy, please click here.
|
||||
|
||||
10. Technology limitations and modifications
|
||||
Spotify will make reasonable efforts to keep the Spotify Service operational. However, certain technical difficulties or maintenance may, from time to time, result in temporary interruptions. Spotify reserves the right, periodically and at any time, to modify or discontinue, temporarily or permanently, functions and features of the Spotify Service, with or without notice, all without liability to you for any interruption, modification, or discontinuation of the Spotify Service or any function or feature thereof. You understand and agree that Spotify has no obligation to maintain, support, upgrade, or update the Service, or to provide all or any specific content through the Service.
|
||||
|
||||
11. Brand Accounts
|
||||
If you establish a Spotify account on behalf of a company, organization, entity or brand (a “Brand Account”): (a) the terms “you” and “your”, as used throughout the Terms, apply to both you and the Brand (as defined below), as applicable; and (b) the following additional terms apply to your use of the Spotify Service for such purposes (the “Brand Account Terms”). To the extent of a conflict between these Brand Account Terms and the rest of the Terms, these Brand Account Terms shall apply, solely with respect to your Brand Account.
|
||||
|
||||
If you open a Brand Account, you represent and warrant that you are authorized to grant all permissions and licenses provided in these Terms and to bind the applicable company, organization, entity or brand (the “Brand”) to these Terms. Spotify has no obligation to promote the Brand Account profile or Brand Playlists (as defined below) and reserves the right to remove or disable access to a Brand’s User Content or profile, consistent with these Terms.
|
||||
|
||||
In addition to the User Guidelines set forth in Section 8, the following additional guidelines apply to the Brand’s use of the Spotify Service under a Brand Account:
|
||||
|
||||
Brand Playlists.“Brand Playlist” means any song compilation that a Brand creates using the Spotify Service. Unless the Brand has obtained all necessary rights and authorizations from all applicable artists, composers, publishers, labels and other relevant third parties with respect to a Brand Playlist: (a) the Brand Playlist may not be used for commercial or promotional purposes; (b) the name of the Brand Playlist may not include the Brand’s name or the name of any specific entity, brand product, or service; and (c) the Brand Playlists must consist of at least 20 songs and may not include more than one track by a single artist or band.
|
||||
Following. Unless the Brand has obtained all necessary rights and authorizations from the applicable user: (a) the Brand may only follow users who first follow the Brand; (b) the Brand may not follow artists; and (c) the Brand may not follow a user in any manner that implies an endorsement or relationship between the Brand and the followed user. Spotify reserves the right to request that a Brand cease following any user(s), for any reason, in Spotify’s sole discretion. In such event, the Brand must cease following such user(s).
|
||||
Sharing. Unless the Brand has obtained all necessary rights and authorizations from all applicable artists, composers, labels and other third parties: (a) the Brand may only share (including but not limited to posting and messaging on an automatic or individual basis) Brand Playlists complying with the Brand Playlist requirements above , but not individual songs; and (b) the Brand may not use the Spotify Play Button to embed Brand Playlists on the Brand’s website(s), Facebook page(s) or other assets (but the Brand may use a Spotify link or Spotify Follow button on such assets complying with the Brand Playlist requirements above).
|
||||
12. Export control
|
||||
Spotify’s products may be subject to U.S. export and reexport control laws and regulations, including the Export Administration Regulations (“EAR”) maintained by the U.S. Department of Commerce, trade and economic sanctions maintained by the Treasury Department’s Office of Foreign Assets Control (“OFAC”), and the International Traffic in Arms Regulations (“ITAR”) maintained by the Department of State. You warrant that you are (1) not located in Cuba, Iran, North Korea, Sudan, or Syria, and (2) are not a denied party as specified in the regulations listed above.
|
||||
|
||||
You agree to comply with all applicable export and reexport control laws and regulations, including the EAR, trade and economic sanctions maintained by OFAC, and the ITAR. Specifically, you agree that you shall not – directly or indirectly – sell, export, reexport, transfer, divert, or otherwise dispose of any products, software, or technology (including products derived from or based on such technology) received from Spotify under these Agreements to any destination, entity, or person prohibited by the laws or regulations of the United States, without obtaining prior authorization from the competent government authorities as required by those laws and regulations. This export control clause shall survive termination or cancellation of these Agreements.
|
||||
|
||||
13. Payments, cancellations and cooling off
|
||||
If you reside in a Local Country which is part of the European Union and have purchased a Paid Subscription or Code online, you have the right to change your mind and receive a full refund within fourteen (14) days of purchase (the “Cooling-off Period”), but only if you have not logged in or otherwise redeemed or started to consume them.
|
||||
|
||||
If you have a Paid Subscription, your payment to Spotify will automatically renew at the end of the subscription period, unless you cancel your Paid Subscription through your subscription page before the end of the current subscription period. The cancellation will take effect the day after the last day of the current subscription period, and you will be downgraded to the Free Service. However, if you cancel your payment and/or terminate the Terms after the Cooling-off Period is over (where applicable), and/or before the end of the subscription period, we will not refund any subscription fees already paid to us.
|
||||
|
||||
Spotify may change the price for the Paid Subscriptions from time to time, and will communicate any price changes to you. Price changes for Paid Subscriptions will take effect at the start of the next subscription period following the date of the price change. By continuing to use the Spotify Service after the price change takes effect, you accept the new price.
|
||||
|
||||
14. Term and termination
|
||||
These Terms will continue to apply to you until terminated by either you or Spotify. Spotify may terminate the Terms or suspend your access to the Spotify Service at any time, including in the event of your actual or suspected unauthorised use of the Spotify Service or non-compliance with the Terms. If you or Spotify terminate the Terms, or if Spotify suspends your access to the Spotify Service, you agree that Spotify shall have no liability or responsibility to you and Spotify will not refund any amounts that you have already paid, to the fullest extent permitted under applicable law. To learn how to terminate your Spotify account, please go here.
|
||||
|
||||
15. Warranty
|
||||
We endeavor to provide the best service we can, but you understand and agree that THE SPOTIFY SERVICE IS PROVIDED “AS IS”, WITHOUT EXPRESS OR IMPLIED WARRANTY OR CONDITION OF ANY KIND. YOU USE THE SPOTIFY SERVICE AT YOUR OWN RISK. SPOTIFY DISCLAIMS ANY WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.
|
||||
|
||||
In addition, Spotify does not warrant, endorse, guarantee or assume responsibility for any Third Party Applications, Third Party Application content, User Content, or any other product or service advertised or offered by a third party on or through the Spotify Service or any hyperlinked website, or featured in any banner or other advertising. You understand and agree that Spotify is not responsible or liable for any transaction between you and third-party providers of Third Party Applications or products or services advertised on or through the Spotify Service. As with any purchase of a product or service through any medium or in any environment, you should use your judgment and exercise caution where appropriate. No advice or information whether oral or in writing obtained by you from Spotify shall create any warranty on behalf of Spotify in this regard. Some aspects of this section may not apply in some jurisdictions.
|
||||
|
||||
16. Limitation
|
||||
You agree that, to the extent permitted by applicable law, your sole and exclusive remedy for any problems or dissatisfaction with the Spotify Service, the Third Party Applications or the Third Party Application content is to uninstall any Spotify software and to stop using the Spotify Service, the Third Party Applications or the Third Party Application content.
|
||||
|
||||
TO THE FULLEST EXTENT PERMITTED BY LAW, IN NO EVENT WILL SPOTIFY, ITS OFFICERS, SHAREHOLDERS, EMPLOYEES, AGENTS, DIRECTORS, SUBSIDIARIES, AFFILIATES, SUCCESSORS, ASSIGNS, SUPPLIERS OR LICENSORS BE LIABLE FOR (i) ANY INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, EXEMPLARY OR CONSEQUENTIAL (INCLUDING LOSS OF USE, DATA, BUSINESS, OR PROFITS) DAMAGES, ARISING OUT OF THE USE OR INABILITY TO USE THE SPOTIFY SERVICE, THIRD PARTY APPLICATIONS OR THIRD PARTY APPLICATION CONTENT, REGARDLESS OF LEGAL THEORY, WITHOUT REGARD TO WHETHER SPOTIFY HAS BEEN WARNED OF THE POSSIBILITY OF THOSE DAMAGES, AND EVEN IF A REMEDY FAILS OF ITS ESSENTIAL PURPOSE; (ii) AGGREGATE LIABILITY FOR ALL CLAIMS RELATING TO THE SPOTIFY SERVICE, THIRD PARTY APPLICATIONS OR THIRD PARTY APPLICATION CONTENT MORE THAN THE AMOUNTS PAID BY YOU TO SPOTIFY DURING THE PRIOR THREE MONTHS IN QUESTION.
|
||||
|
||||
Nothing in these Agreements removes or limits Spotify’s liability for fraud, fraudulent misrepresentation, death or personal injury caused by its negligence. Some aspects of this section may not apply in some jurisdictions.
|
||||
|
||||
17. Entire agreement
|
||||
These Agreements constitute all the terms and conditions agreed upon between you and Spotify and supersede any prior agreements in relation to the subject matter of these Agreements, whether written or oral. Any additional or different terms or conditions in relation to the subject matter of the Agreements in any written or oral communication from you to Spotify are void. You represent that you have not accepted the Agreements in reliance on any oral or written representations made by Spotify that are not contained in the Agreements.
|
||||
|
||||
Please note, however, that other aspects of your use of the Spotify Service may be governed by additional agreements. That could include, for example, access to the Spotify Community for customer support, access to the Spotify Service as a result of a gift card, or free or discounted Trials. You will agree to separate terms and conditions in those circumstances, which are listed in full here. Those terms and conditions shall govern only with regard to the aspect of the Service to which they apply, and are distinct from and supplemental to these Agreements, and do not supersede these Agreements. To the extent that there is any conflict between those agreements and these Agreements, these Agreements shall control, except as otherwise provided in these Terms.
|
||||
|
||||
Occasionally we may offer you the chance to participate in sweepstakes, contests, and surveys (“Special Promotions”) through the Service. Special Promotions may be governed by terms and conditions that are separate from these Terms. If the provisions of a Special Promotion’s terms and conditions conflict with these Terms, those separate terms and conditions shall prevail.
|
||||
|
||||
18. Severability
|
||||
Should any provision of the Terms be held invalid or unenforceable for any reason or to any extent, such invalidity or enforceability shall not in any manner affect or render invalid or unenforceable the remaining provisions of the Terms, and the application of that provision shall be enforced to the extent permitted by law.
|
||||
|
||||
19. Choice of law, mandatory arbitration and venue
|
||||
Unless otherwise required by a mandatory law of a member state of the European Union or any other jurisdiction, these Agreements are subject to the law of the State of California, United States, without regard to choice or conflicts of law principles. Further, you and Spotify agree to the exclusive jurisdiction of the state and federal courts in San Francisco County, California or New York, New York to resolve any dispute, claim or controversy that arises in connection with these Agreements.
|
||||
|
||||
If you are a United States user, the following mandatory arbitration provisions also apply to you:
|
||||
|
||||
You and Spotify agree that any dispute, claim or controversy arising out of or relating in any way to the Spotify Service or your use thereof, including our Agreements, shall be determined by mandatory binding arbitration. You agree that the U.S. Federal Arbitration Act governs the interpretation and enforcement of this provision, and that you and Spotify are each waiving the right to a trial by jury and the right to participate in a class or multi-party action. This arbitration provision shall survive termination of these Agreements and the termination of your Spotify account. The arbitration will be governed by the Commercial Arbitration Rules and the Supplementary Procedures for Consumer Related Disputes of the American Arbitration Association (the “AAA Rules”), as modified by these Agreements, and as administered by the AAA. You and Spotify agree that these Agreements involve interstate commerce and are subject to the Federal Arbitration Act.
|
||||
You and Spotify agree that (a) any claims seeking to enforce, protect, or determine the validity or ownership of any intellectual property rights, and (b) any claims related to allegations of theft, piracy or unauthorized use of the Spotify Service are NOT subject to mandatory arbitration. Instead, you and Spotify agree that these claims (including but not limited to claims for injunctive or equitable relief) shall be exclusively decided by courts of competent jurisdiction in San Francisco County, California or New York, New York, and that applicable California and/or Federal law shall govern, without regard to choice of law principles.
|
||||
YOU AND SPOTIFY AGREE THAT EACH MAY BRING CLAIMS AGAINST THE OTHER ONLY IN YOUR OR ITS INDIVIDUAL CAPACITY, AND NOT AS A CLASS MEMBER OR IN ANY REPRESENTATIVE CAPACITY OR PROCEEDING. Further, no arbitrator shall consolidate any other person’s claims with your claims, and may not otherwise preside over any form of a multi-party or class proceeding. If this specific provision is found to be unenforceable in any way, then the entirety of this arbitration section shall be null and void. The arbitrator may not award declaratory or injunctive relief.
|
||||
Any arbitration must be commenced by filing a demand for arbitration with the AAA within ONE (1) YEAR after the date the party asserting the claim first knows or reasonably should know of the act, omission or default giving rise to the claim; and there shall be no right to any remedy for any claim not asserted within that time period. If applicable law prohibits a one-year limitations period for asserting claims, any claim must be asserted within the shortest time period permitted by applicable law. Your arbitration fees and your share of arbitrator compensation will be limited to those fees set forth in the AAA's Consumer Rules with the remainder paid by Spotify. Any arbitration costs or fees deemed “excessive” will be paid by Spotify.
|
||||
20. Local Country chart
|
||||
This chart details the Spotify entity with which you are contracting by accepting these Agreements, depending on your Local Country of residence.
|
||||
|
||||
Local Country of Residence Spotify entity
|
||||
Australia or New Zealand Spotify Australia PTY. Ltd., registration number ACN 154 200 941
|
||||
Austria Spotify Austria GmbH, registration number FN 354148 g
|
||||
Belgium Spotify NV, registration number 0841.023.949
|
||||
Denmark Spotify Denmark ApS, registration number 33785348
|
||||
Finland Spotify Finland Oy, registration number 2388862-0
|
||||
France Spotify France SAS, registration number 51193072900013
|
||||
Germany Spotify GmbH, registration number HRB 114 530 B
|
||||
Liechtenstein, Luxembourg, Monaco and Andorra Spotify AB, registration number 556703-7485
|
||||
Netherlands Spotify Netherlands B.V., registration number 34388788
|
||||
Norway Spotify Norway AS, registration number 994 445 820
|
||||
Spain Spotify Spain S.L, registration number B85346294
|
||||
Sweden Spotify Sweden AB, registration number 556786-5729
|
||||
Switzerland Spotify Switzerland AG, registration number CH-020.3.037.242-8
|
||||
United Kingdom or Ireland Spotify Limited, registration number 06436047
|
||||
USA Spotify USA Inc, registered in Delaware with registration number 4664052
|
||||
Thank you for reading our Terms. We hope you enjoy Spotify.
|
||||
|
||||
Copyright © 2012 Spotify AB. All rights reserved.
|
||||
|
||||
Spotify USA Inc., 45 W. 18th Street,
|
||||
7th Floor
|
||||
New York, NY 10011
|
||||
USA
|
0
SRPMS/spotify/distroutils.sysconfig
Normal file
BIN
SRPMS/spotify/spotify-make-20130831git.tar.bz2
Normal file
78
SRPMS/spotify/spotify.spec.in
Normal file
@@ -0,0 +1,78 @@
|
||||
%define spotify_make_ver 20130831git
|
||||
Name: spotify
|
||||
Version: @spotifyver@
|
||||
Release: 1mamba
|
||||
Summary: Listen to music using Spotify
|
||||
Group: Graphical Desktop/Applications/Multimedia
|
||||
Vendor: @vendor@
|
||||
Distribution: @distribution@
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.spotify.com/us/download/previews/
|
||||
## GITSOURCE https://github.com/leamas/spotify-make.git master
|
||||
Source: https://github.com/leamas/spotify-make.git/master/spotify-make-%{spotify_make_ver}.tar.bz2
|
||||
Source1: LICENSE
|
||||
License: Not distributable
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Listen to music using Spotify.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n spotify-make-%{spotify_make_ver}
|
||||
|
||||
%build
|
||||
./configure \
|
||||
--prefix=/opt/spotify \
|
||||
--mandir=%{_mandir}
|
||||
|
||||
make download
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
install -d -m0755 %{buildroot}%{_datadir}
|
||||
mv %{buildroot}/opt/spotify/share/applications %{buildroot}%{_datadir}
|
||||
mv %{buildroot}/opt/spotify/share/icons %{buildroot}%{_datadir}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
if [ $1 -ge 1 ]; then
|
||||
gtk-update-icon-cache --ignore-theme-index %{_datadir}/icons/hicolor
|
||||
desktop-file-validate %{_datadir}/applications/spotify.desktop
|
||||
update-desktop-database %{_datadir}/applications
|
||||
fi
|
||||
:
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
gtk-update-icon-cache --ignore-theme-index %{_datadir}/icons/hicolor
|
||||
desktop-file-validate %{_datadir}/applications/spotify.desktop
|
||||
update-desktop-database %{_datadir}/applications
|
||||
fi
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir /opt/spotify
|
||||
%dir /opt/spotify/bin
|
||||
/opt/spotify/bin/spotify
|
||||
%dir /opt/spotify/lib
|
||||
%dir /opt/spotify/lib/spotify-client
|
||||
/opt/spotify/lib/spotify-client
|
||||
/opt/spotify/lib/spotify-client/*
|
||||
%{_datadir}/applications/spotify.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/spotify-client.png
|
||||
%dir /opt/spotify/share/spotify-client/
|
||||
/opt/spotify/share/spotify-client/*
|
||||
%{_mandir}/man1/spotify.1.gz
|
||||
|
||||
%changelog
|
||||
* Sat Aug 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1.55.gbdd3b79.203-1mamba
|
||||
- package created by silvan using the webbuild interface
|
68
SRPMS/sun-java7/LICENSE
Normal 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 Software’s “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
|
||||
|
0
SRPMS/sun-java7/distroutils.sysconfig
Normal file
725
SRPMS/sun-java7/sun-java7.spec.in
Normal file
@@ -0,0 +1,725 @@
|
||||
%define JRE_NSVER 7
|
||||
|
||||
%define MAJOR %(echo %version | cut -du -f1)
|
||||
%define MINOR %(echo %version | 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 %{version}
|
||||
%define label -%{name}
|
||||
%define jdklnk jdk7-%{origin}
|
||||
%define jrelnk jre7-%{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-java7
|
||||
Version: @sunjava7ver@
|
||||
Release: 1@distroext@
|
||||
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
|
||||
#Source0: http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-%{version}-linux-i586.tar.gz
|
||||
#Source1: http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-%{version}-linux-x64.tar.gz
|
||||
#Source2: http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-%{version}-linux-arm-sfp.tar.gz
|
||||
#Source3: sun-java7-jdk-profile
|
||||
#Source4: sun-java7-jre-profile
|
||||
BuildRequires: jpackage-utils
|
||||
Provides: jdk = %{version}
|
||||
Provides: jdk2 = %{version}
|
||||
License: Oracle Binary Code License
|
||||
Requires: shared-mime-info
|
||||
Requires: desktop-file-utils
|
||||
Requires: sun-java7-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 = %{version}
|
||||
Provides: jre = %{version}
|
||||
|
||||
%description runtime
|
||||
Sun Java Platform Runtime Environment.
|
||||
|
||||
%prep
|
||||
[ "%{toplevel_dir}" != / ] && rm -rf "%{toplevel_dir}"
|
||||
|
||||
%setup -q -T -c
|
||||
|
||||
#echo yes | MORE=10000
|
||||
%ifarch %{ix86}
|
||||
wget -nv --tries=2 --no-cookies --header \
|
||||
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjdk-%{version}-download-1501626.html;" \
|
||||
http://download.oracle.com/otn-pub/java/jdk/%{version}-b15/jdk-%{version}-linux-i586.tar.gz
|
||||
tar xf jdk-%{version}-linux-i586.tar.gz
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
wget -nv --tries=2 --no-cookies --header \
|
||||
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjdk-%{version}-download-1501626.html;" \
|
||||
http://download.oracle.com/otn-pub/java/jdk/%{version}-b15/jdk-%{version}-linux-x64.tar.gz
|
||||
tar xf jdk-%{version}-linux-x64.tar.gz
|
||||
%endif
|
||||
%ifarch arm
|
||||
wget -nv --tries=2 --no-cookies --header \
|
||||
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjdk-%{version}-download-1501626.html;" \
|
||||
http://download.oracle.com/otn-pub/java/jdk/%{version}-b15/jdk-%{version}-linux-arm-sfp.tar.gz
|
||||
tar xf jdk-%{version}-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 [ %{version} != %{javaver} ]; then
|
||||
#ln -fs ${jar} $(echo $jar | sed "s|-%{version}.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
|
||||
pushd %{buildroot}%{_jvmdir}/%{jredir}
|
||||
ln -s %{_jvmdir}/%{jredir}/plugin/i386/ns%{JRE_NSVER}/libjavaplugin_oji.so \
|
||||
%{buildroot}%{_libdir}/mozilla/plugins/libjava7plugin_oji.so
|
||||
ln -s %{_jvmdir}/%{jredir}/plugin/i386/ns%{JRE_NSVER}/libjavaplugin_oji.so \
|
||||
%{buildroot}%{_libdir}/mozilla/plugins/libjava7plugin.so
|
||||
ln -s %{_jvmdir}/%{jredir}/lib/i386/libjavaplugin_jni.so \
|
||||
%{buildroot}%{_libdir}/mozilla/plugins/libjava7plugin_jni.so
|
||||
ln -s %{_jvmdir}/%{jredir}/lib/i386/libjavaplugin_nscp.so \
|
||||
%{buildroot}%{_libdir}/mozilla/plugins/libjava7plugin_nscp.so
|
||||
ln -s %{_jvmdir}/%{jredir}/lib/i386/libnpjp2.so \
|
||||
%{buildroot}%{_libdir}/mozilla/plugins/libnpjp2-7.so
|
||||
popd
|
||||
%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/$file \
|
||||
%{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla
|
||||
# for ghosts
|
||||
touch %{buildroot}%{_jvmdir}/%{jredir}/lib/security/$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}7.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
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
%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/local_policy.jar \
|
||||
jce_%{javaver}_%{origin}_local_policy %{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar 56
|
||||
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_jvmdir}/%{jrelnk}/lib/security/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-sun7.1.gz
|
||||
%{_mandir}/man1/apt-sun7.1.gz
|
||||
%{_mandir}/man1/extcheck-sun7.1.gz
|
||||
%{_mandir}/man1/idlj-sun7.1.gz
|
||||
%{_mandir}/man1/jar-sun7.1.gz
|
||||
%{_mandir}/man1/jarsigner-sun7.1.gz
|
||||
%{_mandir}/man1/javac-sun7.1.gz
|
||||
%{_mandir}/man1/javadoc-sun7.1.gz
|
||||
%ifnarch arm
|
||||
%{_mandir}/man1/javafxpackager-sun7.1.gz
|
||||
%endif
|
||||
%{_mandir}/man1/javah-sun7.1.gz
|
||||
%{_mandir}/man1/javap-sun7.1.gz
|
||||
%{_mandir}/man1/jcmd-sun7.1.gz
|
||||
%{_mandir}/man1/jconsole-sun7.1.gz
|
||||
%{_mandir}/man1/jdb-sun7.1.gz
|
||||
%{_mandir}/man1/jhat-sun7.1.gz
|
||||
%{_mandir}/man1/jinfo-sun7.1.gz
|
||||
%{_mandir}/man1/jmap-sun7.1.gz
|
||||
%{_mandir}/man1/jps-sun7.1.gz
|
||||
%{_mandir}/man1/jrunscript-sun7.1.gz
|
||||
%{_mandir}/man1/jsadebugd-sun7.1.gz
|
||||
%{_mandir}/man1/jstack-sun7.1.gz
|
||||
%{_mandir}/man1/jstat-sun7.1.gz
|
||||
%{_mandir}/man1/jstatd-sun7.1.gz
|
||||
%{_mandir}/man1/jvisualvm-sun7.1.gz
|
||||
%{_mandir}/man1/native2ascii-sun7.1.gz
|
||||
%{_mandir}/man1/policytool-sun7.1.gz
|
||||
%{_mandir}/man1/rmic-sun7.1.gz
|
||||
%{_mandir}/man1/schemagen-sun7.1.gz
|
||||
%{_mandir}/man1/serialver-sun7.1.gz
|
||||
%{_mandir}/man1/wsgen-sun7.1.gz
|
||||
%{_mandir}/man1/wsimport-sun7.1.gz
|
||||
%{_mandir}/man1/xjc-sun7.1.gz
|
||||
%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/x86_64
|
||||
%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/java.security
|
||||
%ifnarch arm
|
||||
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javafx.policy
|
||||
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javaws.policy
|
||||
%endif
|
||||
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklist
|
||||
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/trusted.libraries
|
||||
%ghost %{_jvmdir}/%{jredir}/lib/security/local_policy.jar
|
||||
%ghost %{_jvmdir}/%{jredir}/lib/security/US_export_policy.jar
|
||||
%{_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/libjava7plugin*.so
|
||||
%{_libdir}/mozilla/plugins/libnpjp2-7.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-sun7.1.gz
|
||||
%{_mandir}/man1/javaws-sun7.1.gz
|
||||
%{_mandir}/man1/keytool-sun7.1.gz
|
||||
%{_mandir}/man1/orbd-sun7.1.gz
|
||||
%{_mandir}/man1/pack200-sun7.1.gz
|
||||
%{_mandir}/man1/rmid-sun7.1.gz
|
||||
%{_mandir}/man1/rmiregistry-sun7.1.gz
|
||||
%{_mandir}/man1/servertool-sun7.1.gz
|
||||
%{_mandir}/man1/tnameserv-sun7.1.gz
|
||||
%{_mandir}/man1/unpack200-sun7.1.gz
|
||||
%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
|
||||
* 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
|
@@ -1,7 +1,7 @@
|
||||
## VirtualBox Extension Pack
|
||||
|
||||
# package name (do not modify unless you know what you're doing)
|
||||
VIRTUALBOX_EXTENSION_PACK_PCK=Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack
|
||||
VIRTUALBOX_EXTENSION_PACK_PCK=Oracle_VM_VirtualBox_Extension_Pack-@virtualboxextensionpackver@.vbox-extpack
|
||||
|
||||
# package URL (do not modify unless you know what you're doing)
|
||||
VIRTUALBOX_EXTENSION_PACK_URL=http://download.virtualbox.org/virtualbox/4.1.2/
|
||||
VIRTUALBOX_EXTENSION_PACK_URL=http://download.virtualbox.org/virtualbox/@virtualboxextensionpackver@/
|
@@ -45,14 +45,14 @@ cp %{S:0} LICENSE
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
VBoxManage extpack uninstall Oracle_VM_VirtualBox_Extension_Pack || true
|
||||
VBoxManage extpack install /opt/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}-%{pck_minver}.vbox-extpack
|
||||
# --replace not working
|
||||
#VBoxManage extpack uninstall Oracle_VM_VirtualBox_Extension_Pack || true
|
||||
VBoxManage extpack install /opt/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}%{?pck_minver:%pck_minver}.vbox-extpack --replace
|
||||
# not working
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/opt/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}-%{pck_minver}.vbox-extpack
|
||||
/opt/VirtualBox/extension/Oracle_VM_VirtualBox_Extension_Pack-%{pck_majver}%{?pck_minver:%pck_minver}.vbox-extpack
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
|
@@ -1,4 +1,6 @@
|
||||
FLASHPLUGIN_VERSION=11.0.1.152
|
||||
FLASHPLUGIN_VERSION=11.2.202.297
|
||||
WIN32CODECS_VERSION=20110131
|
||||
SKYPE_VERSION=2.2.0.35
|
||||
VIRTUALBOX_EXTENSION_PACK_VERSION=4.1.2.73507
|
||||
SKYPE_VERSION=4.2.0.11
|
||||
VIRTUALBOX_EXTENSION_PACK_VERSION=4.2.0
|
||||
SUN_JAVA7_VERSION=7u25
|
||||
SPOTIFY_VERSION=0.9.1.55.gbdd3b79.203
|
||||
|
1
SRPMSVERSIONS.arm
Normal file
@@ -0,0 +1 @@
|
||||
SUN_JAVA7_VERSION=7u25
|
BIN
desktop/desktop-common.tar.bz2
Normal file
BIN
desktop/desktop-en.tar.bz2
Normal file
BIN
desktop/desktop-es.tar.bz2
Normal file
29
desktop/desktop-firsttime.sh.in
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# desktop.firsttime - Desktop firsttime script for @distroID@
|
||||
#
|
||||
# This file is called by startkde after the kpersonalizer has been
|
||||
# executed for first access configuration
|
||||
#
|
||||
# Copyright (c) 2005-2012 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (c) 2007 by Davide Madrisan <davide.madrisan@gmail.com>
|
||||
|
||||
if [ ! -e $HOME/Desktop/.directory ]; then
|
||||
|
||||
case "$LANG" in
|
||||
es*) LANG_ADD=es ;;
|
||||
fr*) LANG_ADD=fr ;;
|
||||
it*) LANG_ADD=it ;;
|
||||
*) LANG_ADD=en ;;
|
||||
esac
|
||||
|
||||
if [ -r @distrodesktopdir@/desktop-$LANG_ADD.tar.bz2 ]; then
|
||||
mkdir -p $HOME/Desktop
|
||||
( cd $HOME/Desktop >/dev/null
|
||||
tar xjf @distrodesktopdir@/desktop-common.tar.bz2
|
||||
tar xjf @distrodesktopdir@/desktop-$LANG_ADD.tar.bz2 )
|
||||
fi
|
||||
|
||||
touch $HOME/Desktop/.directory
|
||||
|
||||
fi
|
BIN
desktop/desktop-fr.tar.bz2
Normal file
BIN
desktop/desktop-it.tar.bz2
Normal file
@@ -1,10 +0,0 @@
|
||||
# Configuration file for the PolicyKit Local Authority.
|
||||
#
|
||||
# DO NOT EDIT THIS FILE, it will be overwritten on update.
|
||||
#
|
||||
# See the pklocalauthority(8) man page for more information
|
||||
# about configuring the Local Authority.
|
||||
#
|
||||
|
||||
[Configuration]
|
||||
AdminIdentities=unix-group:sysadmin
|
@@ -33,3 +33,10 @@ Action=org.freedesktop.NetworkManager.*
|
||||
ResultAny=yes
|
||||
ResultInactive=no
|
||||
ResultActive=yes
|
||||
|
||||
[Normal Staff Permissions]
|
||||
Identity=unix-group:sysadmin
|
||||
Action=org.kde.kcontrol.kcmclock.*
|
||||
ResultAny=yes
|
||||
ResultInactive=no
|
||||
ResultActive=yes
|
||||
|
9
etc/profile.d/proxy.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# openmamba system-wide proxy configuration
|
||||
#
|
||||
[ -e /etc/sysconfig/proxy ] && . /etc/sysconfig/proxy
|
||||
[ "$http_proxy" ] && export HTTP_PROXY=$http_proxy
|
||||
[ "$https_proxy" ] && export HTTPS_PROXY=$https_proxy
|
||||
[ "$ftp_proxy" ] && export FTP_PROXY=$ftp_proxy
|
||||
[ "$socks_proxy" ] && export SOCKS_PROXY=$socks_proxy
|
||||
[ "$no_proxy" ] && export NO_PROXY=$no_proxy
|
1
etc/sudoers.d/proxy
Normal file
@@ -0,0 +1 @@
|
||||
Defaults env_keep += "ftp_proxy http_proxy https_proxy socks_proxy no_proxy FTP_PROXY HTTP_PROXY HTTPS_PROXY SOCKS_PROXY NO_PROXY"
|
17
etc/sysconfig/proxy
Normal file
@@ -0,0 +1,17 @@
|
||||
# System proxy configuration file
|
||||
|
||||
# Here some examples:
|
||||
|
||||
# http_proxy=http://proxy.example.com:8080
|
||||
# https_proxy=http://proxy.example.com:8080
|
||||
# ftp_proxy=http://proxy.example.com:8080
|
||||
# socks_proxy=http://proxy.example.com:8080
|
||||
# no_proxy=localhost,127.0.0.1
|
||||
|
||||
# http_proxy=http://user:password@proxy.example.com:3128
|
||||
# https_proxy=http://user:password@proxy.example.com:3128
|
||||
# ftp_proxy=http://user:password@proxy.example.com:3128
|
||||
|
||||
# http_proxy=http://domain\\user:password@proxy.example.com:8080
|
||||
# https_proxy=http://domain\\user:password@proxy.example.com:8080
|
||||
# ftp_proxy=http://domain\\user:password@proxy.example.com:8080
|
1
etc/xprofile.d/qt-graphicssystem.sh
Normal file
@@ -0,0 +1 @@
|
||||
export QT_GRAPHICSSYSTEM=raster
|
@@ -1,3 +1,6 @@
|
||||
[Compositing]
|
||||
DisableChecks=true
|
||||
|
||||
[Windows]
|
||||
ElectricBorders=1
|
||||
ElectricBorderDelay=150
|
||||
|
@@ -397,7 +397,7 @@ Released under the terms of the GNU GPL v3 license</string>
|
||||
URL_OPTIONS="$URL_OPTIONS&newinst=1"
|
||||
}
|
||||
dcop @dcopid KommanderIf setChecked BackBox false
|
||||
/usr/bin/curl --connect-timeout 30 -f http://www.openmamba.org/distribution/services/check.html$URL_OPTIONS
|
||||
/usr/bin/wget -T 30 http://www.openmamba.org/distribution/services/check.html$URL_OPTIONS -o /dev/null
|
||||
RET=$?
|
||||
if [ $RET -eq 0 ]; then
|
||||
dcop @dcopid KommanderIf setVisible checkButton false
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=openmamba system report
|
||||
Name[it]=Report del systema openmamba
|
||||
Name[it]=Report del sistema openmamba
|
||||
GenericName=Creates a system report for debugging
|
||||
GenericName[it]=Genera un report del sistema
|
||||
Exec=kmdr-executor /usr/share/openmamba/mambareport/mambareport.kmdr
|
||||
|
@@ -850,7 +850,7 @@ problemtext=`echo @problem.text() | sed "s|\"|\\\"|"`
|
||||
SYSTEM_MANUFACTURER=`dcop @dcopid KommanderIf text Manufacturer` \
|
||||
SYSTEM_PRODUCT_NAME=`dcop @dcopid KommanderIf text Product` \
|
||||
SYSTEM_SERIAL_NUMBER=`dcop @dcopid KommanderIf text Serial` \
|
||||
kdesudo openmamba-makereport @repdir.text() $HOME $inputfile &> $errfile
|
||||
pkexec openmamba-makereport @repdir.text() $HOME $inputfile &> $errfile
|
||||
ret=$?
|
||||
if [ $ret -eq 0 ]; then
|
||||
dcop @dcopid KommanderIf setChecked NextBox true
|
||||
|
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# openmamba system report generation tool
|
||||
#
|
||||
# Copyright (c) 2008-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (c) 2008-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
#
|
||||
|
||||
VERSION=20110807
|
||||
@@ -11,26 +11,20 @@ TEMPFILE=`tempfile`
|
||||
. ${ROOT}/etc/sysconfig/machine
|
||||
|
||||
[ ! "$SYSTEM_MANUFACTURER" -o "$SYSTEM_MANUFACTURER" = "System manufacturer" ] && {
|
||||
echo -n "Please enter the name of the system manufacturer: "
|
||||
read SYSTEM_MANUFACTURER
|
||||
SYSTEM_MANUFACTURER=unknown
|
||||
}
|
||||
|
||||
[ ! "$SYSTEM_PRODUCT_NAME" -o "$SYSTEM_PRODUCT_NAME" = "System Product Name" ] && {
|
||||
echo -n "Please enter the name of the system product name: "
|
||||
read SYSTEM_PRODUCT_NAME
|
||||
SYSTEM_PRODUCT_NAME=unknown
|
||||
}
|
||||
|
||||
[ ! "$SYSTEM_SERIAL_NUMBER" -o "$SYSTEM_SERIAL_NUMBER" = "System Serial Number" ] && {
|
||||
echo -n "Please enter the name of the system serial number: "
|
||||
read SYSTEM_SERIAL_NUMBER
|
||||
SYSTEM_SERIAL_NUMBER=unknown
|
||||
}
|
||||
|
||||
SYSTEM_MANUFACTURER=`echo $SYSTEM_MANUFACTURER | tr ' ' _`
|
||||
SYSTEM_MANUFACTURER=`echo $SYSTEM_MANUFACTURER | tr '-' _`
|
||||
SYSTEM_PRODUCT_NAME=`echo $SYSTEM_PRODUCT_NAME | tr ' ' _`
|
||||
SYSTEM_PRODUCT_NAME=`echo $SYSTEM_PRODUCT_NAME | tr '-' _`
|
||||
SYSTEM_SERIAL_NUMBER=`echo $SYSTEM_SERIAL_NUMBER | tr ' ' _`
|
||||
SYSTEM_SERIAL_NUMBER=`echo $SYSTEM_SERIAL_NUMBER | tr '-' _`
|
||||
SYSTEM_MANUFACTURER=`echo $SYSTEM_MANUFACTURER | tr ' ' _ | tr '-' _ | tr '/' _`
|
||||
SYSTEM_PRODUCT_NAME=`echo $SYSTEM_PRODUCT_NAME | tr ' ' _ | tr '-' _ | tr '/' _`
|
||||
SYSTEM_SERIAL_NUMBER=`echo $SYSTEM_SERIAL_NUMBER | tr ' ' _ | tr '-' _ | tr '/' _`
|
||||
|
||||
REPORTNAME="openmamba-report-$SYSTEM_MANUFACTURER-$SYSTEM_PRODUCT_NAME-$SYSTEM_SERIAL_NUMBER.txt"
|
||||
|
||||
@@ -129,7 +123,7 @@ _EOF
|
||||
}
|
||||
|
||||
echo "openmamba report generation tool $VERSION"
|
||||
echo "Copyright (c) 2008-2011 by Silvan Calarco"
|
||||
echo "Copyright (c) 2008-2013 by Silvan Calarco"
|
||||
echo
|
||||
|
||||
[ $UID = 0 ] || {
|
||||
@@ -178,7 +172,7 @@ catfile /boot/grub/grub.cfg "GRUB configuration"
|
||||
catfile /var/log/dmesg.log "kernel startup messages"
|
||||
catcommand /bin/dmesg "last kernel messages"
|
||||
catfile "/etc/modprobe.d/*" "modules configuration"
|
||||
catcommand "/usr/sbin/lsinitrd /boot/initramfs-`uname -r`.img" "running kernel initial ramdisk"
|
||||
catcommand "lsinitrd /boot/initramfs-`uname -r`.img" "running kernel initial ramdisk"
|
||||
|
||||
# system boot problems
|
||||
catfile /var/log/initd.sysinit.start "system init logfile"
|
||||
@@ -199,7 +193,7 @@ tailfile $HOME/.xsession-errors "desktop session log"
|
||||
# Audio
|
||||
catfile "/proc/asound/card*/codec*" "Audio driver codecs"
|
||||
catfile "/etc/asound.conf" "Alsa configuration"
|
||||
catfile "/etc/asound.state" "Alsa mixer settings"
|
||||
catfile "/var/lib/alsa/asound.state" "Alsa mixer settings"
|
||||
|
||||
# Network
|
||||
catcommand "/sbin/ifconfig -a" "Network interfaces list"
|
||||
|
@@ -44,6 +44,10 @@ Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
|
||||
dcop_write $"Configuring..." 5
|
||||
|
||||
# update grub device mappings and config
|
||||
[ -e /usr/sbin/grub-mkdevicemap ] && /usr/sbin/grub-mkdevicemap -n
|
||||
/usr/sbin/update-grub
|
||||
|
||||
[ -r $INPUT_FILE ] || {
|
||||
echo $"Error: cannot read input file $INPUT_FILE; aborting." >&2
|
||||
abort
|
||||
@@ -68,6 +72,7 @@ dcop_write $"Configuring users and host..." 50
|
||||
echo $"Configuring users and host" | tee -a $LOG_FILE
|
||||
# configure user
|
||||
[ "$INSTALL_USER" ] && {
|
||||
userdel -rf liveuser
|
||||
useradd $INSTALL_USER \
|
||||
-c "$INSTALL_USER_FULLNAME" \
|
||||
-G audio,filesharing,sysadmin,packager,lpadmin,video,nopermfs || {
|
||||
@@ -159,10 +164,6 @@ sh -c "echo $INSTALL_ROOT_PASSWORD | passwd --stdin" || {
|
||||
sed -i "s|netbios name =.*|netbios name = $INSTALL_HOSTNAME|" /etc/samba/smb.conf
|
||||
}
|
||||
|
||||
# update grub device mappings and config
|
||||
/usr/sbin/grub-mkdevicemap -n
|
||||
/usr/sbin/update-grub
|
||||
|
||||
# configure suspend (from suspend rpm post script) and recreate mkinitramfs
|
||||
grep path_to_resume_device_file /etc/suspend.conf && {
|
||||
SWAPLINE=`/sbin/swapon -s |grep -m1 ^/dev/`
|
||||
|
@@ -12,7 +12,7 @@ Exec=@bindir@/openmamba-netsrpms b43-firmware
|
||||
Icon=network-wireless
|
||||
MimeType=
|
||||
Path=
|
||||
StartupNotify=true
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
|
@@ -12,7 +12,7 @@ Exec=@bindir@/openmamba-netsrpms flashplugin
|
||||
Icon=distromenu-flash
|
||||
MimeType=
|
||||
Path=
|
||||
StartupNotify=true
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
|
@@ -12,3 +12,4 @@ Comment[fr]=Installation du Java Runtime Environment (JRE) depuis le réseau
|
||||
Exec=@bindir@/openmamba-netsrpms jre
|
||||
Icon=distromenu-java
|
||||
Categories=X-@distroID@-NetInstall;
|
||||
StartupNotify=false
|
||||
|
@@ -12,3 +12,4 @@ Comment[fr]=Installation des polices MS TrueType pour le Web
|
||||
Exec=@bindir@/openmamba-netsrpms msttcorefonts
|
||||
Icon=fonts-package
|
||||
Categories=X-@distroID@-NetInstall;
|
||||
StartupNotify=false
|
||||
|
@@ -12,7 +12,7 @@ Exec=@bindir@/openmamba-netsrpms skype
|
||||
Icon=distromenu-skype
|
||||
MimeType=
|
||||
Path=
|
||||
StartupNotify=true
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
|
19
menu/applications/netinstall/spotify.desktop.in
Normal file
@@ -0,0 +1,19 @@
|
||||
[Desktop Entry]
|
||||
Name=Install Spotify
|
||||
Name[es]=Instala Spotify
|
||||
Name[fr]=Installation du Spotify
|
||||
Name[it]=Installa Spotify
|
||||
Comment=Install Spotify from network
|
||||
Comment[es]=Instala Spotify por red
|
||||
Comment[fr]=Installation du Spotify depuis le réseau
|
||||
Comment[it]=Installa Spotify dalla rete
|
||||
Encoding=UTF-8
|
||||
Exec=@bindir@/openmamba-netsrpms spotify
|
||||
Icon=distromenu-spotify
|
||||
MimeType=
|
||||
Path=
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
Categories=X-@distroID@-NetInstall;
|
19
menu/applications/netinstall/sun-java7.desktop.in
Normal file
@@ -0,0 +1,19 @@
|
||||
[Desktop Entry]
|
||||
Name=Install Sun Java 7
|
||||
Name[es]=Instala Sun Java 7
|
||||
Name[fr]=Installation du Sun Java 7
|
||||
Name[it]=Installa Sun Java 7
|
||||
Comment=Install Sun Java 7 from network
|
||||
Comment[es]=Instala Sun Java 7 por red
|
||||
Comment[fr]=Installation du Sun Java 7 depuis le réseau
|
||||
Comment[it]=Installa Sun Java 7 dalla rete
|
||||
Encoding=UTF-8
|
||||
Exec=@bindir@/openmamba-netsrpms sun-java7
|
||||
Icon=distromenu-java
|
||||
MimeType=
|
||||
Path=
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
Categories=X-@distroID@-NetInstall;
|
@@ -12,7 +12,7 @@ Exec=@bindir@/openmamba-netsrpms virtualbox-extension-pack
|
||||
Icon=VBox
|
||||
MimeType=
|
||||
Path=
|
||||
StartupNotify=true
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
|
@@ -12,3 +12,4 @@ Comment[fr]=Installation et mise à jour des codecs multimédias Win32
|
||||
Exec=@bindir@/openmamba-netsrpms win32codecs
|
||||
Icon=applications-multimedia
|
||||
Categories=X-@distroID@-NetInstall;
|
||||
StartupNotify=false
|
||||
|
BIN
menu/icons/hicolor/128x128/apps/distromenu-spotify.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
menu/icons/hicolor/24x24/apps/distromenu-spotify.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
menu/icons/hicolor/256x256/apps/distromenu-spotify.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
menu/icons/hicolor/32x32/apps/distromenu-java.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
menu/icons/hicolor/32x32/apps/distromenu-spotify.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
menu/icons/hicolor/48x48/apps/distromenu-java.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
menu/icons/hicolor/48x48/apps/distromenu-spotify.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
menu/icons/hicolor/64x64/apps/distromenu-java.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
menu/icons/hicolor/64x64/apps/distromenu-spotify.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# netsrpm-install.sh - Build srpms that download sources from network
|
||||
#
|
||||
# Copyright (C) 2003-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (C) 2003-2013 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (C) 2005 by Massimo Pintore <massimo.pintore@qilinux.it>
|
||||
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@qilinux.it>
|
||||
|
||||
@@ -13,7 +13,10 @@ rpmdir=$(rpm --eval=%{_rpmdir} 2>/dev/null)
|
||||
while [ "$1" ]; do
|
||||
case $1 in
|
||||
-c) CHECK_MODE=1 ;;
|
||||
-f) FORCE_MODE=1 ;;
|
||||
-u) UPGRADE_MODE=1 ;;
|
||||
-h|--help) PACKAGES= ; break ;;
|
||||
-*) echo "Error: invalid option $1; aborting."; exit 1 ;;
|
||||
*) PACKAGES="$PACKAGES $1"
|
||||
esac
|
||||
shift
|
||||
@@ -21,9 +24,11 @@ done
|
||||
|
||||
if [ -z "$PACKAGES" ]; then
|
||||
echo "Usage:
|
||||
$me [-c] pkgname ...
|
||||
$me [options...] pkgname ...
|
||||
|
||||
Options:
|
||||
-c: only check and exit (returns: 0: up-to-date; 1: needs update; 2: not installed)
|
||||
-f: force reinstallation if already installed
|
||||
-u: only upgrade if already installed
|
||||
"
|
||||
exit 255
|
||||
@@ -32,9 +37,7 @@ fi
|
||||
function check_if_already_installed() {
|
||||
rpm -q $1 &>/dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
notify-send -i $icon "$pckname" "$pckname: "$"already installed."
|
||||
else
|
||||
notify-send -i $icon "$pckname" $"There was an error installing"" $pckname!"
|
||||
notify-send -a $"Network software installation" -i $icon "$pckname" "$pckname: "$"already installed."
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -101,35 +104,47 @@ for pckname in $PACKAGES; do
|
||||
cpio --quiet --extract --make-directories < $tmpfile ) 2>/dev/null
|
||||
|
||||
if [ -f $tmpdir/LICENSE ]; then
|
||||
license-dialog $tmpdir/LICENSE
|
||||
[ $? -ne 0 ] && exit 1
|
||||
if [ "$DISPLAY" ]; then
|
||||
license-dialog $tmpdir/LICENSE
|
||||
[ $? -ne 0 ] && exit 1
|
||||
else
|
||||
echo "You must accept the following license terms:"
|
||||
echo
|
||||
more $tmpdir/LICENSE
|
||||
echo -n "Do you agree with the above license terms [y/N]? "
|
||||
read ans
|
||||
[ "$ans" = "Y" -o "$ans" = "y" ] || exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
notify-send -i $icon "$pckname" $"$pckname installation in progress..."
|
||||
notify-send -a $"Network software installation" -i $icon "$pckname" $"$pckname installation in progress..."
|
||||
|
||||
# build rpm
|
||||
echo "$me: "$"rebuilding package \`$SRPM_PATH'..."
|
||||
rpmbuild --rebuild $SRPM_PATH --define="%_rpmdir $tmpdir"
|
||||
if [ $? -gt 0 ]; then
|
||||
echo "$me: "$"error rebuilding \`$SRPM_PATH'."" "$"Aborting..." >&2
|
||||
check_if_already_installed $pckname
|
||||
notify-send -a $"Network software installation" -i $icon "$pckname" $"There was an error installing"" $pckname!"
|
||||
exit 255
|
||||
fi
|
||||
RPM_PATH=`find $tmpdir -name \*.rpm`
|
||||
|
||||
# install rpm
|
||||
sudo rpm -hUv --force $RPM_PATH
|
||||
if [ "$FORCE_MODE" = "1" ]; then
|
||||
sudo smart remove -y $pckname
|
||||
fi
|
||||
sudo smart install -y $RPM_PATH
|
||||
if [ $? -gt 0 ]; then
|
||||
echo "$me: "$"error installing \`$SRPM_PATH'."" "$"Aborting..." >&2
|
||||
echo "$me: "$"error installing \`$RPM_PATH'."" "$"Aborting..." >&2
|
||||
check_if_already_installed $pckname
|
||||
exit 255
|
||||
fi
|
||||
|
||||
rpm -q $pckname 2>/dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
notify-send -i $icon "$pckname" $"Installation of $pckname successfully completed."
|
||||
notify-send -a $"Network software installation" -i $icon "$pckname" $"Installation of $pckname successfully completed."
|
||||
else
|
||||
notify-send -i $icon "$pckname" $"There was an error installing $pckname!"
|
||||
notify-send -a $"Network software installation" -i $icon "$pckname" $"There was an error installing $pckname!"
|
||||
fi
|
||||
rm -rf $tmpdir $tmpfile
|
||||
|
||||
|
@@ -1,85 +0,0 @@
|
||||
# Italian translation of openmamba-usbinstall.
|
||||
# Copyright (C) 2009 Ercole 'ercolinux' Carpanetto
|
||||
# This file is distributed under the same license as the openmamba-usbinstall package.
|
||||
# Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>, 2009.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 1.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2009-12-01 23:12+0100\n"
|
||||
"PO-Revision-Date: 2009-12-01 23:12+0100\n"
|
||||
"Last-Translator: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: openmamba-usbinstall.sh:25
|
||||
msgid ""
|
||||
"Warning all the data on the usb key <b>${vendor[$chiave]} ${model[$chiave]}</"
|
||||
"b> with <b>${size[$chiave]} GB</b> will be destroyed!"
|
||||
msgstr ""
|
||||
"Attenzione tutti i dati sulla chiavetta <b>${vendor[$chiave]} ${model[$chiave]}</"
|
||||
"b> di <b>${size[$chiave]} GB</b> saranno cancellati!"
|
||||
|
||||
#: openmamba-usbinstall.sh:27
|
||||
msgid "openmamba installation on USB device"
|
||||
msgstr "Installazione di openmamba su dispositivo USB"
|
||||
|
||||
#: openmamba-usbinstall.sh:27
|
||||
msgid "Starting installation..."
|
||||
msgstr "Avvio dell'installazione..."
|
||||
|
||||
#: openmamba-usbinstall.sh:32
|
||||
msgid "Creating partitions..."
|
||||
msgstr "Creazione delle partizioni..."
|
||||
|
||||
#: openmamba-usbinstall.sh:51
|
||||
msgid "Formatting..."
|
||||
msgstr "Formattazione..."
|
||||
|
||||
#: openmamba-usbinstall.sh:55
|
||||
msgid "Mounting and file creation..."
|
||||
msgstr "Montaggio e creazione files..."
|
||||
|
||||
#: openmamba-usbinstall.sh:60
|
||||
msgid "Verifing files and eventually download from internet..."
|
||||
msgstr "Verifica dei files ed eventuale download da internet..."
|
||||
|
||||
#: openmamba-usbinstall.sh:63
|
||||
msgid ""
|
||||
"Please select the 'bootusb' archive or press Cancel to download it"
|
||||
msgstr ""
|
||||
"Seleziona l'archivio 'bootusb' o premi Cancella per scaricarlo"
|
||||
|
||||
#: openmamba-usbinstall.sh:66
|
||||
msgid "Please select the ISO image or press Cancel to download it"
|
||||
msgstr "Seleziona l'immagine ISO o premi Cancella per scaricarla"
|
||||
|
||||
#: openmamba-usbinstall.sh:72
|
||||
msgid "Installing files..."
|
||||
msgstr "Installazione dei files..."
|
||||
|
||||
#: openmamba-usbinstall.sh:76
|
||||
msgid "Installing bootloader..."
|
||||
msgstr "Installazione del bootloader..."
|
||||
|
||||
#: openmamba-usbinstall.sh:79
|
||||
msgid "Copying ISO image..."
|
||||
msgstr "Copia immagine ISO..."
|
||||
|
||||
#: openmamba-usbinstall.sh:116
|
||||
msgid "USB key missing"
|
||||
msgstr "Chiavetta USB non inserita"
|
||||
|
||||
#: openmamba-usbinstall.sh:116
|
||||
msgid "Please insert a USB key or press No"
|
||||
msgstr "Per favore inserisci una chiavetta USB o premi No"
|
||||
|
||||
#: openmamba-usbinstall.sh:128 openmamba-usbinstall.sh:131
|
||||
#: openmamba-usbinstall.sh:134
|
||||
msgid "Select the USB key on which you want to install openmamba"
|
||||
msgstr "Seleziona la chiavetta USB su cui installare openmamba"
|
||||
|
@@ -1,13 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=openmamba USB installation
|
||||
Name[it]=Installazione di openmamba USB
|
||||
GenericName=Prepares an openmamba live system on a USB storage
|
||||
GenericName[it]=Prepara una chiavetta USB con openmamba live
|
||||
Exec=/usr/share/openmamba/usbinstall/usbinstall.sh
|
||||
Icon=mamba
|
||||
Terminal=0
|
||||
Type=Application
|
||||
Categories=X-openmamba;
|
||||
X-KDE-RootOnly=true
|
||||
X-KDE-SubstituteUID=true
|
||||
X-KDE-Username=root
|
@@ -1,156 +0,0 @@
|
||||
#!/bin/bash
|
||||
# openmamba-usbinstall è uno script per la generazione automatica di una chiavetta di boot per openmamba snapshot.
|
||||
# Se i file necessari sono presenti sul disco fisso verranno utilizzati quelli altrimenti
|
||||
# scaricherà direttamente la versione attuale dal sito di openmamba.
|
||||
# se il file iso è presente nella home verrà usato direttamente altrimenti si aprirà un dialogo dove sarà possibile cercarlo.
|
||||
# (c) 2009 ercole 'ercolinux' carpanetto - ercole69@gmail.com
|
||||
# (c) 2009-2010 Silvan Calarco - silvan.calarco@mambasoft.it
|
||||
# rilasciato secondo la licenza GPL v.3
|
||||
|
||||
# per cambiare la versione della snapshot di openmamba modificare il valore qui sotto di conseguenza
|
||||
version=20091201
|
||||
version_cd=20091201
|
||||
fileiso="~/openmamba-livecd-it-snapshot-"$version_cd".i586.iso"
|
||||
filecpio=""~/openmamba-bootusb-it-snapshot-"$version".i586.cpio.gz""
|
||||
|
||||
#da qui in poi non c'è nulla da modificare
|
||||
|
||||
TEXTDOMAIN=usbinstall
|
||||
TEXTDOMAINDIR=/usr/share/locale/
|
||||
|
||||
function get_udisks_key() {
|
||||
LANG=C udisks --show-info $1 | grep " $2:" | head -n1 | sed "s|[[:space:]]*$2:[[:space:]]*\(.*\)|\1|"
|
||||
}
|
||||
|
||||
# formattazione della chiavetta e installazione dei file necessari al boot di openmamba
|
||||
installa(){
|
||||
conferma=0
|
||||
chiave=$c
|
||||
kdialog --title $"openmamba installation on USB device" --yesno $"Warning all the data on the usb key <b>${vendor[$chiave]} ${model[$chiave]}</b> with <b>${size[$chiave]} GB</b> will be destroyed!" && conferma=1
|
||||
|
||||
if [ $conferma -eq 1 ]; then
|
||||
dcopRef=$(kdialog --geometry 450x140 --title $"openmamba installation on USB device" --progressbar $"Starting installation..." 12)
|
||||
qdbus $dcopRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog maximum 20
|
||||
|
||||
sudo umount ${device[$chiave]}1
|
||||
qdbus $dcopRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value 1
|
||||
qdbus $dcopRef org.kde.kdialog.ProgressDialog.setLabelText $"Creating partitions..."
|
||||
sudo fdisk ${device[$chiave]} <<EOF
|
||||
d
|
||||
4
|
||||
d
|
||||
3
|
||||
d
|
||||
2
|
||||
d
|
||||
n
|
||||
p
|
||||
1
|
||||
1
|
||||
|
||||
a
|
||||
1
|
||||
w
|
||||
EOF
|
||||
qdbus $dcopRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value 3
|
||||
qdbus $dcopRef org.kde.kdialog.ProgressDialog.setLabelText $"Formattazione..."
|
||||
disk=${device[$chiave]}1
|
||||
sudo mkfs.ext3 $disk -L openmamba_live
|
||||
qdbus $dcopRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value 6
|
||||
qdbus $dcopRef org.kde.kdialog.ProgressDialog.setLabelText $"Mounting and file creation..."
|
||||
mkdir -p ~/tmpmamba
|
||||
sudo mount $disk ~/tmpmamba
|
||||
sudo chmod 777 ~/tmpmamba
|
||||
qdbus $dcopRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value 10
|
||||
qdbus $dcopRef org.kde.kdialog.ProgressDialog.setLabelText $"Verifing files and eventually download from internet..."
|
||||
file=$filecpio
|
||||
if [ ! -f $file ]; then
|
||||
file=$(kdialog --title $"Please select the 'bootusb' archive or press Cancel to download it" --getopenfilename $HOME "openmamba*-bootusb-*.cpio.gz |openmamba files")
|
||||
echo $file
|
||||
if [ ! $file ]; then
|
||||
file="~/openmamba-bootusb-it-snapshot-"$version".i586.cpio.gz"
|
||||
wget http://www.openmamba.org/pub/openmamba/devel/media/bootusb/it/openmamba-bootusb-it-snapshot-$version.i586.cpio.gz
|
||||
fi
|
||||
fi
|
||||
cd ~/tmpmamba
|
||||
qdbus $dcopRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value 13
|
||||
qdbus $dcopRef org.kde.kdialog.ProgressDialog.setLabelText $"Installing files..."
|
||||
gunzip -c < $file | cpio -i
|
||||
sudo extlinux --install boot
|
||||
qdbus $dcopRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value 14
|
||||
qdbus $dcopRef org.kde.kdialog.ProgressDialog.setLabelText $"Installing bootloader..."
|
||||
sudo install-mbr -e 1 ${device[$chiave]}
|
||||
qdbus $dcopRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value 15
|
||||
qdbus $dcopRef org.kde.kdialog.ProgressDialog.setLabelText $"Copying ISO image..."
|
||||
if [ ! -f $fileiso ];then
|
||||
fileiso=$(kdialog --title $"Please select the ISO image or press Cancel to download it" --getopenfilename $HOME "openmamba-*.iso |iso files")
|
||||
fi
|
||||
if [ ! $fileiso ];then
|
||||
sudo umount ~/tmpmamba
|
||||
cd
|
||||
qdbus $dcopRef org.kde.kdialog.ProgressDialog.close
|
||||
exit 0
|
||||
fi
|
||||
cp $fileiso ./
|
||||
ln -fs `basename $fileiso` ./openmamba-live.iso
|
||||
cd ..
|
||||
sudo umount ~/tmpmamba
|
||||
fi
|
||||
qdbus $dcopRef org.kde.kdialog.ProgressDialog.close
|
||||
exit 0
|
||||
}
|
||||
|
||||
scansione() {
|
||||
#ricerca di tutte le periferiche di archiviazione usb
|
||||
devices=`udisks --enumerate-device-files | grep -v /dev/disk | sort -n`
|
||||
c=0
|
||||
|
||||
for dev in $devices; do
|
||||
native_path=`get_udisks_key $dev native-path`
|
||||
vend=`get_udisks_key $dev vendor`
|
||||
prod=`get_udisks_key $dev model`
|
||||
[ -e $native_path/partition ] && continue
|
||||
is_system_internal=`get_udisks_key $dev "system internal"`
|
||||
partition_scheme=`get_udisks_key $dev "scheme"`
|
||||
if [ "$is_system_internal" != "1" -a "$partition_scheme" = "mbr" ]; then
|
||||
c=$((c+1))
|
||||
device[$c]=$dev
|
||||
vendor[$c]=$vend
|
||||
model[$c]=$prod
|
||||
media_size[$c]=`get_udisks_key $dev size`
|
||||
size[$c]=$((${media_size[$c]}/(1000*1000*1000)))
|
||||
fi
|
||||
done
|
||||
if [ $c -eq 0 ]; then
|
||||
t=$(kdialog --title $"USB key missing" --yesno $"Please insert a USB key or press No")
|
||||
if [ ! $t ]; then
|
||||
exit 0
|
||||
fi
|
||||
scansione
|
||||
fi
|
||||
}
|
||||
|
||||
menu(){
|
||||
chiave=""
|
||||
if [ $c -gt 1 ]; then
|
||||
case $c in
|
||||
2)
|
||||
chiave=$(kdialog --radiolist $"Select the USB key on which you want to install openmamba" 1 "${vendor[1]} ${model[1]} ${size[1]} GB" 1 2 "${vendor[2]} ${model[2]} ${size[2]} GB" 2)
|
||||
;;
|
||||
3)
|
||||
chiave=$(kdialog --radiolist $"Select the USB key on which you want to install openmamba" 1 "${vendor[1]} ${model[1]} ${size[1]} GB" 1 2 "${vendor[2]} ${model[2]} ${size[2]} GB" 2 3 "${vendor[3]} ${model[3]} ${size[3]} GB" 3)
|
||||
;;
|
||||
4)
|
||||
chiave=$(kdialog --radiolist $"Select the USB key on which you want to install openmamba" 1 "${vendor[1]} ${model[1]} ${size[1]} GB" 1 2 "${vendor[2]} ${model[2]} ${size[2]} GB" 2 3 "${vendor[3]} ${model[3]} ${size[3]} GB" 3 4 "${vendor[4]} ${model[4]} ${size[4]} GB" 4)
|
||||
;;
|
||||
esac
|
||||
if [ ! "$chiave" ]; then
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
installa
|
||||
}
|
||||
|
||||
scansione
|
||||
menu
|
||||
exit 0
|