[Fedora-packaging] Re: cmake rpm macro(s):

Kevin Kofler kevin.kofler at chello.at
Thu Mar 15 03:25:19 UTC 2007

Axel Thimm <Axel.Thimm <at> ATrpms.net> writes:
> > > %_cmake_install_prefix -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}
> > > %_cmake_build_shared_libs -DBUILD_SHARED_LIBS:BOOL=ON
> > > %_cmake_lib_suffix64 -DLIB_SUFFIX=64
> > 
> > Using _cmake_* macros allows for users to easily override/change 
> > individual items, if needed.
> What would one override? They are already generic enough.

Because KDE 4 needs to go to /opt/kde4 (or /usr/kde4 or some other prefix, but 
not /usr) or it will trip on KDE 3. For example, kdelibs-devel and 
kdelibs4-devel would clash on the .so symlinks if I packaged KDE 4 into /usr.

        Kevin Kofler

More information about the Fedora-packaging mailing list