diff --git a/anda/apps/legcord-bin/anda.hcl b/anda/apps/legcord-bin/anda.hcl deleted file mode 100644 index 5c31d7cdce..0000000000 --- a/anda/apps/legcord-bin/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "legcord-bin.spec" - } -} diff --git a/anda/apps/legcord-bin/legcord-bin.spec b/anda/apps/legcord-bin/legcord-bin.spec deleted file mode 100644 index 0dd6cfe172..0000000000 --- a/anda/apps/legcord-bin/legcord-bin.spec +++ /dev/null @@ -1,95 +0,0 @@ -%define debug_package %nil -%global _build_id_links none - -%ifarch x86_64 -%global src LegCord-%version-linux-x64 -%elifarch aarch64 -%global src LegCord-%version-linux-arm64 -%elifarch armv7l -%global src LegCord-%version-linux-armv7l -%endif - -# Exclude private libraries -%global __requires_exclude libffmpeg.so -%global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so - -Name: legcord-bin -Version: 1.0.8 -Release: 1%?dist -License: OSL-3.0 -Summary: Custom lightweight Discord client designed to enhance your experience -URL: https://github.com/LegCord/LegCord -Group: Applications/Internet -Source0: %url/releases/download/v%version/%src.zip -Source1: legcord.png -Source2: https://raw.githubusercontent.com/LegCord/LegCord/v%version/README.md -Requires: xdg-utils -BuildRequires: unzip -ExclusiveArch: x86_64 aarch64 armv7l -Conflicts: legcord -BuildRequires: add-determinism -Obsoletes: armcord < 3.3.2-1 - -%description -LegCord is a custom client designed to enhance your Discord experience -while keeping everything lightweight. - -%prep -mkdir legcord -cd legcord -unzip %SOURCE0 - -cat < .legcord.desktop -[Desktop Entry] -Name=LegCord -Comment=%summary -GenericName=Internet Messenger -Type=Application -Exec=%_bindir/legcord -Icon=legcord -Categories=Network;InstantMessaging; -StartupWMClass=legcord -Keywords=discord;armcord;legcord;vencord;shelter;electron; -EOF - -%build - -%install -cd legcord -mkdir -p %buildroot%_bindir %buildroot%_datadir/applications %buildroot%_datadir/pixmaps %buildroot%_datadir/legcord %buildroot%_docdir/%name -cp -a * %buildroot%_datadir/legcord/ -ln -s %_datadir/legcord/legcord %buildroot%_bindir/legcord -ln -s %_datadir/legcord %buildroot%_datadir/armcord -chmod +x -R %buildroot%_datadir/legcord/* -chmod 755 %buildroot%_datadir/legcord/legcord -install -Dm644 .legcord.desktop %buildroot%_datadir/applications/LegCord.desktop -install -Dm644 %SOURCE1 %buildroot%_datadir/pixmaps/legcord.png -install -Dm644 %SOURCE2 %buildroot%_docdir/%name/ - -# HACK: rpm bug for unability to replace existing files on system. -%pre -if [ -d %_datadir/armcord ] && [ ! -L %_datadir/armcord ]; then - echo "Found old %_datadir/armcord directory, removing…" - rm -rf %_datadir/armcord -fi - -%files -%doc README.md -%_datadir/legcord -%_datadir/armcord -%_bindir/legcord -%_datadir/applications/LegCord.desktop -%_datadir/pixmaps/legcord.png - -%changelog -* Mon Oct 21 2024 madonuko - 1.0.2-2 -- Rename to LegCord. - -* Sat Jun 17 2023 madonuko - 3.2.0-2 -- Remove libnotify dependency. -- Fix desktop entry. -- Set as noarch package because there are not binary files. -- Use /usr/share/ instead of /opt/ - -* Sat May 6 2023 madonuko - 3.1.7-1 -- Initial package diff --git a/anda/apps/legcord-bin/legcord.png b/anda/apps/legcord-bin/legcord.png deleted file mode 100644 index bb87d3bafe..0000000000 Binary files a/anda/apps/legcord-bin/legcord.png and /dev/null differ diff --git a/anda/apps/legcord-bin/update.rhai b/anda/apps/legcord-bin/update.rhai deleted file mode 100644 index 15bcc4981d..0000000000 --- a/anda/apps/legcord-bin/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("LegCord/LegCord")); diff --git a/anda/apps/legcord/legcord-bin/legcord-bin.spec b/anda/apps/legcord/legcord-bin/legcord-bin.spec index 77efffe110..207ee7aa06 100644 --- a/anda/apps/legcord/legcord-bin/legcord-bin.spec +++ b/anda/apps/legcord/legcord-bin/legcord-bin.spec @@ -2,47 +2,44 @@ %global _build_id_links none %ifarch x86_64 -%global src LegCord-%version-linux-x64 +%global src Legcord-%version-linux-x64 %elifarch aarch64 -%global src LegCord-%version-linux-arm64 +%global src Legcord-%version-linux-arm64 %elifarch armv7l -%global src LegCord-%version-linux-armv7l +%global src Legcord-%version-linux-armv7l %endif # Exclude private libraries %global __requires_exclude libffmpeg.so %global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so -Name: legcord-bin -Version: 1.0.8 -Release: 1%?dist -License: OSL-3.0 -Summary: Custom lightweight Discord client designed to enhance your experience -URL: https://github.com/LegCord/LegCord -Group: Applications/Internet -Source0: %url/releases/download/v%version/%src.zip -Source1: legcord.png -Source2: https://raw.githubusercontent.com/LegCord/LegCord/v%version/README.md -Requires: xdg-utils -BuildRequires: unzip -ExclusiveArch: x86_64 aarch64 armv7l -Conflicts: legcord -Conflicts: legcord-nightly -BuildRequires: add-determinism +Name: legcord-bin +Version: 1.1.0 +Release: 1%?dist +License: OSL-3.0 +Summary: Custom lightweight Discord client designed to enhance your experience +URL: https://github.com/Legcord/Legcord +Group: Applications/Internet +Source0: %url/releases/download/v%version/%src.tar.gz +Source1: legcord.png +Source2: https://raw.githubusercontent.com/Legcord/Legcord/v%version/README.md +Requires: xdg-utils +ExclusiveArch: x86_64 aarch64 armv7l +Conflicts: legcord +Conflicts: legcord-nightly +BuildRequires: add-determinism Obsoletes: armcord < 3.3.2-1 %description -LegCord is a custom client designed to enhance your Discord experience +Legcord is a custom client designed to enhance your Discord experience while keeping everything lightweight. %prep -mkdir legcord -cd legcord -unzip %SOURCE0 +%autosetup -n %src cat < .legcord.desktop [Desktop Entry] -Name=LegCord +Name=Legcord Comment=%summary GenericName=Internet Messenger Type=Application @@ -56,7 +53,6 @@ EOF %build %install -cd legcord mkdir -p %buildroot%_bindir %buildroot%_datadir/applications %buildroot%_datadir/pixmaps %buildroot%_datadir/legcord %buildroot%_docdir/%name cp -a * %buildroot%_datadir/legcord/ ln -s %_datadir/legcord/legcord %buildroot%_bindir/legcord diff --git a/anda/apps/legcord/nightly/legcord-nightly.spec b/anda/apps/legcord/nightly/legcord-nightly.spec index 369392ea4f..c0c757881a 100644 --- a/anda/apps/legcord/nightly/legcord-nightly.spec +++ b/anda/apps/legcord/nightly/legcord-nightly.spec @@ -3,26 +3,26 @@ %global shortcommit %(c=%{commit}; echo ${c:0:7}) %define debug_package %nil -Name: legcord-nightly -Version: %commit_date.%shortcommit -Release: 1%?dist -License: OSL-3.0 -Summary: Custom lightweight Discord client designed to enhance your experience -URL: https://github.com/LegCord/LegCord -Group: Applications/Internet -Source0: %url/archive/%commit/legcord-%commit.tar.gz -Source1: launch.sh -Packager: Owen -Requires: electron xdg-utils -Provides: armcord-nightly -Obsoletes: armcord < 3.3.2-1 -Conflicts: legcord-bin -Conflicts: legcord -BuildArch: noarch +Name: legcord-nightly +Version: %commit_date.%shortcommit +Release: 1%?dist +License: OSL-3.0 +Summary: Custom lightweight Discord client designed to enhance your experience +URL: https://github.com/Legcord/Legcord +Group: Applications/Internet +Source0: %url/archive/%commit/Legcord-%commit.tar.gz +Source1: launch.sh +Packager: Owen +Requires: electron xdg-utils +Provides: armcord-nightly +Obsoletes: armcord < 3.3.2-1 +Conflicts: legcord-bin +Conflicts: legcord +BuildArch: noarch BuildRequires: anda-srpm-macros pnpm %description -legcord is a custom client designed to enhance your Discord experience +Legcord is a custom client designed to enhance your Discord experience while keeping everything lightweight. %prep @@ -30,7 +30,7 @@ while keeping everything lightweight. cat < legcord.desktop [Desktop Entry] -Name=LegCord +Name=Legcord Comment=%summary GenericName=Internet Messenger Type=Application diff --git a/anda/apps/legcord/stable/legcord.spec b/anda/apps/legcord/stable/legcord.spec index 564f6d8765..1532fc4792 100644 --- a/anda/apps/legcord/stable/legcord.spec +++ b/anda/apps/legcord/stable/legcord.spec @@ -4,25 +4,25 @@ %global __requires_exclude libffmpeg.so %global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so -Name: legcord -Version: 1.0.8 -Release: 1%?dist -License: OSL-3.0 -Summary: Custom lightweight Discord client designed to enhance your experience -URL: https://github.com/LegCord/LegCord -Group: Applications/Internet -Source1: launch.sh -Packager: madonuko -Requires: electron xdg-utils -Provides: armcord -Obsoletes: armcord < 3.3.2-1 -Conflicts: legcord-bin -Conflicts: legcord-nightly -BuildArch: noarch +Name: legcord +Version: 1.1.0 +Release: 1%?dist +License: OSL-3.0 +Summary: Custom lightweight Discord client designed to enhance your experience +URL: https://github.com/Legcord/Legcord +Group: Applications/Internet +Source1: launch.sh +Packager: madonuko +Requires: electron xdg-utils +Provides: armcord +Obsoletes: armcord < 3.3.2-1 +Conflicts: legcord-bin +Conflicts: legcord-nightly +BuildArch: noarch BuildRequires: anda-srpm-macros pnpm %description -legcord is a custom client designed to enhance your Discord experience +Legcord is a custom client designed to enhance your Discord experience while keeping everything lightweight. %prep diff --git a/anda/devs/codium/codium.spec b/anda/devs/codium/codium.spec index baf0171c73..372aed1d57 100644 --- a/anda/devs/codium/codium.spec +++ b/anda/devs/codium/codium.spec @@ -12,7 +12,7 @@ %endif Name: codium -Version: 1.97.0.25037 +Version: 1.97.1.25044 Release: 1%?dist Summary: Code editing. Redefined. License: MIT diff --git a/anda/system/uutils-coreutils-replace/coreutils-colorls.csh b/anda/system/uutils-coreutils-replace/coreutils-colorls.csh deleted file mode 100644 index 66ec2fa8d2..0000000000 --- a/anda/system/uutils-coreutils-replace/coreutils-colorls.csh +++ /dev/null @@ -1,63 +0,0 @@ -# skip everything for non-interactive shells -if (! $?prompt) exit - -# color-ls initialization -if ( $?USER_LS_COLORS ) then - if ( "$USER_LS_COLORS" != "" ) then - #when USER_LS_COLORS defined do not override user - #specified LS_COLORS and use them - goto finish - endif -endif - -alias ll 'ls -l' -alias l. 'ls -d .*' -set COLORS=/etc/DIR_COLORS - -if ($?TERM) then - if ( -e "/etc/DIR_COLORS.$TERM" ) then - set COLORS="/etc/DIR_COLORS.$TERM" - endif -endif -if ( -f ~/.dircolors ) set COLORS=~/.dircolors -if ( -f ~/.dir_colors ) set COLORS=~/.dir_colors -if ($?TERM) then - if ( -f ~/.dircolors."$TERM" ) set COLORS=~/.dircolors."$TERM" - if ( -f ~/.dir_colors."$TERM" ) set COLORS=~/.dir_colors."$TERM" -endif -set INCLUDE="`/usr/bin/cat "$COLORS" | /usr/bin/grep '^INCLUDE' | /usr/bin/cut -d ' ' -f2-`" - -if ( ! -e "$COLORS" ) exit - -set _tmp="`/usr/bin/mktemp .colorlsXXX -q --tmpdir=/tmp`" -#if mktemp fails, exit when include was active, otherwise use $COLORS file -if ( "$_tmp" == '' ) then - if ( "$INCLUDE" == '' ) then - eval "`/usr/bin/dircolors -c $COLORS`" - endif - goto cleanup -endif - -if ( "$INCLUDE" != '' ) /usr/bin/cat "$INCLUDE" >> $_tmp -/usr/bin/grep -v '^INCLUDE' "$COLORS" >> $_tmp - -eval "`/usr/bin/dircolors -c $_tmp`" - -/usr/bin/rm -f $_tmp - -if ( "$LS_COLORS" == '' ) exit -cleanup: -set color_none=`/usr/bin/sed -n '/^COLOR.*none/Ip' < $COLORS` -if ( "$color_none" != '' ) then - unset color_none - exit -endif -unset color_none -unset _tmp -unset INCLUDE -unset COLORS - -finish: -alias ll 'ls -l --color=auto' -alias l. 'ls -d .* --color=auto' -alias ls 'ls --color=auto' diff --git a/anda/system/uutils-coreutils-replace/coreutils-colorls.sh b/anda/system/uutils-coreutils-replace/coreutils-colorls.sh deleted file mode 100644 index 5162f1e39c..0000000000 --- a/anda/system/uutils-coreutils-replace/coreutils-colorls.sh +++ /dev/null @@ -1,53 +0,0 @@ -# color-ls initialization - -# Skip all for noninteractive shells. -[ ! -t 0 ] && return - -#when USER_LS_COLORS defined do not override user LS_COLORS, but use them. -if [ -z "$USER_LS_COLORS" ]; then - - alias ll='ls -l' 2>/dev/null - alias l.='ls -d .*' 2>/dev/null - - INCLUDE= - COLORS= - - for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" \ - "$HOME/.dir_colors" "$HOME/.dircolors"; do - [ -e "$colors" ] && COLORS="$colors" && \ - INCLUDE="`/usr/bin/cat "$COLORS" | /usr/bin/grep '^INCLUDE' | /usr/bin/cut -d ' ' -f2-`" && \ - break - done - - [ -z "$COLORS" ] && [ -e "/etc/DIR_COLORS.$TERM" ] && \ - COLORS="/etc/DIR_COLORS.$TERM" - - [ -z "$COLORS" ] && [ -e "/etc/DIR_COLORS" ] && \ - COLORS="/etc/DIR_COLORS" - - # Existence of $COLORS already checked above. - [ -n "$COLORS" ] || return - - if [ -e "$INCLUDE" ]; - then - TMP="`/usr/bin/mktemp .colorlsXXX -q --tmpdir=/tmp`" - [ -z "$TMP" ] && return - - /usr/bin/cat "$INCLUDE" >> $TMP - /usr/bin/grep -v '^INCLUDE' "$COLORS" >> $TMP - - eval "`/usr/bin/dircolors --sh $TMP 2>/dev/null`" - /usr/bin/rm -f $TMP - else - eval "`/usr/bin/dircolors --sh $COLORS 2>/dev/null`" - fi - - [ -z "$LS_COLORS" ] && return - /usr/bin/grep -qi "^COLOR.*none" $COLORS >/dev/null 2>/dev/null && return -fi - -unset TMP COLORS INCLUDE - -alias ll='ls -l --color=auto' 2>/dev/null -alias l.='ls -d .* --color=auto' 2>/dev/null -alias ls='ls --color=auto' 2>/dev/null diff --git a/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec b/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec index 5a86590f55..71a27ffd2c 100644 --- a/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec +++ b/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec @@ -6,7 +6,7 @@ Name: uutils-coreutils-replace Version: 0.0.29 -Release: 1%?dist +Release: 2%?dist Summary: Cross-platform Rust rewrite of the GNU coreutils License: MIT URL: https://github.com/uutils/coreutils @@ -41,7 +41,7 @@ This package replaces the GNU coreutils commands. %prep %setup -q -n coreutils-%version %cargo_prep_online -cp %{SOURCE3} . +/usr/bin/cp %{SOURCE3} . sed dircolors.hin \ -e 's| 00;36$| 01;36|' \ > DIR_COLORS @@ -54,25 +54,19 @@ sed dircolors.hin \ %build %install -export CARGOFLAGS="-vv --verbose" install -p -c -Dm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/colorls.sh install -p -c -Dm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/colorls.csh install -p -c -Dm644 DIR_COLORS{,.lightbgcolor} %{buildroot}%{_sysconfdir} /usr/bin/rm dircolors.hin DIR_COLORS DIR_COLORS.lightbgcolor %make_install PROFILE_CMD='--profile=rpm' MULTICALL=n DESTDIR=%buildroot BUILDDIR=target/rpm PREFIX=%_prefix SELINUX_ENABLED=1 SKIP_UTILS='hostname kill more uptime' & wait -ln -sr hashsum %{buildroot}%{_bindir}/sha1sum -ln -sr hashsum %{buildroot}%{_bindir}/sha224sum -ln -sr hashsum %{buildroot}%{_bindir}/sha256sum -ln -sr hashsum %{buildroot}%{_bindir}/sha384sum -ln -sr hashsum %{buildroot}%{_bindir}/sha512sum -ln -sr hashsum %{buildroot}%{_bindir}/sha3-224sum -ln -sr hashsum %{buildroot}%{_bindir}/sha3-256sum -ln -sr hashsum %{buildroot}%{_bindir}/sha3-384sum -ln -sr hashsum %{buildroot}%{_bindir}/sha3-512sum -ln -sr hashsum %{buildroot}%{_bindir}/sha3sum -ln -sr hashsum %{buildroot}%{_bindir}/shake128sum -ln -sr hashsum %{buildroot}%{_bindir}/shake256sum +/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/b2sum +/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/md5sum +/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/sha1sum +/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/sha224sum +/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/sha256sum +/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/sha384sum +/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/sha512sum %define cmds() $(echo %1{runcon,arch,base{32,64,name,nc},cat,ch{grp,mod,own,root,con},cksum,comm,cp,csplit,cut,date,dd,df,dir{,colors,name},du,echo,env,expand,expr,factor,false,fmt,fold,groups,hashsum,head,host{id},id,install,join,link,ln,logname,ls,mk{dir,fifo,nod,temp},mv,nice,nl,nohup,nproc,numfmt,od,paste,pathchk,pinky,pr,printenv,printf,ptx,pwd,readlink,realpath,rm{,dir},seq,shred,shuf,sleep,sort,split,stat,stdbuf,sum,sync,tac,tail,tee,test,timeout,touch,tr,true,truncate,tsort,tty,uname,un{expand,iq,link},users,vdir,wc,who{,ami},yes}%2) cat < files.txt @@ -95,18 +89,13 @@ cat files.txt %files -f files.txt %doc README.md %license LICENSE +%{_bindir}/b2sum +%{_bindir}/md5sum %{_bindir}/sha1sum %{_bindir}/sha224sum %{_bindir}/sha256sum %{_bindir}/sha384sum %{_bindir}/sha512sum -%{_bindir}/sha3-224sum -%{_bindir}/sha3-256sum -%{_bindir}/sha3-384sum -%{_bindir}/sha3-512sum -%{_bindir}/sha3sum -%{_bindir}/shake128sum -%{_bindir}/shake256sum %config(noreplace) %{_sysconfdir}/DIR_COLORS %config(noreplace) %{_sysconfdir}/DIR_COLORS.lightbgcolor %{_sysconfdir}/profile.d/colorls.sh