Skip to content

Commit

Permalink
chore: sync with Terra 38
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Sep 28, 2023
1 parent 7d8da28 commit e63c1f9
Show file tree
Hide file tree
Showing 20 changed files with 61 additions and 46 deletions.
2 changes: 1 addition & 1 deletion anda/desktops/compiz9/compiz9.spec
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Compiz Config Manager helps configure Compiz Window Manager, version 0.9 series
Compiz 9 branch, which is newer then what Fedora packages and required by Unity 7.6 and higher.

%prep
%autosetup -p1 -n compiz
%autosetup -p1 -n compiz-%version+%(echo %_ubuntu_rel | sed 's@-0ubuntu.@@')

%build
# The driver blacklist hack is obselete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Name: wingpanel-indicator-datetime
Summary: Datetime Indicator for wingpanel
Version: 2.4.1
Release: 2%{?dist}
Release: 1%{?dist}
License: GPL-3.0-or-later

URL: https://github.com/elementary/wingpanel-indicator-datetime
Expand Down
1 change: 0 additions & 1 deletion anda/desktops/elementary/wingpanel/wingpanel.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ License: GPL-2.0-or-later

URL: https://github.com/elementary/wingpanel
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: https://github.com/elementary/wingpanel/commit/d6009d9f0d5c7479172093447ccceccba86ff1f3.patch

BuildRequires: desktop-file-utils
BuildRequires: gettext
Expand Down
14 changes: 5 additions & 9 deletions anda/desktops/kde/kde-liquidshell/kde-liquidshell.spec
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
%global forgeurl https://invent.kde.org/system/liquidshell
%global commit 9b14b9766f5d8db2b81c9bc7d4163dc07534402c
%global scm git
%forgemeta

Name: kde-liquidshell
Version: 1.8.1
Version: 1.9.0
Release: %autorelease
Summary: Basic desktop shell using QtWidgets
Provides: liquidshell = %version

License: GPL-3.0
URL: %{forgeurl}
Source0: %{forgeurl}/-/archive/%{commit}/liquidshell-%{commit}.tar.gz
URL: https://invent.kde.org/system/liquidshell
Source0: https://download.kde.org/stable/liquidshell/liquidshell-%version.tar.xz

BuildRequires: cmake
BuildRequires: libappstream-glib
Expand Down Expand Up @@ -49,7 +44,7 @@ Recommends: polkit-kde
liquidshell is a basic Desktop Shell implemented using QtWidgets.

%prep
%autosetup -n liquidshell-%{commit}
%autosetup -n liquidshell-%version

