RPM Packaging Hints

From Granular Linux Documentation

Jump to: navigation, search

Notes

Contents

KDE4 Packages

kdeadmin4

kdenetwork4

task-kde4

mandriva-kde4-config-2009.1

kdebase4-workspace

kdelibs4

Commented line 16:

Patch2: kdelibs-4.1.81-overrides-oxygen-iaora.patch

Commented lines 108, 109:

Requires: qt4-style-iaora
Requires: kde4-style-iaora

Commented line 862:

%patch2 -p0 -b .iaora

General Packages

amarok

mandriva-galaxy

gimp-2.6.x

Could not find PyGTK 2.10.4 or newer.

firefox-3.x.x

ktoon-0.8.1

%qmake_qt4 \
  CPPFLAGS="${CPPFLAGS:-%optflags -DPIC -fPIC}" ; export CPPFLAGS ; \
  %{qt4bin}/qmake \\\
    QMAKE_CFLAGS="${CFLAGS:-%optflags -DPIC -fPIC}" \\\
    QMAKE_CXXFLAGS="${CXXFLAGS:-%optflags -DPIC -fPIC}" \\\
    QMAKE_LFLAGS="%{?ldflags}"

k3d

metabar


KDE3 Packages

kdelibs-3.5.9

%if %mdkversion >= 1020
%define umake 1
#%define usepch 1
%{?_without_unsermake: %global umake 0}
%else
%define umake 0
#%define usepch 0
%{?_with_unsermake: %global umake 1}
%endif

to look like:

%if %mdkversion >= 1020
%define umake 0
#%define usepch 1
%{?_without_unsermake: %global umake 0}
%else
%define umake 0
#%define usepch 0
%{?_with_unsermake: %global umake 1}
%endif

What this will do is tell the compiler that unsermake is not present on your system. So, the compiler will use the alternative tool, automake, to compile kdelibs.

kdeaddons

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox