Package deepin-music: 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 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | %def_without clang %define repo dmusic %define dmusic_ver 1 Name: deepin-music Version: 7.0.5 Release: alt1 Summary: Awesome music player with brilliant and tweakful UI Deepin-UI based License: GPL-3.0+ Group: Sound Url: https://github.com/linuxdeepin/deepin-music Source: %url/archive/%version/%name-%version.tar.gz Patch: %name-%version-%release.patch BuildRequires(pre): rpm-build-ninja # Automatically added by buildreq on Sat Oct 28 2023 # optimized out: cmake-modules gcc-c++ glibc-kernheaders-generic glibc-kernheaders-x86 libavcodec-devel libavutil-devel libdouble-conversion3 libdtkcore-devel libdtkgui-devel libglvnd-devel libgpg-error libgsettings-qt libicu-devel libmpris-qt5 libp11-kit libqt5-core libqt5-dbus libqt5-gui libqt5-multimedia libqt5-network libqt5-printsupport libqt5-qml libqt5-qmlmodels libqt5-quick libqt5-sql libqt5-svg libqt5-widgets libqt5-x11extras libqt5-xml libsasl2-3 libssl-devel libstartup-notification libstdc++-devel libudisks2-qt5 pkg-config python3 python3-base python3-dev python3-module-setuptools qt5-base-devel qt5-declarative-devel qt5-tools sh5 zlib-devel BuildRequires: cmake kf5-kcodecs-devel libSDL2-devel libavformat-devel libdtkdeclarative-devel libdtkwidget-devel libtag-devel libvlc-devel mpris-qt5-devel qt5-multimedia-devel qt5-svg-devel qt5-tools-devel udisks2-qt5-devel %if_with clang BuildRequires: clang-devel BuildRequires: lld-devel %else BuildRequires: gcc-c++ %endif Requires: vlc-mini ffmpeg dtkdeclarative %description %summary. %package -n lib%repo%dmusic_ver Summary: %repo library for %name Group: System/Libraries Provides: lib%name = %version Obsoletes: lib%name < %version %description -n lib%repo%dmusic_ver The package provides %repo library for %name. %package -n lib%repo-devel Summary: Static libraries for %name Group: Development/C++ Provides: %name-devel = %version Obsoletes: %name-devel < %version %description -n lib%repo-devel The package provides development files for %repo library. %prep %setup %patch -p1 %build %if_with clang %define optflags_lto -flto=thin export CC=clang export CXX=clang++ export LDFLAGS="-fuse-ld=lld $LDFLAGS" %else %define optflags_lto %nil %endif %cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_LIBDIR=%_libdir \ -DLIB_INSTALL_DIR=%_libdir \ -DVERSION=%version cmake --build %_cmake__builddir -j%__nprocs %install %cmake_install %find_lang --with-qt %name %files -f %name.lang %doc CHANGELOG.md LICENSE README.md %_bindir/%name # package translations outside %%find_lang %dir %_datadir/%name/ %dir %_datadir/%name/translations/ %_datadir/%name/translations/deepin-music_ky@Arab.qm # --- %_desktopdir/%name.desktop %_iconsdir/hicolor/scalable/apps/%name.svg %dir %_datadir/dsg/ %dir %_datadir/dsg/configs/ %dir %_datadir/dsg/configs/deepin-music/ %_datadir/dsg/configs/deepin-music/org.deepin.music.json %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/music/ %files -n lib%repo%dmusic_ver %_libdir/lib%repo.so.%{dmusic_ver}* %files -n lib%repo-devel %_libdir/lib%repo.so %changelog * Thu Apr 18 2024 Leontiy Volodin <lvol@altlinux.org> 7.0.5-alt1 - New version 7.0.5. * Tue Mar 05 2024 Leontiy Volodin <lvol@altlinux.org> 7.0.3.0.4.8ae2-alt1 - New version 7.0.3-4-g8ae2ac1c. - No more needed libqt5-core = %%_qt5_version. * Tue Jan 30 2024 Leontiy Volodin <lvol@altlinux.org> 7.0.3.0.1.6a82-alt1 - New version 7.0.3-1-g6a8242f9. - Requires: libqt5-core = %%_qt5_version. * Sat Oct 28 2023 Leontiy Volodin <lvol@altlinux.org> 7.0.3-alt1 - New version 7.0.3. - Fixed build using gcc. - Added dmusic subpackages. - Fixed underlinked icui18n. - Removed static subpackage. * Thu Jul 21 2022 Leontiy Volodin <lvol@altlinux.org> 6.2.17-alt1 - New version (6.2.17). * Fri May 06 2022 Leontiy Volodin <lvol@altlinux.org> 6.2.13-alt1 - New version (6.2.13). * Wed Feb 09 2022 Leontiy Volodin <lvol@altlinux.org> 6.2.8-alt1 - New version (6.2.8). * Fri Aug 27 2021 Leontiy Volodin <lvol@altlinux.org> 6.1.7-alt2 - Disabled static library. - Temporarily disabled link-time optimization. * Thu Jul 01 2021 Leontiy Volodin <lvol@altlinux.org> 6.1.7-alt1 - New version (6.1.7). - Built with gcc10 instead clang12. - spec: + Adapted to new cmake macros. * Tue May 18 2021 Leontiy Volodin <lvol@altlinux.org> 6.1.4-alt1 - New version (6.1.4) with rpmgs script. * Wed Apr 14 2021 Leontiy Volodin <lvol@altlinux.org> 6.1.2-alt1 - New version (6.1.2) with rpmgs script. * Fri Mar 05 2021 Leontiy Volodin <lvol@altlinux.org> 6.0.1.91-alt2 - Fixed paths. - Built with gcc10. - Renamed libdeepin-music to libdmusic. * Wed Dec 02 2020 Leontiy Volodin <lvol@altlinux.org> 6.0.1.91-alt1 - New version (6.0.1.91) with rpmgs script. * Thu Oct 08 2020 Leontiy Volodin <lvol@altlinux.org> 6.0.1.75-alt1 - New version (6.0.1.75) with rpmgs script. - Built with cmake and ninja. - Built with gcc instead clang. * Sat Oct 03 2020 Leontiy Volodin <lvol@altlinux.org> 6.0.1.20-alt1 - New version (6.0.1.20) with rpmgs script. * Thu Sep 10 2020 Leontiy Volodin <lvol@altlinux.org> 6.0.1.8-alt1 - Initial build for ALT Sisyphus (thanks archlinux for this spec). |