%build
%cmake_kf5 -DWITH_PACKAGEKIT=true
Expand All @@ -69,6 +64,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
%{_datadir}/knotifications5/liquidshell.notifyrc
%{_metainfodir}/org.kde.liquidshell.appdata.xml
%{_datadir}/xsessions/liquidshell-session.desktop
%{_datadir}/locale/*/LC_MESSAGES/liquidshell.mo

%changelog
%autochangelog
2 changes: 2 additions & 0 deletions anda/desktops/kde/kde-liquidshell/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
let html = get("https://download.kde.org/stable/liquidshell/");
rpm.version(find(`>liquidshell-([.\\d]+)\\.tar\\.xz</a>`, html, 1));
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%global forgeurl https://github.com/KDE/latte-dock/

%global commit 853a7735a425ec6bb0379da1a8b4fbc13a7992ad
%global commit 71e0243709a0d0bc3f1f9688a801bfce182211f5
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date %(date '+%Y%m%d')
%global snapshot_info %{commit_date}.%{shortcommit}
Expand Down
2 changes: 1 addition & 1 deletion anda/fonts/seto/seto-fonts.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Name: seto-fonts
Version: 6.20
Release: 2%?dist
URL: https://setofont.osdn.jp/
Source0: http://osdn.net/frs/redir.php?m=nchc&f=setofont%2F61995%2Fsetofont_v_6_20.zip
Source0: https://osdn.net/frs/redir.php?m=nchc&f=setofont%2F61995%2Fsetofont_v_6_20.zip
License: OFL-1.1
Summary: A handwritten font that contains kanji up to JIS 4th level and difficult kanji
BuildRequires: unzip
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global real_name prismlauncher
%global nice_name PrismLauncher

%global commit 25ce11d85d1aa9060e9df335a63f3de5e61c7f6b
%global commit 59e565ef96b85be9a25fa5d4f1723ee87fd5e75e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global real_name prismlauncher
%global nice_name PrismLauncher

%global commit 25ce11d85d1aa9060e9df335a63f3de5e61c7f6b
%global commit 59e565ef96b85be9a25fa5d4f1723ee87fd5e75e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
Expand Down
4 changes: 2 additions & 2 deletions anda/lib/tdlib/tdlib-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%global commit 470c36ceef780ff6189bbd8e2f889941ca828247
%global ver 1.8.16
%global commit a65f14fff6de5b6b9cbd0e91cec757c7cf7efc7c
%global ver 1.8.19
Name: tdlib-nightly
Version: %ver^%commit
Release: 1%{?dist}
Expand Down
2 changes: 1 addition & 1 deletion anda/nim/nim-nightly/nim-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
%global commit b3912c25d3dcb78bc1c8f7d6acc3c512964d3ea8
%global commit a9e6660a74322f0385f22c89e60c46e3177c2513
%global ver 2.1.1
%global debug_package %nil

Expand Down
19 changes: 14 additions & 5 deletions anda/others/system76-scheduler/system76-scheduler.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ License: MPL-2.0
URL: https://github.com/pop-os/system76-scheduler
Source0: %url/archive/refs/tags/%version.tar.gz
BuildRequires: cargo clang clang-devel pipewire-devel pkg-config systemd-rpm-macros rust-packaging just
BuildRequires: bcc-tools
Requires: bcc-tools

%description
Scheduling service which optimizes Linux's CPU scheduler and automatically
Expand All @@ -22,11 +24,11 @@ process priority.
%autosetup

%build
export EXECSNOOP_PATH=$(which execsnoop-bpfcc)
export EXECSNOOP_PATH=/usr/share/bcc/tools/execsnoop
%cargo_build

%install
just rootdir=%buildroot sysconfdir=%_sysconfdir install
just rootdir=%buildroot sysconfdir=%_datadir install


%post
Expand All @@ -45,11 +47,18 @@ just rootdir=%buildroot sysconfdir=%_sysconfdir install
%doc README.md
%license LICENSE
%_bindir/system76-scheduler
%config %_sysconfdir/dbus-1/system.d/com.system76.Scheduler.conf
%config %_sysconfdir/system76-scheduler/config.kdl
%config %_sysconfdir/system76-scheduler/process-scheduler/pop_os.kdl
%config %ghost %_sysconfdir/dbus-1/system.d/com.system76.Scheduler.conf
%config %ghost %_sysconfdir/system76-scheduler/config.kdl
%config %ghost %_sysconfdir/system76-scheduler/process-scheduler/pop_os.kdl
%_datadir/dbus-1/system.d/com.system76.Scheduler.conf
%_datadir/system76-scheduler/config.kdl
%_datadir/system76-scheduler/process-scheduler/pop_os.kdl
%_unitdir/com.system76.Scheduler.service

%changelog
* Tue Sep 26 2023 Cappy Ishihara <[email protected]> - 2.0.1-2
- Move default configurations to /usr/share/system76-scheduler
- Add Requires: bcc-tools so execsnoop is available

* Tue May 23 2023 windowsboy111 <[email protected]> - 2.0.1-1
- Initial package.
22 changes: 13 additions & 9 deletions anda/rust/bandwhich/bandwhich-fix-metadata-auto.diff
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
--- bandwhich-0.20.0/Cargo.toml 2020-10-15T09:07:04+00:00
+++ bandwhich-0.20.0/Cargo.toml 2020-10-15T09:07:04+00:00
@@ -83,13 +83,3 @@
version = "1"
--- bandwhich-0.21.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ bandwhich-0.21.0/Cargo.toml 2023-09-21T07:50:16.506970+00:00
@@ -104,17 +104,3 @@
[target."cfg(target_os=\"linux\")".dependencies.procfs]
version = "0.7.4"
version = "0.15.1"

-[target."cfg(target_os=\"windows\")".dependencies.netstat2]
-version = "0.9.0"
-version = "0.9.1"
-
-[target."cfg(target_os=\"windows\")".dependencies.sysinfo]
-version = "0.15.1"
-version = "0.29.10"
-
-[target."cfg(target_os=\"windows\")".build-dependencies.anyhow]
-version = "1.0.75"
-
-[target."cfg(target_os=\"windows\")".build-dependencies.http_req]
-version = "0.7.0"
-version = "0.9.3"
-
-[target."cfg(target_os=\"windows\")".build-dependencies.zip]
-version = "0.5.6"
-version = "0.6.6"
15 changes: 11 additions & 4 deletions anda/rust/bandwhich/rust-bandwhich.spec
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# Generated by rust2rpm 23
# Generated by rust2rpm 24
#bcond_without check

%global crate bandwhich

Name: rust-bandwhich
Version: 0.21.0
Release: 1%{?dist}
Summary: Show network utilization by process/connection/hostname/IP
Release: %autorelease
Summary: Display current network utilization by process, connection and remote IP/hostname

License: MIT
URL: https://crates.io/crates/bandwhich
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: bandwhich-fix-metadata-auto.diff

BuildRequires: anda-srpm-macros rust-packaging >= 21
BuildRequires: anda-srpm-macros rust-packaging >= 23

%global _description %{expand:
Display current network utilization by process, connection and remote
Expand All @@ -21,11 +24,13 @@ IP/hostname.}

%package -n %{crate}
Summary: %{summary}
License: MIT

%description -n %{crate} %{_description}

%files -n %{crate}
%license LICENSE.md
%license LICENSE.dependencies
%doc CHANGELOG.md
%doc CODE_OF_CONDUCT.md
%doc CONTRIBUTING.md
Expand All @@ -38,6 +43,8 @@ Summary: %{summary}

%build
%cargo_build
%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies

%install
%cargo_install
Expand Down
2 changes: 1 addition & 1 deletion anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Name: bibata-cursor-theme
Version: 2.0.4
Release: 1%{?dist}
URL: https://github.com/ful1e5/Bibata_Cursor
Source0: %{url}/releases/download/v%{version}/Bibata.tar.gz
Source0: %{url}/releases/download/v%{version}/Bibata.tar.xz
Source1: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/README.md
Source2: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/LICENSE
License: GPL-3.0
Expand Down
5 changes: 3 additions & 2 deletions anda/tools/anda/rust-anda.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ Summary: %{summary}
%cargo_prep_online

%build
cargo run -p xtask -- manpage
cargo run -p xtask -- completion
%cargo_build
cargo run --release -p xtask -- manpage
cargo run --release -p xtask -- completion

%install
%cargo_install
Expand Down
2 changes: 1 addition & 1 deletion anda/tools/electron/electron.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%global __provides_exclude_from %{_libdir}/%{name}/.*\\.so

Name: electron
Version: 26.2.2
Version: 26.2.3
Release: 1%{?dist}
Summary: Build cross platform desktop apps with web technologies
License: MIT
Expand Down
2 changes: 1 addition & 1 deletion anda/tools/limine/limine.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: limine
Version: 5.20230917.0
Version: 5.20230924.0
Release: 1%{?dist}
Summary: Modern, advanced, portable, multiprotocol bootloader
License: BSD-2-Clause
Expand Down
3 changes: 0 additions & 3 deletions anda/tools/subatomic/subatomic.spec
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ Client for Subatomic repo manager

%prep
%autosetup
go env
go env -w GOPROXY=proxy.golang.org,direct
go env -w GOSUMDB=sum.golang.org
go mod download


Expand Down
2 changes: 1 addition & 1 deletion anda/vala/vala-nightly/vala-nightly.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%global priority 90

%global real_name vala
%global commit 3a2cdb26bceef7afe48770744a4547eaa44ccdc0
%global commit ba470e9bbe6eaf7781a0fe37346841443b72fbc4
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global repo https://gitlab.gnome.org/GNOME/%{real_name}.git

Expand Down

0 comments on commit e63c1f9

Please sign in to comment.