RPM Packaging: update koffice

pull/3/head
François Andriot 9 years ago
parent 01ffadc1e1
commit a376bc356b

@ -491,7 +491,7 @@ knowit: tdebase
knutclient: tdebase
$(call buildpkg,applications/knutclient)
koffice: tdebase wv2
koffice: tdebase tdegraphics wv2
$(call buildpkg,applications/koffice)
konversation: tdebase

@ -158,7 +158,7 @@ BuildRequires: libxine-devel
# LAME support
%if 0%{?opensuse_bs} == 0
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 5
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel}
%define with_lame 1
%if 0%{?mgaversion} || 0%{?mdkversion}

@ -1129,12 +1129,6 @@ export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux"
-e "/TDEApplication/ s|\");|\", true, true, true);|"
%endif
# FTBFS on Fedora 22
%if 0%{?fedora} >= 22
%__sed -i "lib/kross/ruby/rubyinterpreter.cpp" \
-e "s|rb_set_safe_level|//rb_set_safe_level|"
%endif
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
@ -1227,5 +1221,3 @@ rm -f %{buildroot}%{tde_libdir}/libkugar*.so
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:1.6.3-1
- Initial release for TDE 14.0.0

@ -19,7 +19,7 @@ export DIST="$( "${TDE_GITBASEPKG}/build/rpmdist.sh" --dist )"
alias cdrpm='cd ~/rpmbuild/RPMS/RPMS${DIST}'
# Build a single tarball (execute from GIT directory)
alias tdp4='TARGET=14.0.2 SUFFIX=0 TARBALL_DIR=${TDE_TARBALLS}/main COMPRESS=gzip ${TDE_GITBASESRC}/scripts/create_tarball'
alias tdp4='TARGET=${TDE_VERSION} SUFFIX=0 TARBALL_DIR=${TDE_TARBALLS}/main COMPRESS=gzip ${TDE_GITBASESRC}/scripts/create_tarball'
# Rebuild all tarballs
if [ -x /usr/bin/pigz ]; then
@ -38,17 +38,17 @@ grp3() {
}
grp4() {
build_rpm_package.sh "${1}" "14.0.2"
build_rpm_package.sh "${1}" "${TDE_VERSION}"
}
# Check if tarballs are more recent than installed packages
checknew() {
find ~/tde/tde-tarballs/14.0.2 -name "trinity-*.tar.gz" | while read f; do
find ~/tde/tde-tarballs/${TDE_VERSION} -name "trinity-*.tar.gz" | while read f; do
TAR="${f##*/}"
NAME="${TAR%-*}"
if rpm -q "${NAME}" &>/dev/null; then
set $(rpm -q --qf "%{name} 14.0.2 %{release}" ${NAME} )
set $(rpm -q --qf "%{name} ${TDE_VERSION} %{release}" ${NAME} )
B="$1-$2~${3#*_}"
A=${TAR%.tar.gz}
B=${B%.opt}

Loading…
Cancel
Save