Package libfm-qt: 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 | # Unpackaged files in buildroot should terminate build %define _unpackaged_files_terminate_build 1 Name: libfm-qt Version: 1.4.0 Release: alt1 Summary: Core library of PCManFM-Qt file manager License: LGPL-2.1 Group: System/Libraries Url: https://github.com/lxqt/libfm-qt Source: %name-%version.tar BuildRequires: rpm-macros-cmake BuildRequires: cmake BuildRequires: rpm-build-xdg BuildRequires: gcc-c++ BuildRequires: lxqt-build-tools >= 0.5.0 BuildRequires: libexif-devel BuildRequires: qt5-base-devel BuildRequires: qt5-tools-devel BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(libmenu-cache) >= 1.1.0 BuildRequires: lxqt-menu-data-devel Requires: lxqt-menu-data >= 1.4.0 Obsoletes: libfm-qt3 %description LibFM-Qt is a core library of PCManFM-Qt file manager. %package devel Summary: Development files for %name Group: Development/Other Requires: libexif-devel libmenu-cache-devel Requires: %name = %EVR %description devel This package contains files needed to build applications using LibFM-Qt. %prep %setup %ifarch %e2k # strip UTF-8 BOM for lcc < 1.24 find -type f -name '*.cpp' -o -name '*.hpp' -o -name '*.h' -print0 | xargs -r0 sed -ri 's,^\xEF\xBB\xBF,,' %endif %build %cmake export NPROCS=1 %cmake_build %install %cmake_install # We need to fix this upstream find %buildroot -size 0 -delete %files %_libdir/*.so.* %_datadir/%name/ %_xdgmimedir/*/* %files devel %_libdir/*.so %_includedir/* %_pkgconfigdir/* %_datadir/cmake/fm-qt/* %doc AUTHORS CHANGELOG LICENSE README.md %changelog * Sun Nov 05 2023 Anton Midyukov <antohami@altlinux.org> 1.4.0-alt1 - New version 1.4.0. * Sat Apr 15 2023 Anton Midyukov <antohami@altlinux.org> 1.3.0-alt1 - New version 1.3.0. * Sat Nov 26 2022 Anton Midyukov <antohami@altlinux.org> 1.2.0-alt1.1 - fix * Sat Nov 05 2022 Anton Midyukov <antohami@altlinux.org> 1.2.0-alt1 - new version 1.2.0 * Sun Apr 17 2022 Anton Midyukov <antohami@altlinux.org> 1.1.0-alt1 - new version 1.1.0 * Fri Nov 05 2021 Anton Midyukov <antohami@altlinux.org> 1.0.0-alt1 - new version 1.0.0 * Fri Apr 16 2021 Anton Midyukov <antohami@altlinux.org> 0.17.1-alt1 - new version 0.17.1 * Thu Nov 05 2020 Anton Midyukov <antohami@altlinux.org> 0.16.0-alt1 - new version 0.16.0 * Fri May 29 2020 Anton Midyukov <antohami@altlinux.org> 0.15.1-alt1 - new version 0.15.1 * Sat Apr 25 2020 Anton Midyukov <antohami@altlinux.org> 0.15.0-alt1 - new version 0.15.0 * Mon Jun 24 2019 Michael Shigorin <mike@altlinux.org> 0.14.1-alt2 - E2K: strip UTF-8 BOM for lcc < 1.24 * Fri Mar 08 2019 Anton Midyukov <antohami@altlinux.org> 0.14.1-alt1 - new version 0.14.1 * Mon Jan 28 2019 Anton Midyukov <antohami@altlinux.org> 0.14.0-alt1 - new version 0.14.0 * Sat Aug 25 2018 Anton Midyukov <antohami@altlinux.org> 0.13.1-alt1.1 - Rebuilt with qt 5.11 * Tue Jun 05 2018 Anton Midyukov <antohami@altlinux.org> 0.13.1-alt1 - new version 0.13.1 * Mon May 28 2018 Anton Midyukov <antohami@altlinux.org> 0.13.0-alt2 - obsoletes libfm-qt3 * Thu May 24 2018 Anton Midyukov <antohami@altlinux.org> 0.13.0-alt1 - new version 0.13.0 * Sun Oct 22 2017 Michael Shigorin <mike@altlinux.org> 0.12.0-alt1 - 0.12.0 * Tue Oct 04 2016 Michael Shigorin <mike@altlinux.org> 0.11.1-alt1 - built for sisyphus (partially based on fedora spec) |