Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dos1:Fedora:15
Configuration
Project Config
Overview
Repositories
Monitor
Requests
Users
Subprojects
Project Config
Attributes
Signing Keys
Meta
Status
Pulse
Project Configuration of home:dos1:Fedora:15
# this is basically just the default, but it needs to be said explictly, # otherwise the dist part gets stripped by buildservice :-/ Release: <CI_CNT>.<B_CNT>%%{?dist} Substitute: kdebase4-workspace-devel kdebase-workspace-devel gcc-c++ Substitute: kdebase4-workspace kdebase-workspace Substitute: libkde4-devel kdelibs-devel gcc-c++ Substitute: update-desktop-files Substitute: ksplashx kdebase-workspace Substitute: ksplash kdebase-workspace Substitute: kwin kdebase-workspace Substitute: libqt4-devel qt-devel gcc-c++ Substitute: kde4-filesystem kde-filesystem Substitute: plasma kdebase-runtime Substitute: libknotificationitem-devel kdelibs-experimental-devel gcc-c++ Substitute: libkdepim4-devel kdepimlibs-devel gcc-c++ Substitute: libqimageblitz-devel qimageblitz-devel gcc-c++ Substitute: libqca2-devel qca2-devel gcc-c++ Substitute: libkonq-devel kdebase-devel gcc-c++ Substitute: zlib-devel zlib-devel gcc Substitute: libbz2-devel bzip2-devel gcc Substitute: liblzma-devel xz-devel gcc Substitute: python-qt4-devel PyQt4-devel Substitute: python-kde4-devel PyKDE4-devel Substitute: python-sip-devel sip-devel Substitute: pkg-config pkgconfig Substitute: libkdegames4-devel kdegames-devel gcc-c++ Substitute: libX11-devel libXrender-devel libXrandr-devel libXcursor-devel libXinerama-devel libXft-devel libXext-devel libX11-devel libSM-devel libICE-devel libXt-devel libXmu-devel libXi-devel xorg-x11-proto-devel gcc Substitute: msgfmt gettext Substitute: gettext gettext Substitute: python-gtk2-devel pygtk2-devel gcc Substitute: python-gtksourceview-devel pygtksourceview-devel gcc Substitute: gconf2-devel GConf2-devel gcc Substitute: libgsf-gnome-devel libgsf-devel gcc Substitute: kde4-macros kde-filesystem # TODO? Substitute: python-cups Ignore: libnotify: desktop-notification-daemon Ignore: notify-python: desktop-notification-daemon Ignore: system-config-printer: desktop-notification-daemon Macros: # macros that are generator additions %_kde4_mimedir %{_kde4_prefix}/share/mime/packages %_kde4_configkcfgdir %{_kde4_sharedir}/config.kcfg %_kde4_templatedir %{_kde4_sharedir}/templates # create the given icon in hicolor from theme given by -t (oxygen by default) and icon given by -i (the same name by default) %kde4_make_hicolor_app_icon(i:t:) \ icon=%* \ theme=%{-t:%{-t*}}%{!-t:oxygen} \ srcicon=%{-i:%{-i*}}%{!-i:$icon} \ for size in {16,22,32,48,64,128,256}; do \ for context in {apps,actions,categories,devices,emotes,filesystems,intl,mimetypes,places,status}; do \ if test -f /usr/share/icons/$theme/"$size"x"$size"/$context/$srcicon.png; then \ mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$size"x"$size"/apps \ cp /usr/share/icons/$theme/"$size"x"$size"/$context/$srcicon.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$size"x"$size"/apps/$icon.png \ break \ elif test -f $RPM_BUILD_ROOT/usr/share/icons/$theme/"$size"x"$size"/$context/$srcicon.png; then \ mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$size"x"$size"/apps \ cp $RPM_BUILD_ROOT/usr/share/icons/$theme/"$size"x"$size"/$context/$srcicon.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$size"x"$size"/apps/$icon.png \ break \ fi \ done \ done \ %{nil} # modify .desktop file to use the icon given by -i for the Icon= field (or remove if not set) %kde4_set_desktop_file_icon(i:) \ filename=%* \ icon=%{-i:%{-i*}} \ file=`find $RPM_BUILD_ROOT/usr/share/applications -name "${filename}.desktop"` \ if test -z "$file" -o `echo $file | wc -l` -ne 1; then \ echo kde4_set_desktop_file_icon macro cannot find .desktop file $filename 2>&1 \ exit 1 \ fi \ if test -z "$icon"; then \ sed -i -e 's/^Icon=.*//' $file \ else \ sed -i -e "s/^Icon=.*/Icon=$icon/" $file \ fi \ %{nil} %_kde4_htmldir %{_kde4_datadir}/doc/HTML %_kde4_templatedir %{_kde4_datadir}/templates %_kde4_applicationsdir %{_kde4_datadir}/applications/kde4 %_kde4_mandir %{_mandir} %_kde4_servicesdir %{_kde4_datadir}/kde4/services %_kde4_servicetypesdir %{_kde4_datadir}/kde4/servicetypes %_kde4_modulesdir %{_kde4_libdir}/kde4 %_kde4_wallpapersdir %{_kde4_prefix}/share/wallpapers %_kde4_sharedir %{_kde4_prefix}/share # modified from Fedora to support optional out-of-source build %cmake_kde4(d:) \ QTDIR="%{_qt4_prefix}" ; export QTDIR ; \ PATH="%{_qt4_bindir}:$PATH" ; export PATH ; \ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \ bdir=. \ %{-d:dir=%{-d*} \ mkdir $dir \ cd $dir \ bdir=.. } \ %{__cmake} $bdir \\\ -DCMAKE_BUILD_TYPE=%{_kde4_buildtype} \\\ -DBUILD_SHARED_LIBS:BOOL=ON \\\ -DCMAKE_INSTALL_PREFIX:PATH=%{_kde4_prefix} \\\ -DCMAKE_VERBOSE_MAKEFILE=ON \\\ -DDATA_INSTALL_DIR:PATH=%{_kde4_appsdir} \\\ -DINCLUDE_INSTALL_DIR:PATH=%{_kde4_includedir} \\\ -DLIB_INSTALL_DIR:PATH=%{_kde4_libdir} \\\ -DLIBEXEC_INSTALL_DIR:PATH=%{_kde4_libexecdir} \\\ -DSYSCONF_INSTALL_DIR:PATH=%{_kde4_sysconfdir} \\\ %if "%{?_lib}" == "lib64" \ %{?_cmake_lib_suffix64} \\\ %endif \ %{?_cmake_skip_rpath} \\\ %* \ %{nil} # modified from Fedora to support optional out-of-source build %cmake(d:) \ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \ bdir=. \ %{-d:dir=%{-d*} \ mkdir $dir \ cd $dir \ bdir=.. } \ %__cmake $bdir \\\ -DCMAKE_VERBOSE_MAKEFILE=ON \\\ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\ -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \\\ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\ -DLIB_INSTALL_DIR:PATH=%{_libdir} \\\ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\ -DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\ %if "%{?_lib}" == "lib64" \ %{?_cmake_lib_suffix64} \\\ %endif \ %{?_cmake_skip_rpath} \\\ -DBUILD_SHARED_LIBS:BOOL=ON \ %* \ %{nil} # fedora doesn't have qt4 qmake as 'qmake' %qmake qmake-qt4 # fedora doesn't have this %fdupes(s) %{nil} # no suse_update_desktop_file on Fedora %suse_update_desktop_file(cinrud:D:N:C:G:) %{nil} # the sane version of make install %makeinstall make DESTDIR=%{?buildroot:%{buildroot}} install # fedora version overwrites the target file instead of appending, fix that %find_lang(:) \ find_lang_tmp_name=%1.lang \ if test %# = 2; then \ find_lang_tmp_name=%2 \ fi \ if test -e "$find_lang_tmp_name"; then \ mv "$find_lang_tmp_name" "$find_lang_tmp_name".sav \ fi \ %{_rpmconfigdir}/find-lang.sh %{buildroot} %* \ if test -e "$find_lang_tmp_name".sav; then \ cat "$find_lang_tmp_name".sav >> "$find_lang_tmp_name" \ rm -f "$find_lang_tmp_name".sav \ fi \ %{nil} %python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") %kde_post_install %{nil} %make_jobs %{__make} %{?_smp_mflags} VERBOSE=1 %kde4_makeinstall make DESTDIR=%{?buildroot:%{buildroot}} install/fast # add these as empty here, they will get overriden by versions for specific distro versions, # but still can be useful when going a conditional .spec that is for any version %kde4_runtime_requires %{nil} %kde4_pimlibs_requires %{nil} %kde4_akonadi_requires %{nil} %_kde_platform_version 4.5.2 %_kde_pimlibs_version 4.5.2 # TODO %_kde_akonadi_version 1.4.0 %kde4_runtime_requires Requires: kdebase4-runtime >= %_kde_platform_version qt >= 4.7.0 %kde4_pimlibs_requires Requires: kdepimlibs4 >= %_kde_pimlibs_version %kde4_akonadi_requires Requires: akonadi-runtime >= %_kde_akonadi_version %_kde_build_type release
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor