-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcosmic-panel.spec
38 lines (31 loc) · 908 Bytes
/
cosmic-panel.spec
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
%undefine _debugsource_packages
Name: cosmic-panel
Version: 1.0.0
Release: 0.alpha5.0
Summary: A panel for COSMIC DE
Group: Desktop/COSMIC
License: GPL-3.0-only
URL: https://github.com/pop-os/cosmic-panel
Source0: https://github.com/pop-os/cosmic-panel/archive/epoch-%{version}-alpha.5/%{name}-epoch-%{version}-alpha.5.tar.gz
Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: rust-packaging
BuildRequires: just
BuildRequires: pkgconfig
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(xkbcommon)
%description
%{summary}.
%prep
%autosetup -n %{name}-epoch-%{version}-alpha.5 -a1 -p1
mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
just build-release
%install
just rootdir=%{buildroot} prefix=%{_prefix} install
%files
%license LICENSE.md
%doc README.md
%{_bindir}/%{name}
%{_datadir}/cosmic