diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 32e4ece5e5..31e0edd01f 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -30,6 +30,7 @@ jobs: run: anda update -vv env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + RUST_BACKTRACE: full - name: Save run: | diff --git a/CODEOWNERS b/CODEOWNERS index 80bada7762..397af39e63 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -28,3 +28,5 @@ /anda/rust/starship @korewaChino /anda/rust/zellij @korewaChino /anda/audio/distrho @korewaChino + +/anda/desktop/compiz9 @cat-master21 \ No newline at end of file diff --git a/anda/desktops/budgie/budgie-extras/.gitignore b/anda/desktops/budgie/budgie-extras/.gitignore deleted file mode 100644 index 77678758f7..0000000000 --- a/anda/desktops/budgie/budgie-extras/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.tar.* -build/ \ No newline at end of file diff --git a/anda/desktops/budgie/budgie-extras/budgie-extras.spec b/anda/desktops/budgie/budgie-extras/budgie-extras.spec index c4411e7b57..567150a36b 100644 --- a/anda/desktops/budgie/budgie-extras/budgie-extras.spec +++ b/anda/desktops/budgie/budgie-extras/budgie-extras.spec @@ -1,6 +1,6 @@ Name: budgie-extras -Version: 1.5.0 +Version: 1.5.90 Release: 1%{dist} License: GPLv3 @@ -335,8 +335,15 @@ rm -f %{buildroot}%{_bindir}/quickchar %files -n budgie-applet-hotcorners %{_libdir}/budgie-desktop/plugins/budgie-hotcorners -%{_datadir}/glib-2.0/schemas/org.ubuntubudgie.plugins.budgie-hotcorners.gschema.xml +%{_sysconfdir}/xdg/autostart/org.ubuntubudgie.budgie-extras.HotCorners-autostart.desktop +%{_datadir}/glib-2.0/schemas/org.ubuntubudgie.budgie-extras.HotCorners.gschema.xml +%{_datadir}/applications/org.ubuntubudgie.budgie-extras.HotCorners.desktop +%{_datadir}/budgie-hotcorners +/usr/libexec/budgie-hotcorners/ + %{_datadir}/pixmaps/budgie-hotcorners-symbolic.svg +%{_datadir}/pixmaps/budgie-hotcgui-*.svg +%{_datadir}/icons/hicolor/scalable/apps/org.ubuntubudgie.budgie-extras.hotcorners.svg %files -n budgie-applet-kangaroo %{_libdir}/budgie-desktop/plugins/budgie-kangaroo @@ -407,6 +414,7 @@ rm -f %{buildroot}%{_bindir}/quickchar %files -n budgie-applet-window-shuffler %{_sysconfdir}/xdg/autostart/layoutspopup-autostart.desktop +%{_sysconfdir}/xdg/autostart/dragsnap-autostart.desktop %{_sysconfdir}/xdg/autostart/shuffler*.desktop %{_libdir}/budgie-window-shuffler %{_datadir}/applications/org.ubuntubudgie.shufflercontrol.desktop @@ -415,6 +423,7 @@ rm -f %{buildroot}%{_bindir}/quickchar %{_datadir}/glib-2.0/schemas/org.ubuntubudgie.plugins.budgie-shufflerapplet.gschema.xml %{_datadir}/pixmaps/shuffler-*.svg %{_datadir}/pixmaps/shufflerapplet-*.svg +%{_datadir}/pixmaps/dragsnapimg*.svg %{_libdir}/budgie-desktop/plugins/budgie-window-shuffler/ShufflerAPplet.plugin %{_libdir}/budgie-desktop/plugins/budgie-window-shuffler/libshufflerapplet.so %{_datadir}/metainfo/org.ubuntubudgie.shufflercontrol.metainfo.xml @@ -442,6 +451,5 @@ rm -f %{buildroot}%{_bindir}/quickchar - Updated to 1.4.0 - Added requirements for Workspace Overview - * Fri Apr 16 2021 Thomas Batten - 1.2.0-1 - Initial Build diff --git a/anda/desktops/budgie/budgie-extras/update.rhai b/anda/desktops/budgie/budgie-extras/update.rhai index 14519efa4d..7f2396082f 100644 --- a/anda/desktops/budgie/budgie-extras/update.rhai +++ b/anda/desktops/budgie/budgie-extras/update.rhai @@ -1 +1 @@ -rpm.version(gh("UbuntuBudgie/budgie-extras")); +rpm.version(gh_tag("UbuntuBudgie/budgie-extras")); diff --git a/anda/desktops/compiz9/anda.hcl b/anda/desktops/compiz9/anda.hcl new file mode 100644 index 0000000000..34ea7fc7f7 --- /dev/null +++ b/anda/desktops/compiz9/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "compiz9.spec" + } +} \ No newline at end of file diff --git a/anda/desktops/compiz9/compiz9.spec b/anda/desktops/compiz9/compiz9.spec new file mode 100644 index 0000000000..57457e0fc9 --- /dev/null +++ b/anda/desktops/compiz9/compiz9.spec @@ -0,0 +1,153 @@ +%define _ubuntu_rel 22.10.20220822-0ubuntu1 + +Name: compiz9 +Version: 0.9.14.2 +Release: %autorelease +Summary: OpenGL window and compositing manager 0.9.X.X series + +License: GPLv2+ AND LGPLv2+ AND MIT +URL: https://launchpad.net/compiz +Source0: http://archive.ubuntu.com/ubuntu/pool/universe/c/compiz/compiz_%{version}+%{_ubuntu_rel}.tar.xz +Patch0: https://raw.githubusercontent.com/cat-master21/unityDE-specs/main/patches/compiz-cmake-install-path.patch + +Conflicts: compiz +BuildRequires: libX11-devel +BuildRequires: libdrm-devel +BuildRequires: libXcursor-devel +BuildRequires: libXfixes-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: libXext-devel +BuildRequires: libXt-devel +BuildRequires: libSM-devel +BuildRequires: libICE-devel +BuildRequires: libXmu-devel +BuildRequires: desktop-file-utils +BuildRequires: intltool +BuildRequires: gettext +BuildRequires: librsvg2-devel +BuildRequires: mesa-libGLU-devel +BuildRequires: fuse-devel +BuildRequires: cairo-devel +BuildRequires: libjpeg-turbo-devel +BuildRequires: libxslt-devel +BuildRequires: glib2-devel +BuildRequires: libwnck3-devel +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: g++ +BuildRequires: make +BuildRequires: glibmm24-devel +BuildRequires: lcov +BuildRequires: python3-devel +BuildRequires: boost-devel +BuildRequires: libnotify-devel +BuildRequires: python3-Cython +BuildRequires: glibc-headers-x86 +BuildRequires: metacity-devel +BuildRequires: libglvnd-devel +BuildRequires: gcovr +BuildRequires: mesa-libEGL-devel +BuildRequires: glib2-devel +BuildRequires: xorg-x11-server-devel +Requires: glib2 +Requires: xorg-x11-server-Xorg +Requires: metacity +Requires: glx-utils + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package contains the development files for %{name}. + +%package -n python3-ccsm +Summary: Compiz Config Manager +Conflicts: ccsm +Requires: %{name}%{?_isa} + +%description -n python3-ccsm +Compiz Config Manager helps configure Compiz Window Manager, version 0.9 series + +%description +Compiz 9 branch, which is newer then what Fedora packages and required by Unity 7.6 and higher. + +%prep +%autosetup -p1 -n compiz + +%build +# The driver blacklist hack is obselete +sed -i 's/(nouveau|Intel).*Mesa 8.0//' plugins/opengl/opengl.xml.in +%cmake -DCOMPIZ_DISABLE_GS_SCHEMAS_INSTALL=OFF -DBUILD_GTK=ON -DBUILD_METACITY=ON -DCOMPIZ_BUILD_TESTING=OFF -DBUILD_GLES=ON -DCOMPIZ_PACKAGING_ENABLED=TRUE -DBUILD_XORG_GTEST=OFF -DCOMPIZ_BUILD_WITH_RPATH=FALSE -DCOMPIZ_WERROR=OFF +%cmake_build + +%install +%cmake_install + +desktop-file-install \ + --delete-original \ + --dir=%{buildroot}%{_datadir}/applications \ +%{buildroot}%{_datadir}/applications/*.desktop + +find %{buildroot} -name '*.la' -exec rm -f {} ';' + +%find_lang ccsm +%find_lang compiz + +%py3_shebang_fix $RPM_BUILD_ROOT%{_bindir}/ccsm + +# placeholder for local icons +mkdir -p %{buildroot}%{_datadir}/compiz/icons/hicolor/{scalable/{apps,\ +categories},22x22/{categories,devices,mimetypes}} + +%files -f compiz.lang +%doc AUTHORS README INSTALL NEWS +%license COPYING COPYING.GPL COPYING.LGPL COPYING.MIT +%config %{_sysconfdir}/compizconfig/config.conf +%{_bindir}/compiz +%{_bindir}/compiz-decorator +%{_bindir}/gtk-window-decorator +%{_libdir}/libcompizconfig.so.* +%{_libdir}/libcompizconfig_gsettings_backend.so +%{_libdir}/libcompiz_core.so.* +%{_libdir}/libdecoration.so.* +%dir %{_libdir}/compiz +%{_libdir}/compiz/*.so +%dir %{_libdir}/compizconfig +%dir %{_libdir}/compizconfig/backends +%{_libdir}/compizconfig/backends/*.so +%{python3_sitearch}/compizconfig.cpython*.so +%{python3_sitearch}/compizconfig_python*.egg-info/ +%{_datadir}/applications/compiz.desktop +#{_datadir}/compiz/ +%{_datadir}/glib-2.0/schemas/org.compiz*.gschema.xml +%{_datadir}/gnome-control-center/keybindings/50-compiz-*.xml + +%files devel +%{_includedir}/compiz/ +%dir %{_includedir}/compizconfig +%{_includedir}/compizconfig/*.h +%{_libdir}/libcompizconfig.so +%{_libdir}/libcompiz_core.so +%{_libdir}/libdecoration.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/cmake/Modules/*.cmake + +%files -n python3-ccsm -f ccsm.lang +%doc AUTHORS NEWS +%license COPYING +%{_bindir}/ccsm +%{_datadir}/applications/ccsm.desktop +%dir %{_datadir}/ccsm +%{_datadir}/ccsm/* +%{_datadir}/icons/hicolor/*/apps/ccsm.png +%{_datadir}/icons/hicolor/*/apps/ccsm.svg +%dir %{python3_sitelib}/ccm +%{python3_sitelib}/ccm/* +%{python3_sitelib}/ccsm-%{version}-py%{python3_version}.egg-info + +%changelog +%autochangelog \ No newline at end of file diff --git a/anda/fonts/iosevka-fusion/iosevka-fusion-fonts.spec b/anda/fonts/iosevka-fusion/iosevka-fusion-fonts.spec index 93fb6bc544..7601525ffc 100644 --- a/anda/fonts/iosevka-fusion/iosevka-fusion-fonts.spec +++ b/anda/fonts/iosevka-fusion/iosevka-fusion-fonts.spec @@ -2,7 +2,7 @@ %global debug_package %{nil} Name: iosevka-fusion-fonts -Version: 19.0.0 +Version: 19.0.1 Release: 1%{?dist} Summary: A custom font based on iosevka diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 095457eae5..dbbdff668b 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -1,6 +1,6 @@ %global real_name prismlauncher -%global commit 1f0fc61b53898f90936adcb45e5834fee55fd143 +%global commit b977ac6df5a6b953f3a04d774bddfee38e30bb04 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f %global quazip_commit 6117161af08e366c37499895b00ef62f93adc345 diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index 57fddfee45..3ff44405fa 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -1,6 +1,6 @@ %global real_name prismlauncher -%global commit 1f0fc61b53898f90936adcb45e5834fee55fd143 +%global commit b977ac6df5a6b953f3a04d774bddfee38e30bb04 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f %global quazip_commit 6117161af08e366c37499895b00ef62f93adc345 diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index 5ca2eff09b..46c6927a36 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,6 +1,6 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.4.1 +Version: 1.4.6 Release: 1%{?dist} License: GPLv3 URL: https://github.com/tau-OS/libhelium diff --git a/anda/others/sass/sass.spec b/anda/others/sass/sass.spec index 1d04237e26..b317a53297 100644 --- a/anda/others/sass/sass.spec +++ b/anda/others/sass/sass.spec @@ -4,7 +4,7 @@ %define _build_id_links none Name: sass -Version: 1.58.2 +Version: 1.58.3 Release: 1%{?dist} Summary: The reference implementation of Sass, written in Dart License: MIT diff --git a/anda/others/tau-helium/tau-helium.spec b/anda/others/tau-helium/tau-helium.spec index bad33e87de..fedcdb86cf 100644 --- a/anda/others/tau-helium/tau-helium.spec +++ b/anda/others/tau-helium/tau-helium.spec @@ -1,6 +1,6 @@ Summary: tauOS GTK/GNOME Shell Themes Name: tau-helium -Version: 1.4.52 +Version: 1.4.64 Release: 1%{?dist} License: GPLv3 URL: https://github.com/tau-OS/tau-helium diff --git a/anda/python/protobuf/python3-protobuf.spec b/anda/python/protobuf/python3-protobuf.spec index ac3c96771f..cddf33938c 100644 --- a/anda/python/protobuf/python3-protobuf.spec +++ b/anda/python/protobuf/python3-protobuf.spec @@ -9,7 +9,6 @@ Summary: Protocol Buffers License: BSD-3-Clause URL: https://developers.google.com/protocol-buffers/ Source0: %{pypi_source} -BuildArch: noarch BuildRequires: python3-devel gcc BuildRequires: python3dist(setuptools) @@ -37,12 +36,14 @@ rm -rf %{pypi_name}.egg-info %py3_install %files -n python3-%{pypi_name} -%license LICENSE %doc README.md -%{python3_sitelib}/google -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}-*.pth -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info +%{python3_sitearch}/google +%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info +%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}-nspkg.pth %changelog +* Sun Feb 19 2023 windowsboy111 - 4.22.0-1 +- Bump. + * Tue Jan 10 2023 windowsboy111 - 4.21.12-1 - Initial package. diff --git a/anda/python/ruff/update.rhai b/anda/python/ruff/update.rhai index ba547052d7..1dd9d19c6b 100644 --- a/anda/python/ruff/update.rhai +++ b/anda/python/ruff/update.rhai @@ -1 +1 @@ -rpm.version(gh("charliermarsh/ruff")); +rpm.version(pypi("ruff")); diff --git a/anda/rust/bandwhich/anda.hcl b/anda/rust/bandwhich/anda.hcl new file mode 100644 index 0000000000..5506b9e80a --- /dev/null +++ b/anda/rust/bandwhich/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-bandwhich.spec" + } +} diff --git a/anda/rust/bandwhich/bandwhich-fix-metadata-auto.diff b/anda/rust/bandwhich/bandwhich-fix-metadata-auto.diff new file mode 100644 index 0000000000..0091bf4a7d --- /dev/null +++ b/anda/rust/bandwhich/bandwhich-fix-metadata-auto.diff @@ -0,0 +1,16 @@ +--- 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" + [target."cfg(target_os=\"linux\")".dependencies.procfs] + version = "0.7.4" +-[target."cfg(target_os=\"windows\")".dependencies.netstat2] +-version = "0.9.0" +- +-[target."cfg(target_os=\"windows\")".dependencies.sysinfo] +-version = "0.15.1" +-[target."cfg(target_os=\"windows\")".build-dependencies.http_req] +-version = "0.7.0" +- +-[target."cfg(target_os=\"windows\")".build-dependencies.zip] +-version = "0.5.6" diff --git a/anda/rust/bandwhich/rust-bandwhich.spec b/anda/rust/bandwhich/rust-bandwhich.spec new file mode 100644 index 0000000000..da9c2c1fa2 --- /dev/null +++ b/anda/rust/bandwhich/rust-bandwhich.spec @@ -0,0 +1,53 @@ +# Generated by rust2rpm 23 +%global crate bandwhich + +Name: rust-bandwhich +Version: 0.20.0 +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 + +%global _description %{expand: +Display current network utilization by process, connection and remote +IP/hostname.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE.md +%doc CHANGELOG.md +%doc CODE_OF_CONDUCT.md +%doc CONTRIBUTING.md +%doc README.md +%{_bindir}/bandwhich + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep_online + +%build +%cargo_build + +%install +%cargo_install +rm %{buildroot}/.cargo -rf + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/anda/rust/detox/anda.hcl b/anda/rust/detox/anda.hcl new file mode 100644 index 0000000000..5d1e8e449a --- /dev/null +++ b/anda/rust/detox/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-detox.spec" + } +} diff --git a/anda/rust/detox/rust-detox.spec b/anda/rust/detox/rust-detox.spec new file mode 100644 index 0000000000..9a21c46586 --- /dev/null +++ b/anda/rust/detox/rust-detox.spec @@ -0,0 +1,48 @@ +# Generated by rust2rpm 23 +%bcond_without check + +%global crate detox + +Name: rust-detox +Version: 0.1.2 +Release: %autorelease +Summary: Quickly clean up your development directories on disk + +License: MIT +URL: https://crates.io/crates/detox +Source: %{crates_source} + +BuildRequires: anda-srpm-macros rust-packaging >= 21 + +%global _description %{expand: +Quickly clean up your development directories on disk.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%doc README.md +%{_bindir}/detox + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep_online + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/anda/rust/detox/update.rhai b/anda/rust/detox/update.rhai new file mode 100644 index 0000000000..2f8a12eff3 --- /dev/null +++ b/anda/rust/detox/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("detox")); diff --git a/anda/rust/felix/anda.hcl b/anda/rust/felix/anda.hcl new file mode 100644 index 0000000000..2930c35fee --- /dev/null +++ b/anda/rust/felix/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-felix.spec" + } +} diff --git a/anda/rust/felix/rust-felix.spec b/anda/rust/felix/rust-felix.spec new file mode 100644 index 0000000000..738425d09c --- /dev/null +++ b/anda/rust/felix/rust-felix.spec @@ -0,0 +1,47 @@ +# Generated by rust2rpm 23 +%global crate felix + +Name: rust-felix +Version: 2.2.5 +Release: %autorelease +Summary: Tui file manager with vim-like key mapping + +License: MIT +URL: https://crates.io/crates/felix +Source: %{crates_source} + +BuildRequires: anda-srpm-macros rust-packaging >= 21 + +%global _description %{expand: +Tui file manager with vim-like key mapping.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%doc CHANGELOG.md +%doc README.md +%{_bindir}/fx + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep_online + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/anda/rust/felix/update.rhai b/anda/rust/felix/update.rhai new file mode 100644 index 0000000000..81890a7f1a --- /dev/null +++ b/anda/rust/felix/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("felix")); diff --git a/anda/rust/kondo-ui/anda.hcl b/anda/rust/kondo-ui/anda.hcl new file mode 100644 index 0000000000..a6f4594bcf --- /dev/null +++ b/anda/rust/kondo-ui/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-kondo-ui.spec" + } +} diff --git a/anda/rust/kondo-ui/rust-kondo-ui.spec b/anda/rust/kondo-ui/rust-kondo-ui.spec new file mode 100644 index 0000000000..ec83f0519b --- /dev/null +++ b/anda/rust/kondo-ui/rust-kondo-ui.spec @@ -0,0 +1,47 @@ +# Generated by rust2rpm 23 +%global crate kondo-ui + +Name: rust-kondo-ui +Version: 0.2.0 +Release: %autorelease +Summary: Filesystem cleaning tool that recursively searches directories for known project structures and allows you to clean them of unnecessary files like build artifacts + +License: MIT +URL: https://crates.io/crates/kondo-ui +Source: %{crates_source} + +BuildRequires: pkgconfig(glib-2.0) anda-srpm-macros rust-packaging >= 21 + +%global _description %{expand: +Filesystem cleaning tool that recursively searches directories for known +project structures and allows you to clean them of unnecessary files like build +artifacts.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} + +%description -n %{crate} %{_description} + +%files -n %{crate} +# FIXME: no license files detected +%{_bindir}/kondo-ui + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep_online + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/anda/rust/kondo-ui/update.rhai b/anda/rust/kondo-ui/update.rhai new file mode 100644 index 0000000000..446b038eaf --- /dev/null +++ b/anda/rust/kondo-ui/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("kondo-ui")); diff --git a/anda/rust/kondo/anda.hcl b/anda/rust/kondo/anda.hcl new file mode 100644 index 0000000000..45d18fe3ca --- /dev/null +++ b/anda/rust/kondo/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-kondo.spec" + } +} diff --git a/anda/rust/kondo/rust-kondo.spec b/anda/rust/kondo/rust-kondo.spec new file mode 100644 index 0000000000..e0277ce14d --- /dev/null +++ b/anda/rust/kondo/rust-kondo.spec @@ -0,0 +1,45 @@ +# Generated by rust2rpm 23 +%bcond_without check + +%global crate kondo + +Name: rust-kondo +Version: 0.5 +Release: %autorelease +Summary: Filesystem cleaning tool that recursively searches directories for known project structures and determines how much space you could save by deleting the unnecessary files + +License: MIT +URL: https://crates.io/crates/kondo +Source0: https://github.com/tbillington/kondo/releases/download/v%{version}/kondo-x86_64-unknown-linux-gnu.tar.gz +Source1: https://github.com/tbillington/kondo/blob/v%{version}/LICENSE +ExclusiveArch: x86_64 + +BuildRequires: anda-srpm-macros rust-packaging >= 21 + +%global _description %{expand: +Filesystem cleaning tool that recursively searches directories for known +project structures and determines how much space you could save by deleting the +unnecessary files.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +/usr/bin/kondo + +%prep +tar xf %{SOURCE0} + +%build + +%install +install -Dm755 kondo %{buildroot}/usr/bin/kondo +install -Dm644 %{SOURCE1} %{buildroot}/%{_datadir}/licenses/%{crate}/LICENSE + +%changelog +%autochangelog diff --git a/anda/rust/kondo/update.rhai b/anda/rust/kondo/update.rhai new file mode 100644 index 0000000000..2a8da1568b --- /dev/null +++ b/anda/rust/kondo/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("tbillington/kondo")); diff --git a/anda/rust/maturin/rust-maturin.spec b/anda/rust/maturin/rust-maturin.spec index 53ca27d189..8226f23a51 100644 --- a/anda/rust/maturin/rust-maturin.spec +++ b/anda/rust/maturin/rust-maturin.spec @@ -3,7 +3,7 @@ Name: rust-maturin Version: 0.14.13 -Release: 1%{?dist} +Release: %autorelease Summary: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages License: MIT OR Apache-2.0 @@ -240,12 +240,12 @@ use the "ureq" feature of the "%{crate}" crate. %files -n %{name}+ureq-devel %ghost %{crate_instdir}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep_online %build +cargo add time -F macros %cargo_build %install diff --git a/anda/rust/oxipng/anda.hcl b/anda/rust/oxipng/anda.hcl new file mode 100644 index 0000000000..fc80691367 --- /dev/null +++ b/anda/rust/oxipng/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-oxipng.spec" + } +} diff --git a/anda/rust/oxipng/rust-oxipng.spec b/anda/rust/oxipng/rust-oxipng.spec new file mode 100644 index 0000000000..38d94812d4 --- /dev/null +++ b/anda/rust/oxipng/rust-oxipng.spec @@ -0,0 +1,186 @@ +# Generated by rust2rpm 23 +%bcond_without check + +%global crate oxipng + +Name: rust-oxipng +Version: 8.0.0 +Release: %autorelease +Summary: Lossless PNG compression optimizer + +License: MIT +URL: https://crates.io/crates/oxipng +Source: %{crates_source} + +BuildRequires: anda-srpm-macros rust-packaging >= 21 + +%global _description %{expand: +Lossless PNG compression optimizer.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%doc CHANGELOG.md +%doc README.md +%doc README.template.md +%{_bindir}/oxipng + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/README.template.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+binary-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+binary-devel %{_description} + +This package contains library source intended for building other packages which +use the "binary" feature of the "%{crate}" crate. + +%files -n %{name}+binary-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+clap-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+clap-devel %{_description} + +This package contains library source intended for building other packages which +use the "clap" feature of the "%{crate}" crate. + +%files -n %{name}+clap-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+filetime-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+filetime-devel %{_description} + +This package contains library source intended for building other packages which +use the "filetime" feature of the "%{crate}" crate. + +%files -n %{name}+filetime-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+freestanding-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+freestanding-devel %{_description} + +This package contains library source intended for building other packages which +use the "freestanding" feature of the "%{crate}" crate. + +%files -n %{name}+freestanding-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+parallel-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+parallel-devel %{_description} + +This package contains library source intended for building other packages which +use the "parallel" feature of the "%{crate}" crate. + +%files -n %{name}+parallel-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rayon-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rayon-devel %{_description} + +This package contains library source intended for building other packages which +use the "rayon" feature of the "%{crate}" crate. + +%files -n %{name}+rayon-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+stderrlog-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+stderrlog-devel %{_description} + +This package contains library source intended for building other packages which +use the "stderrlog" feature of the "%{crate}" crate. + +%files -n %{name}+stderrlog-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+wild-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+wild-devel %{_description} + +This package contains library source intended for building other packages which +use the "wild" feature of the "%{crate}" crate. + +%files -n %{name}+wild-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+zopfli-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zopfli-devel %{_description} + +This package contains library source intended for building other packages which +use the "zopfli" feature of the "%{crate}" crate. + +%files -n %{name}+zopfli-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep_online + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/anda/rust/oxipng/update.rhai b/anda/rust/oxipng/update.rhai new file mode 100644 index 0000000000..2042f2f0ae --- /dev/null +++ b/anda/rust/oxipng/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("oxipng")); diff --git a/anda/rust/sccache/update.rhai b/anda/rust/sccache/update.rhai index 1ed151b2ae..eb645c69f5 100644 --- a/anda/rust/sccache/update.rhai +++ b/anda/rust/sccache/update.rhai @@ -1 +1 @@ -rpm.version(crates("mozilla/sccache")); +rpm.version(crates("sccache")); diff --git a/anda/tools/gcm-core/gcm-core.spec b/anda/tools/gcm-core/gcm-core.spec index 2483716c20..e118a55c50 100644 --- a/anda/tools/gcm-core/gcm-core.spec +++ b/anda/tools/gcm-core/gcm-core.spec @@ -30,18 +30,17 @@ Secure, cross-platform Git credential storage with authentication to GitHub, Azu %prep %forgesetup - %build dotnet build -c LinuxRelease - %install -install -D -m 755 out/linux/Packaging.Linux/payload/Release/%{long_name}-core %{buildroot}%{_bindir}/%{long_name}-core +ls out/linux/Packaging.Linux/Release/payload -alh +install -Dm755 out/linux/Packaging.Linux/Release/payload/%{long_name} %{buildroot}%{_bindir}/%{long_name} %files %license LICENSE - +/usr/bin/git-credential-manager %changelog diff --git a/anda/tools/gradle/gradle.spec b/anda/tools/gradle/gradle.spec index e8d7586314..8f9f96ac61 100644 --- a/anda/tools/gradle/gradle.spec +++ b/anda/tools/gradle/gradle.spec @@ -1,5 +1,5 @@ Name: gradle -Version: 8.0.0 +Version: 8.0.1 Release: 1%{?dist} Summary: Powerful build system for the JVM URL: https://gradle.org/