Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-kde4-filesystem
macros.mingw64-kde4
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File macros.mingw64-kde4 of Package mingw64-kde4-filesystem
%_mingw64_kde4_bindir %{_mingw64_bindir} %_mingw64_kde4_datadir %{_mingw64_datadir} %_mingw64_kde4_includedir %{_mingw64_includedir} %_mingw64_kde4_libdir %{_mingw64_libdir} %_mingw64_kde4_mandir %{_mingw64_mandir} %_mingw64_kde4_prefix %{_mingw64_prefix} %_mingw64_kde4_sbindir %{_mingw64_sbindir} %_mingw64_kde4_sysconfdir %{_mingw64_sysconfdir} %_mingw64_kde4_applicationsdir %{_mingw64_kde4_datadir}/applications/kde4 %_mingw64_kde4_iconsdir %{_mingw64_kde4_datadir}/icons %_mingw64_kde4_wallpapersdir %{_mingw64_kde4_datadir}/wallpapers %_mingw64_kde4_sharedir %{_mingw64_kde4_datadir}/kde4 %_mingw64_kde4_appsdir %{_mingw64_kde4_datadir}/apps %_mingw64_kde4_configdir %{_mingw64_kde4_datadir}/config %_mingw64_kde4_configkcfgdir %{_mingw64_kde4_datadir}/config.kcfg %_mingw64_kde4_servicesdir %{_mingw64_kde4_sharedir}/services %_mingw64_kde4_servicetypesdir %{_mingw64_kde4_sharedir}/servicetypes %_mingw64_kde4_docdir %{_mingw64_kde4_datadir}/doc %_mingw64_kde4_htmldir %{_mingw64_kde4_docdir}/HTML %_mingw64_kde4_modulesdir %{_mingw64_kde4_libdir}/kde4 %_mingw64_kde4_libexecdir %{_mingw64_kde4_modulesdir}/libexec # these are for backwards compatibility %_mingw64_kde_config_dir %{_mingw64_kde4_configdir} %_mingw64_kde_html_dir %{_mingw64_kde4_htmldir} %_mingw64_kde_libdir %{_mingw64_kde4_libdir} %_mingw64_kde_prefix %{_mingw64_kde4_prefix} %_mingw64_kde_share_dir %{_mingw64_kde4_sharedir} %_mingw64_kde4_modules %{_mingw64_kde4_modulesdir} %_mingw64_kde4_servicetypes %{_mingw64_kde4_servicetypesdir} %_mingw64_kde_platform_version 4.14.0 %_mingw64_kde_platform_minor_version %(echo %{_mingw64_kde_platform_version} | cut -f 2 -d \.) %_mingw64_kde_pimlibs_version 4.14.0 %_mingw64_kde_branding_version 4.14 %_mingw64_kde_akonadi_version 1.13.0 %_mingw64_kde4_runtime_requires Requires: mingw64-kdebase4-runtime >= %_mingw64_kde_platform_version %_mingw64_kde4_pimlibs_requires Requires: mingw64-kdepimlibs4 >= %_mingw64_kde_pimlibs_version %_mingw64_kde4_akonadi_requires Requires: mingw64-akonadi-runtime >= %_mingw64_kde_akonadi_version mingw64-akonadi-runtime < 1.13.40 %_mingw64_kde_build_type RelWithDebInfo # TODO: migrate to use _mingw64_cmake_install, which needs to support the -C option for replacement %_mingw64_kde4_makeinstall make VERBOSE=1 DESTDIR=%{?buildroot:%{buildroot}} install # kde specific compile flags %_mingw64_kde4_cflags -DNDEBUG -fno-stack-protector -Wno-expansion-to-defined %_mingw64_kde4_cxxflags -DNDEBUG -fno-stack-protector -Wno-expansion-to-defined %_mingw64_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 %_mingw64_xxflags %_mingw64_kde4_xxflags are used # note: _mingw64_env uses MINGWxx_ flags and exports regular compiler flags # # usage: _mingw64_cmake_kde4 -d <builddir> -- <cmake-options> # note: on return current dir is <builddir> # %_mingw64_cmake_kde4(d:) \ MINGW64_CFLAGS="${CFLAGS:-%_mingw64_cflags %_mingw64_kde4_cflags}" \ MINGW64_CXXFLAGS="${CXXFLAGS:-%_mingw64_cxxflags %_mingw64_kde4_cxxflags}" \ MINGW64_LDFLAGS="${LDFLAGS:-%_mingw64_ldflags %_mingw64_kde4_ldflags}" \ %{_mingw64_env} ; \ %{-d:%global __builddir %{-d*}} \ %{__mingw64_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=%{_mingw64_kde_build_type} \\\ -DBUILD_TESTING=OFF \\\ -DKDE4_INCLUDE_DIR:PATH=%{_mingw64_includedir}/kde4 \\\ -DKDE4_DATA_DIR=%{_mingw64_kde4_appsdir} \\\ -DQT_INSTALL_DIR=%{_mingw64_kde4_prefix} \\\ -DKDE4_INSTALL_DIR=%{_mingw64_kde4_prefix} \\\ -DAUTOMOC4_EXECUTABLE=%{_bindir}/automoc4 \\\ -DAUTOMOC4_VERSION=0.9.88 \\\ -DDOCBOOKL10NHELPER_EXECUTABLE=/usr/bin/x86_64-w64-mingw32-docbookl10nhelper \\\ -DICEMAKER_EXECUTABLE=/usr/bin/x86_64-w64-mingw32-icemaker \\\ -DKDE4_KCFGC_EXECUTABLE=/usr/bin/x86_64-w64-mingw32-kconfig_compiler \\\ -DKDE4_KDECONFIG_EXECUTABLE=/usr/bin/x86_64-w64-mingw32-kde4-config \\\ -DKDE4_MEINPROC_EXECUTABLE=/usr/bin/x86_64-w64-mingw32-meinproc4 \\\ -DKDE4_MAKEKDEWIDGETS_EXECUTABLE=/usr/bin/x86_64-w64-mingw32-makekdewidgets \\\ -DPNG2ICO_EXECUTABLE=/usr/bin/x86_64-w64-mingw32-png2ico \\\ %* \ %{nil} %_mingw64_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*}/%{_mingw64_prefix}/include/KDE/*" \\( -type f -o -type l \\) -o \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw64_prefix}/share/apps/cmake/modules/*" -type f -o \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw64_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*}/%{_mingw64_prefix}/share/doc/HTML/en/%{-d*}" -o \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw64_prefix}/share/doc/HTML/en/%{-d*}/*" -o \\) \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw64_prefix}/share/apps/%{-d*}" -o \\) \\\ -path "$RPM_BUILD_ROOT.%{-d*}/%{_mingw64_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} %_mingw64_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} %__mingw64_spec_clean_post rm -rf filelists %_mingw64_kde4_post_install \ if test -e /usr/lib/rpm/suse_update_desktop_file.sh; then \ find $RPM_BUILD_ROOT/%{_mingw64_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