-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init * erreur : Pas de numéro de source 1 * update deps * change appid + fix icon location
- Loading branch information
Showing
13 changed files
with
235 additions
and
118 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Generated by rust2rpm 26 | ||
%bcond_without check | ||
|
||
%global ver 0.1.0 | ||
%global commit 876c73d228c24e7a85e1e39ef7265e1e81d106ca | ||
%global date 20240426.18 | ||
|
||
Name: cosmic-clipboard-manager | ||
Version: %{ver}~git%{date}.%{sub %{commit} 1 7} | ||
Release: %autorelease | ||
Summary: Clipboard manager for the COSMIC Desktop Environment | ||
|
||
SourceLicense: MIT | ||
License: MIT | ||
|
||
URL: https://github.com/wiiznokes/cosmic-clipboard-manager | ||
|
||
|
||
|
||
BuildRequires: cargo-rpm-macros >= 25 | ||
BuildRequires: rustc | ||
BuildRequires: lld | ||
BuildRequires: cargo | ||
|
||
|
||
%global _description %{expand: | ||
%{summary}.} | ||
|
||
%description %{_description} | ||
|
||
%prep | ||
%autosetup -n cosmic-comp-%{commit} -p1 -a1 | ||
%cargo_prep -N | ||
cat .vendor/config.toml >> .cargo/config | ||
|
||
%build | ||
%cargo_build | ||
%{cargo_license_summary} | ||
%{cargo_license} > LICENSE.dependencies | ||
%{cargo_vendor_manifest} | ||
sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt | ||
|
||
%install | ||
just rootdir=%{buildroot} prefix=%{_prefix} install | ||
|
||
%if %{with check} | ||
%check | ||
%cargo_test | ||
%endif | ||
|
||
%files | ||
%license LICENSE | ||
%license LICENSE.dependencies | ||
%license cargo-vendor.txt | ||
%{_bindir}/cosmic-clipboard-manager | ||
%{_datadir}/applications/io.github.wiiznokes.cosmic-clipboard-manager.desktop | ||
%{_datadir}/share/icons/hicolor/scalable/apps/io.github.wiiznokes.cosmic-clipboard-manager.svg | ||
|
||
%changelog | ||
%autochangelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[Desktop Entry] | ||
Name=Clipboard Manager | ||
Comment=A wayland clipboard manager | ||
Keywords=Cosmic;Iced;history; | ||
|
||
# translators: do not translate this part | ||
Icon=io.github.wiiznokes.cosmic-clipboard-manager | ||
Categories=Cosmic;Iced; | ||
Type=Application | ||
Exec=cosmic-clipboard-manager | ||
Terminal=false | ||
StartupNotify=true | ||
NoDisplay=true | ||
X-CosmicApplet=true | ||
X-CosmicHoverPopup=true |
File renamed without changes
File renamed without changes
File renamed without changes
Empty file.
File renamed without changes
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters