Package xournalpp: 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 168 169 170 171 172 173 | %def_with gtest Name: xournalpp Version: 1.2.1 Release: alt1 Summary: Handwriting note-taking software with PDF annotation support Group: Office License: GPLv2+ Url: https://github.com/%name/%name Source: %name-%version.tar.gz Patch: xournalpp-gcc13.patch Patch1: xournalpp-x32.patch Requires: %name-plugins = %version-%release Requires: %name-ui = %version-%release %add_findreq_skiplist %_datadir/%name/plugins/Example/* BuildRequires(pre): cmake # Automatically added by buildreq on Thu Sep 28 2023 # optimized out: at-spi2-atk cmake-modules fontconfig-devel glib2-devel glibc-kernheaders-generic glibc-kernheaders-x86 libX11-devel libXau-devel libXext-devel libXfixes-devel libXft-devel libXrender-devel libalsa-devel libat-spi2-core libatk-devel libcairo-devel libcairo-gobject libcairo-gobject-devel libfreetype-devel libgdk-pixbuf libgdk-pixbuf-devel libgio-devel libgpg-error libharfbuzz-devel libp11-kit libpango-devel libpoppler8-glib libsasl2-3 libstdc++-devel libwayland-client libwayland-cursor libwayland-egl libxcb-devel lua5.4 perl perl-Encode perl-Locale-gettext perl-parent pipewire-jack-libs pipewire-libs pkg-config python3 python3-base sh4 xorg-proto-devel zlib-devel BuildRequires: cmake gcc-c++ git-core help2man libXi-devel libgtk+3-devel libpoppler-glib-devel libportaudio2-devel librsvg-devel libsndfile-devel libssl-devel libxml2-devel libzip-devel lsb-release lua-devel %if_with gtest BuildRequires: libgtest-devel ctest %endif %description Xournal++ is a handwriting note-taking software with PDF annotation support. Supports Pen input like Wacom Tablets %package plugins Summary: Default plugin for %name BuildArch: noarch Group: Office %description plugins The %name-plugins package contains sample plugins for %name. %package ui Summary: User interface for %name BuildArch: noarch Group: Office %description ui The %name-ui package contains a graphical user interface for %name. %prep %setup %patch -p1 %patch1 -p1 %if "%EVR" == "1.2.1-alt1" # XXX sed -i '/EXPECT_TRUE(coordEq(a->getElementHeight()/d' test/unit_tests/control/LoadHandlerTest.cpp %endif %build %if_with gtest %cmake -DENABLE_GTEST=ON %else %cmake %endif %cmake_build %if_with gtest %cmake_build --target test-units %endif %install %cmake_install %find_lang %name %check %cmake_build --target test %files -f %name.lang %doc README.md AUTHORS %_bindir/* %_datadir/applications/com.github.%name.%name.desktop %_datadir/icons/hicolor/scalable/apps/com.github.%name.%name.svg %_datadir/icons/hicolor/scalable/mimetypes/* %_datadir/mime/packages/com.github.%name.%name.xml %_datadir/thumbnailers/com.github.%name.%name.thumbnailer %_datadir/%name %_datadir/metainfo/com.github.%name.%name.appdata.xml %exclude %_datadir/%name/plugins %exclude %_datadir/%name/ui %_man1dir/* %files plugins %_datadir/%name/plugins %files ui %_datadir/%name/ui %changelog * Thu Sep 28 2023 Fr. Br. George <george@altlinux.org> 1.2.1-alt1 - Autobuild version bump to 1.2.1 - Upstream dropped cppunit for the sake of gtest * Wed Jun 28 2023 Fr. Br. George <george@altlinux.org> 1.1.3-alt2 - Fix gcc13 build * Wed May 10 2023 Fr. Br. George <george@altlinux.org> 1.1.3-alt1 - Autobuild version bump to 1.1.3 * Wed Jun 15 2022 Fr. Br. George <george@altlinux.org> 1.1.1-alt1 - Autobuild version bump to 1.1.1 * Fri Mar 25 2022 Fr. Br. George <george@altlinux.org> 1.1.0-alt1 - Autobuild version bump to 1.1.0 * Wed Apr 28 2021 Arseny Maslennikov <arseny@altlinux.org> 1.0.20-alt1.1 - NMU: spec: adapted to new cmake macros. * Thu Jan 28 2021 Fr. Br. George <george@altlinux.ru> 1.0.20-alt1 - Autobuild version bump to 1.0.20 * Thu Jan 23 2020 Fr. Br. George <george@altlinux.ru> 1.0.16-alt1 - Autobuild version bump to 1.0.16 * Thu Jan 23 2020 Fr. Br. George <george@altlinux.ru> 1.0.15-alt1 - Initial build from Fedora * Fri Jan 17 2020 Marek Kasik <mkasik@redhat.com> - 1.0.16-9 - Rebuild for poppler-0.84.0 * Sun Jan 12 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 1.0.16-8 - Remove depreciate key in desktop file * Mon Dec 16 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 1.0.16-7 - Remove architecture requirement for plugins and ui * Mon Dec 16 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 1.0.16-6 - Fix typos * Mon Dec 16 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 1.0.16-5 - Fix architecture requirement for ui * Wed Dec 11 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 1.0.16-4 - Review fixes * Wed Dec 11 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 1.0.16-3 - Add hicolor-icon-theme to requirement - Use desktop file validation - Split xournal data share into subpackages - Review fixes * Sun Nov 17 2019 Luya Tshimbalanga <luya@fedoraproject.org> 1.0.16-2 - Remove scripts from ui icons directory - Relocate tlh locale directory * Sun Nov 17 2019 Luya Tshimbalanga <luya@fedoraproject.org> 1.0.16-1 - Release 1.0.16 - Enable cppunit * Sun Nov 10 2019 Luya Tshimbalanga <luya@fedoraproject.org> 1.0.15-2 - Update spec file based on review - Include appstream data * Sun Nov 10 2019 Luya Tshimbalanga <luya@fedoraproject.org> 1.0.15-1 - Release 1.0.15 * Tue Aug 13 2019 dfas <d.dfas@moens.cc> - 1.0.13-2.git7349762 - Release 1.0.13-current * Tue Jun 25 2019 dfas <d.dfas@moens.cc> - 1.0.13-1.gita7f0275 - Release 1.0.13-current * Fri May 3 2019 Francisco Gonzalez <gzmorell@gmail.com> - 1.0.10-1 - First attempt at packaging xournalpp. |