Merge upload into composite action, move spec out of folder
Some checks failed
Build hyprwayland-scanner / Build and push image (push) Has been cancelled
Some checks failed
Build hyprwayland-scanner / Build and push image (push) Has been cancelled
This commit is contained in:
44
hyprwayland-scanner.spec
Normal file
44
hyprwayland-scanner.spec
Normal file
@@ -0,0 +1,44 @@
|
||||
Name: hyprwayland-scanner
|
||||
Version: 0.4.5
|
||||
Release: %autorelease
|
||||
Summary: A Hyprland implementation of wayland-scanner, in and for C++
|
||||
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/hyprwm/hyprwayland-scanner
|
||||
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: cmake(pugixml)
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: A Hyprland implementation of wayland-scanner, in and for C++
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_libdir}/cmake/%{name}/
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user