PackagingDrafts/KDE4

From FedoraProject

Jump to: navigation, search
Warning (medium size).png
This page is a draft only
It is still under construction and content may change. Do not rely on the information on this page.

Contents

Changelog

Existing Guideline

No formal guidelines exist. "Best practices" at SIGs/KDE#Best_Practices

New Guideline

Proposal

%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} ..
popd

make %{?_smp_mflags} -C %{_target_platform} VERBOSE=1

%install
rm -rf %{buildroot}
mkdir %{buildroot}
make install DESTDIR=%{buildroot} -C %{_target_platform}

Motivations

Formalize packaging for KDE4 packages. Currently, KDE4-dependent packages are inconsistent and use mixes of %{_kde4_*} and standard macros.

Existing practice

There are existing packages that need updating to use the snippet for building and installing. The proposed cleanup on the KDE SIG's end would update existing packages to this guideline.

Possibilities

Discussion

See Talk:PackagingDrafts/KDE4 for discussion.