RPM Packaging: update build scripts

pull/3/head
François Andriot 11 years ago
parent 1b4d42e2cb
commit e72b5e345e

@ -295,6 +295,7 @@ fi
grpiui applications/krecipes grpiui applications/krecipes
grpiui applications/krename grpiui applications/krename
grpiui applications/krusader grpiui applications/krusader
grpiui applications/kscope
grpiui applications/ksensors grpiui applications/ksensors
grpiui applications/kshowmail grpiui applications/kshowmail
grpiui applications/kshutdown grpiui applications/kshutdown

@ -106,7 +106,13 @@ fi
# Extra dependencies # Extra dependencies
grpiud extras/akode grpiud extras/akode
if [ "${DIST:0:6}" = ".oss12" ] || [ "${DIST:0:4}" = ".mga" ] || [ "${DIST:0:3}" = ".fc" ]; then # HAL already exists in:
# Mageia <= 2
# RHEL <= 6
# openSUSE <= 11.4
# Fedora <= 15
if [ "${DIST:0:6}" = ".oss12" ] || [ "${DIST}" = ".mga3" ] \
|| [ "${DIST}" = ".fc16" ]|| [ "${DIST}" = ".fc17" ] || [ "${DIST}" = ".fc18" ] || [ "${DIST}" = ".fc19" ]; then
if ! is_installed trinity-hal-devel; then if ! is_installed trinity-hal-devel; then
grpiu 3rdparty/hal grpiu 3rdparty/hal
grpiu 3rdparty/hal-info grpiu 3rdparty/hal-info
@ -123,18 +129,28 @@ if [ "${DIST:0:4}" = ".mga" ]; then
eval ${PKGINST} htdig || exit 1 eval ${PKGINST} htdig || exit 1
fi fi
fi fi
if [ "${DIST}" = ".el4" ] || [ "${DIST}" = ".el5" ]; then
grpiud 3rdparty/poppler
fi
if [ "${DIST}" = ".el4" ] || [ "${DIST}" = ".el5" ]; then
grpiud 3rdparty/sip
fi
# TDE dependencies # TDE dependencies
grpiud dependencies/tqtinterface grpiud dependencies/tqtinterface
grpiud dependencies/arts grpiud dependencies/arts
grpiud dependencies/avahi-tqt
grpiud dependencies/dbus-1-tqt
grpiud dependencies/dbus-tqt
grpiud dependencies/libcaldav grpiud dependencies/libcaldav
grpiud dependencies/libcarddav grpiud dependencies/libcarddav
grpiud dependencies/tqca grpiud dependencies/tqca
if [ "${DIST}" != ".el4" ]; then
grpiud dependencies/avahi-tqt
grpiud dependencies/dbus-1-tqt
grpiud dependencies/dbus-tqt
grpiui dependencies/tqca-tls grpiui dependencies/tqca-tls
fi
# Extra dependencies
grpiud extras/akode
# TDE main # TDE main
# basic packages # basic packages
@ -192,6 +208,15 @@ if [ "${DIST:0:4}" != ".mga" ]; then
fi fi
fi fi
## LIBOTR3: required for kopete-otr
if [ "${DIST:0:5}" = ".mga3" ]; then
if ! is_installed libotr3; then
grpiu 3rdparty/libotr3
eval ${PKGINST} libotr3 || exit 1
eval ${PKGINST} libotr3-devel || exit 1
fi
fi
## PYTHON-QT3: for Python-stuff ## PYTHON-QT3: for Python-stuff
if ! is_installed python-qt3; then if ! is_installed python-qt3; then
if [ "${DIST:0:3}" = ".el" ] || [ "${DIST:0:3}" = ".fc" ]; then if [ "${DIST:0:3}" = ".el" ] || [ "${DIST:0:3}" = ".fc" ]; then
@ -255,15 +280,21 @@ grpiui applications/kbookreader
grpiui applications/kchmviewer grpiui applications/kchmviewer
grpiui applications/kcmautostart grpiui applications/kcmautostart
grpiui applications/kcpuload grpiui applications/kcpuload
if [ "${DIST}" != ".el4" ]; then
grpiui applications/kdbusnotification grpiui applications/kdbusnotification
fi
grpiui applications/kdiff3 grpiui applications/kdiff3
grpiui applications/kdirstat grpiui applications/kdirstat
grpiui applications/keep grpiui applications/keep
#grpiui applications/kerry #grpiui applications/kerry
grpiui applications/kile grpiui applications/kile
if [ "${DIST}" != ".el4" ]; then
grpiui applications/kima grpiui applications/kima
fi
grpiui applications/kiosktool grpiui applications/kiosktool
if [ "${DIST}" != ".el4" ]; then
grpiui applications/kmplayer grpiui applications/kmplayer
fi
grpiui applications/kmyfirewall grpiui applications/kmyfirewall
grpiui applications/kmymoney grpiui applications/kmymoney
grpiui applications/knemo grpiui applications/knemo
@ -282,7 +313,9 @@ fi
grpiui applications/konversation grpiui applications/konversation
grpiui applications/kopete-otr grpiui applications/kopete-otr
grpiui applications/kpicosim grpiui applications/kpicosim
if [ "${DIST}" != ".el4" ]; then
grpiui applications/kpilot grpiui applications/kpilot
fi
if [ "${DIST}" != ".el4" ] && [ "${DIST}" != ".el5" ]; then if [ "${DIST}" != ".el4" ] && [ "${DIST}" != ".el5" ]; then
grpiui applications/kpowersave grpiui applications/kpowersave
fi fi
@ -313,7 +346,9 @@ grpiui applications/tderadio
grpiui applications/tde-style-lipstik grpiui applications/tde-style-lipstik
grpiui applications/tde-style-qtcurve grpiui applications/tde-style-qtcurve
grpiui applications/tdesudo grpiui applications/tdesudo
if [ "${DIST}" != ".el4" ]; then
grpiui applications/tdesvn grpiui applications/tdesvn
fi
grpiui applications/tde-systemsettings grpiui applications/tde-systemsettings
grpiui applications/tdmtheme grpiui applications/tdmtheme
grpiui applications/tellico grpiui applications/tellico

@ -74,3 +74,11 @@ alias crz='(cdrpm; createrepo $(uname -i); createrepo noarch; sudo zypper refres
# Build local repository (PCLOS) # Build local repository (PCLOS)
alias cra='(cdrpm; genpkglist $PWD noarch; genpkglist $PWD i586; genpkglist $PWD x86_64; genbasedir $PWD i586 x86_64 noarch; sudo apt-get update)' alias cra='(cdrpm; genpkglist $PWD noarch; genpkglist $PWD i586; genpkglist $PWD x86_64; genbasedir $PWD i586 x86_64 noarch; sudo apt-get update)'
alias crac='(cdrpm; for i in i586 noarch x86_64; do cd $i; tdesortrpm.sh; cd -; done; rpmsign --addsign */RPMS.*/*.rpm; for i in i586 noarch x86_64; do for j in 3rdparty applications dependencies extras libraries main; do genpkglist $PWD/$i $j; done; done; for i in i586 noarch x86_64; do genbasedir $PWD/$i 3rdparty applications dependencies extras libraries main; done; sudo apt-get update)' alias crac='(cdrpm; for i in i586 noarch x86_64; do cd $i; tdesortrpm.sh; cd -; done; rpmsign --addsign */RPMS.*/*.rpm; for i in i586 noarch x86_64; do for j in 3rdparty applications dependencies extras libraries main; do genpkglist $PWD/$i $j; done; done; for i in i586 noarch x86_64; do genbasedir $PWD/$i 3rdparty applications dependencies extras libraries main; done; sudo apt-get update)'
# Reinstall packages (Mageia)
getrpmfromsrpm() {
rpm -qa --qf "%{name} %{sourcerpm}\n"|grep "$1"|awk '{print $1}'
}
reinst() {
sudo urpmi --replacepkgs --allow-force $(getrpmfromsrpm $1)
}

@ -184,3 +184,13 @@ librsvg2-tools
libXv-devel libXv-devel
net-tools net-tools
libcap-devel libcap-devel
libmng-devel
libXcomposite-devel
libXdamage-devel
libXxf86vm-devel
java-1.4.2-gcj-compat-devel
libgcj-devel
gcc-java
ocaml
pcsc-lite-devel

Loading…
Cancel
Save