Files
packages/anda/rust/pop-launcher/pop-launcher.spec
T
madomado 9bbe91be03 fix(lint): * (#577)
* fix(lint): prismlauncher* fluent-icon-theme

* fix(lint): fix lints for 6 packages (#578)

* fix(lint): fix rpmlint lints for youki package

* fix(lint): fix rpmlint lints for xdg-desktop-portal-pantheon

* fix(lint): fix rpmlint lints for wingpanel package

* fix(lint): fix rpmlint lints for wingpanel-indicator-sound package

* fix(lint): fix rpmlint lints for wingpanel-indicator-session package

* fix(lint): fix rpmlint lints for wingpanel-indicator-power package

* fix(lint): *

* fix random typos

* feat: revert anda/desktops

* fix: armcord-bin authy blahaj

* fix: ...

anki authy discord~ aya~sound groovy kotlin libappimage qt5-pim

* fix: ...

qdjango moby-buildx nim-nightly nim system76-scheduler unity-scope-home
kondo pop-launcher fuc graalvm vala-lint-nightly

* fix: armcord-bin authy blahaj groovy

* fix: ...

libappimage moby0buildx nim-nightly nim system76-scheduler subatomic

* fix blahaj

* fix: kondo

* fix: libappimage moby-buildx system76-scheduler nim-nightly

* fix: subatomic

* fix: subatomic

* fix: nim

* Update anki.spec

Signed-off-by: madomado <wboy111@outlook.com>

* fix: libappimage nim-nightly

* fix: moby-buildx subatomic

* fix: moby-buildx subatomic

---------

Signed-off-by: madomado <wboy111@outlook.com>
Co-authored-by: HTGAzureX1212 <39023054+HTG-YT@users.noreply.github.com>
2023-06-19 10:34:00 -03:00

62 lines
1.3 KiB
RPMSpec

%global debug_package %{nil}
%define _disable_source_fetch 0
%bcond_without check
%global debug_package %{nil}
%global crate pop-launcher
Name: %{crate}
Version: 1.2.1
Release: 1%{?dist}
Summary: Library for writing plugins and frontends for pop-launcher
# Upstream license specification: MPL-2.0
License: MPL-2.0
URL: https://github.com/pop-os/launcher/
Source: https://github.com/pop-os/launcher/archive/refs/tags/%{version}.tar.gz
Patch: 0001-Copy-instead-of-symlink.patch
Patch1: 0001-Remove-frozen-lock.patch
Provides: rust-%{crate} = 1.2.1
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
BuildRequires: external:crate:just
BuildRequires: anda-srpm-macros
BuildRequires: fdupes
%global _description %{expand:
Library for writing plugins and frontends for pop-launcher.}
%description %{_description}
%prep
%autosetup -n launcher-%{version_no_tilde}
%cargo_prep_online
%build
just
%install
just rootdir=%{buildroot} install
chmod +x %buildroot%_prefix/lib/pop-launcher/scripts/{session,system76-power}/*.sh
%fdupes %buildroot%_prefix/
%if %{with check}
%check
%cargo_test
%endif
%files
%doc README.md
%license LICENSE
%{_bindir}/pop-launcher
%{_prefix}/lib/pop-launcher/
%changelog
%autochangelog