|
| 1 | +Name: hyprtoolkit |
| 2 | +Version: 0.4.1 |
| 3 | +Release: 1%{?dist} |
| 4 | +Summary: A modern C++ Wayland-native GUI toolkit |
| 5 | + |
| 6 | +License: BSD-3-Clause |
| 7 | +URL: https://github.com/hyprwm/hyprtoolkit |
| 8 | +Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz |
| 9 | + |
| 10 | +ExcludeArch: %{ix86} |
| 11 | + |
| 12 | +BuildRequires: cmake |
| 13 | +BuildRequires: gcc-c++ |
| 14 | +BuildRequires: mesa-libGLES-devel |
| 15 | +BuildRequires: pkgconfig(aquamarine) |
| 16 | +BuildRequires: pkgconfig(cairo) |
| 17 | +BuildRequires: pkgconfig(egl) |
| 18 | +BuildRequires: pkgconfig(gbm) |
| 19 | +BuildRequires: pkgconfig(hyprgraphics) |
| 20 | +BuildRequires: pkgconfig(hyprlang) |
| 21 | +BuildRequires: pkgconfig(hyprutils) |
| 22 | +BuildRequires: pkgconfig(hyprwayland-scanner) |
| 23 | +BuildRequires: pkgconfig(iniparser) |
| 24 | +BuildRequires: pkgconfig(libdrm) |
| 25 | +BuildRequires: pkgconfig(pango) |
| 26 | +BuildRequires: pkgconfig(pangocairo) |
| 27 | +BuildRequires: pkgconfig(pixman-1) |
| 28 | +BuildRequires: pkgconfig(wayland-client) |
| 29 | +BuildRequires: pkgconfig(wayland-protocols) |
| 30 | +BuildRequires: pkgconfig(xkbcommon) |
| 31 | + |
| 32 | +%description |
| 33 | +%{summary}. |
| 34 | + |
| 35 | +%package devel |
| 36 | +Summary: Development files for %{name} |
| 37 | +Requires: %{name}%{?_isa} = %{version}-%{release} |
| 38 | + |
| 39 | +%description devel |
| 40 | +Development files for %{name}. |
| 41 | + |
| 42 | +%prep |
| 43 | +%autosetup -p1 |
| 44 | + |
| 45 | +%build |
| 46 | +%cmake -DCMAKE_BUILD_TYPE=Release |
| 47 | +%cmake_build |
| 48 | + |
| 49 | +%install |
| 50 | +%cmake_install |
| 51 | + |
| 52 | +%files |
| 53 | +%license LICENSE |
| 54 | +%doc README.md |
| 55 | +%{_libdir}/lib%{name}.so.0 |
| 56 | +%{_libdir}/lib%{name}.so.%{version} |
| 57 | + |
| 58 | +%files devel |
| 59 | +%{_includedir}/%{name}/ |
| 60 | +%{_libdir}/lib%{name}.so |
| 61 | +%{_libdir}/pkgconfig/%{name}.pc |
| 62 | + |
| 63 | +%changelog |
| 64 | +* Wed Dec 18 2024 Hypercube <[email protected]> - 0.4.1-1 |
| 65 | +- Initial package for Hypercube |
0 commit comments