Package deepin-image-viewer: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | %def_disable clang %def_enable cmake Name: deepin-image-viewer Version: 5.8.13 Release: alt1 Summary: Image viewer for Deepin License: GPL-3.0+ Group: Graphics Url: https://github.com/linuxdeepin/deepin-image-viewer Packager: Leontiy Volodin <lvol@altlinux.org> Source: %url/archive/%version/%name-%version.tar.gz ExcludeArch: armh %if_enabled clang BuildRequires(pre): clang-devel %else BuildRequires(pre): gcc-c++ %endif %if_enabled cmake BuildRequires(pre): cmake rpm-build-ninja %endif BuildRequires: qt5-base-devel BuildRequires: qt5-tools-devel BuildRequires: libraw-devel BuildRequires: qt5-tools BuildRequires: libexif-devel BuildRequires: dtk5-widget-devel BuildRequires: libimageviewer-devel BuildRequires: libgio-qt-devel BuildRequires: qt5-svg-devel BuildRequires: qt5-x11extras-devel BuildRequires: libfreeimage-devel Requires: deepin-qt5integration %description %summary. %package devel Summary: Development package for %name Group: Development/KDE and QT %description devel Development libraries for %name. %prep %setup %build export PATH=%_qt5_bindir:$PATH %if_enabled cmake %if_enabled clang export CC="clang" export CXX="clang++" export AR="llvm-ar" export NM="llvm-nm" export READELF="llvm-readelf" %endif %cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DAPP_VERSION=%version \ -DVERSION=%version \ -DCMAKE_INSTALL_LIBDIR=%_libdir \ %nil cmake --build "%_cmake__builddir" -j1 %else %qmake_qt5 \ %if_enabled clang QMAKE_STRIP= -spec linux-clang \ %endif CONFIG+=nostrip \ PREFIX=%prefix \ DAPP_VERSION=%version \ DVERSION=%version \ LIB_INSTALL_DIR=%_libdir \ %nil %make %endif %install %if_enabled cmake %cmake_install %else %makeinstall INSTALL_ROOT=%buildroot %endif %find_lang %name %files -f %name.lang %doc LICENSE README.md %_bindir/%name %_desktopdir/%name.desktop %_datadir/%name/ %dir %_datadir/deepin-manual/ %dir %_datadir/deepin-manual/manual-assets/ %dir %_datadir/deepin-manual/manual-assets/application/ %dir %_datadir/deepin-manual/manual-assets/application/%name/ %_datadir/deepin-manual/manual-assets/application/%name/image-viewer/ %_iconsdir/hicolor/scalable/apps/%name.svg %_qt5_plugindir/imageformats/libxraw.so.* %_datadir/dbus-1/services/com.deepin.ImageViewer.service %files devel %_qt5_plugindir/imageformats/libxraw.so %changelog * Thu May 12 2022 Leontiy Volodin <lvol@altlinux.org> 5.8.13-alt1 - New version (5.8.13). - Not complied for armh architecture. * Thu Aug 19 2021 Leontiy Volodin <lvol@altlinux.org> 5.8.2-alt1 - New version (5.8.2). * Wed Jul 14 2021 Leontiy Volodin <lvol@altlinux.org> 5.7.11-alt1 - New version (5.7.11). * Tue May 18 2021 Leontiy Volodin <lvol@altlinux.org> 5.7.8-alt1 - New version (5.7.8) with rpmgs script. * Thu Apr 15 2021 Leontiy Volodin <lvol@altlinux.org> 5.7.4-alt1 - New version (5.7.4) with rpmgs script. * Mon Mar 15 2021 Leontiy Volodin <lvol@altlinux.org> 5.6.3.73-alt2.gitb4da182 - Updated from commit b4da182b92425880e208c127d5712aef840200a4. - Built with cmake and ninja instead qmake and make. * Mon Jan 25 2021 Leontiy Volodin <lvol@altlinux.org> 5.6.3.73-alt1 - New version (5.6.3.73) with rpmgs script. * Fri Dec 11 2020 Leontiy Volodin <lvol@altlinux.org> 5.6.3.69-alt1 - Initial build for ALT Sisyphus. |