Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-kde4-filesystem
macros.mingw32-kde4
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File macros.mingw32-kde4 of Package mingw32-kde4-filesystem
%_mingw32_kde4_bindir %{_mingw32_bindir} %_mingw32_kde4_datadir %{_mingw32_datadir} %_mingw32_kde4_includedir %{_mingw32_includedir} %_mingw32_kde4_libdir %{_mingw32_libdir} %_mingw32_kde4_mandir %{_mingw32_mandir} %_mingw32_kde4_prefix %{_mingw32_prefix} %_mingw32_kde4_sbindir %{_mingw32_sbindir} %_mingw32_kde4_sysconfdir %{_mingw32_sysconfdir} %_mingw32_kde4_applicationsdir %{_mingw32_kde4_datadir}/applications/kde4 %_mingw32_kde4_iconsdir %{_mingw32_kde4_datadir}/icons %_mingw32_kde4_wallpapersdir %{_mingw32_kde4_datadir}/wallpapers %_mingw32_kde4_sharedir %{_mingw32_kde4_datadir}/kde4 %_mingw32_kde4_appsdir %{_mingw32_datadir}/apps %_mingw32_kde4_configdir %{_mingw32_datadir}/config %_mingw32_kde4_configkcfgdir %{_mingw32_datadir}/config.kcfg %_mingw32_kde4_servicesdir %{_mingw32_kde4_sharedir}/services %_mingw32_kde4_servicetypesdir %{_mingw32_kde4_sharedir}/servicetypes %_mingw32_kde4_docdir %{_mingw32_kde4_datadir}/doc %_mingw32_kde4_htmldir %{_mingw32_kde4_docdir}/HTML %_mingw32_kde4_modulesdir %{_mingw32_kde4_libdir}/kde4 %_mingw32_kde4_libexecdir %{_mingw32_kde4_modulesdir}/libexec # these are for backwards compatibility %_mingw32_kde_config_dir %{_mingw32_kde4_configdir} %_mingw32_kde_html_dir %{_mingw32_kde4_htmldir} %_mingw32_kde_libdir %{_mingw32_kde4_libdir} %_mingw32_kde_prefix %{_mingw32_kde4_prefix} %_mingw32_kde_share_dir %{_mingw32_kde4_sharedir} %_mingw32_kde4_modules %{_mingw32_kde4_modulesdir} %_mingw32_kde4_servicetypes %{_mingw32_kde4_servicetypesdir} %_mingw32_kde_platform_version 4.14.0 %_mingw32_kde_platform_minor_version %(echo %{_mingw32_kde_platform_version} | cut -f 2 -d \.) %_mingw32_kde_pimlibs_version 4.14.0 %_mingw32_kde_branding_version 4.14 %_mingw32_kde_akonadi_version 1.13.0 %_mingw32_kde4_runtime_requires Requires: mingw32-kdebase4-runtime >= %_mingw32_kde_platform_version %_mingw32_kde4_pimlibs_requires Requires: mingw32-kdepimlibs4 >= %_mingw32_kde_pimlibs_version %_mingw32_kde4_akonadi_requires Requires: mingw32-akonadi-runtime >= %_mingw32_kde_akonadi_version mingw32-akonadi-runtime < 1.13.40 %_mingw32_kde_build_type RelWithDebInfo # TODO: migrate to use _mingw32_cmake_install, which needs to support the -C option for replacement %_mingw32_kde4_makeinstall make VERBOSE=1 DESTDIR=%{?buildroot:%{buildroot}} install # kde specific compile flags %_mingw32_kde4_cflags -DNDEBUG -fno-stack-protector -Wno-expansion-to-defined %_mingw32_kde4_cxxflags -DNDEBUG -fno-stack-protector -Wno-expansion-to-defined %_mingw32_kde4_ldflags -Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions # # KDE4_DATA_DIR and KDE4_KDECONFIG_EXECUTABLE (variable set only) are required by FindKDE4.cmake # KDE4_INSTALL_DIR is required to setup pathes imported from KDELibsDependencies.cmake # # set env variables CFLAGS, CXXFLAGS or LDFLAGS to override default flags # by default %_mingw32_xxflags %_mingw32_kde4_xxflags are used # note: _mingw32_env uses MINGWxx_ flags and exports regular compiler flags # # usage: _mingw32_cmake_kde4 -d <builddir> -- <cmake-options> # note: on return current dir is <builddir> # note: xxx-png2ico is provided by mingw32-cross-kdewin-tools and a dependency of mingw32-libkde4-devel # %_mingw32_cmake_kde4(d:) \ MINGW32_CFLAGS="${CFLAGS:-%_mingw32_cflags %_mingw32_kde4_cflags}" \ MINGW32_CXXFLAGS="${CXXFLAGS:-%_mingw32_cxxflags %_mingw32_kde4_cxxflags}" \ MINGW32_LDFLAGS="${LDFLAGS:-%_mingw32_ldflags %_mingw32_kde4_ldflags}" \ %{_mingw32_env} ; \ %{-d:%global __builddir %{-d*}} \ %{__mingw32_cmake_qt4} \\\ -DCMAKE_C_FLAGS="${CFLAGS}" \\\ -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \\\ -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \\\ -DCMAKE_MODULE_LINKER_FLAGS="${LDFLAGS}" \\\ -DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \\\ -DCMAKE_BUILD_TYPE=%{_mingw32_kde_build_type} \\\ -DBUILD_TESTING=OFF \\\ -DKDE4_INCLUDE_DIR:PATH=%{_mingw32_includedir}/kde4 \\\ -DKDE4_DATA_DIR=%{_mingw32_kde4_appsdir} \\\ -DQT_INSTALL_DIR=%{_mingw32_kde4_prefix} \\\ -DKDE4_INSTALL_DIR=%{_mingw32_kde4_prefix} \\\ -DAUTOMOC4_EXECUTABLE=%{_bindir}/automoc4 \\\ -DAUTOMOC4_VERSION=0.9.88 \\\ -DDOCBOOKL10NHELPER_EXECUTABLE=/usr/bin/i686-w64-mingw32-docbookl10nhelper \\\ -DICEMAKER_EXECUTABLE=/usr/bin/i686-w64-mingw32-icemaker \\\ -DKDE4_KCFGC_EXECUTABLE=/usr/bin/i686-w64-mingw32-kconfig_compiler \\\ -DKDE4_KDECONFIG_EXECUTABLE=/usr/bin/i686-w64-mingw32-kde4-config \\\ -DKDE4_MEINPROC_EXECUTABLE=/usr/bin/i686-w64-mingw32-meinproc4 \\\ -DKDE4_MAKEKDEWIDGETS_EXECUTABLE=/usr/bin/i686-w64-mingw32-makekdewidgets \\\ -DPNG2ICO_EXECUTABLE=/usr/bin/i686-w64-mingw32-png2ico \\\ %* \ %{nil} %_mingw32_kde4_create_subdir_filelist(d:f:o:v:) \ %{!-d:echo -e "\\nERROR: missing parameter for macro create_subdir_filelist\\n" ; exit 1 ; } \ filelist=%{-f:%{-f*}}%{!-f:%{-d*}} \ filelist=${filelist#*/} \ if test -e doc/%{-d*}; then \ pushd doc/%{-d*} \ make DESTDIR=$RPM_BUILD_ROOT.%{-d*} install \ popd \ fi \ pushd %{-d*} \ make DESTDIR=$RPM_BUILD_ROOT.%{-d*} install \ mkdir -p $RPM_BUILD_DIR/%buildsubdir/filelists \ { \ echo "%%defattr(-,root,root,755)" \ if test -n "%{-v*}"; then \ devel_filelist=%{-v*} \ devel_filelist=${devel_filelist#*/} \ { \ echo "%%defattr(-,root,root,755)" \ find $RPM_BUILD_ROOT.%{-d*} \\( \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw32_prefix}/include/KDE/*" \\( -type f -o -type l \\) -o \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw32_prefix}/share/apps/cmake/modules/*" -type f -o \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw32_prefix}/lib*/cmake/*" -type f -o \\\ -name '*.dll' -type l \\) -printf "/%%P\\n" \ } | tee -a $RPM_BUILD_DIR/%buildsubdir/filelists/$devel_filelist | \ sed -e '/^%%defattr/d' -e 's/^/%%exclude /' \ fi \ find $RPM_BUILD_ROOT.%{-d*} \\\ \\( -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw32_prefix}/share/doc/HTML/en/%{-d*}" -o \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw32_prefix}/share/doc/HTML/en/%{-d*}/*" -o \\) \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw32_prefix}/share/apps/%{-d*}" -o \\) \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw32_prefix}/share/apps/%{-d*}/*" \\) \\\ -type d -printf "%%%%dir /%%P\\n" -o \\\ \\( -type f -o -type l \\) -printf "/%%P\\n" \ } | \ sed -r "s/man\\/man([1-9])\\/(.*)\\.[1-9]$/man\\/man\\1\\/\\2\\.\\1.gz/;s,^/share/doc/HTML/(.[^/])/,%%doc %%lang(\\1) &," >> $RPM_BUILD_DIR/%buildsubdir/filelists/$filelist \ rm -rf $RPM_BUILD_ROOT.%{-d*} \ popd \ %{nil} %_mingw32_kde4_create_exclude_filelist \ pushd $RPM_BUILD_DIR/%buildsubdir/ \ for f in filelists/*; do \ case $f in \ filelists/exclude) ;; \ *) sed -e '/^%%defattr/d' -e 's/^%%exclude //' -e 's/^/%%exclude /' "$f";; \ esac \ done >filelists/exclude \ popd \ %{nil} %__mingw32_spec_clean_post rm -rf filelists %_mingw32_kde4_post_install \ if test -e /usr/lib/rpm/suse_update_desktop_file.sh; then \ find $RPM_BUILD_ROOT/%{_mingw32_prefix}/share \\\ -name '*.desktop' -o -name '*.directory' 2> /dev/null | while read file; do \ test -r "$file" || continue \ grep -q "^X-SuSE-translate=" "$file" && continue \ case "$file" in \ */.hidden/*) \ %suse_update_desktop_file -n "$file" \ ;; \ *) \ %suse_update_desktop_file "$file" \ ;; \ esac \ done \ fi \ %{nil}
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