From 357d1478e56fbff9ce468c9f470fe2326198ccb1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:28:03 +0100 Subject: [PATCH] update to 10.17.4 [release 10.17.4-1mamba;Thu Sep 21 2023] --- postman-bin-autoupdate | 1 + postman-bin.spec | 25 ++++++++++++++++--------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/postman-bin-autoupdate b/postman-bin-autoupdate index 815c902..bfe7009 100644 --- a/postman-bin-autoupdate +++ b/postman-bin-autoupdate @@ -2,3 +2,4 @@ VERSION=$1 [ "${VERSION}" ] || exit 1 curl -L "https://dl.pstmn.io/download/version/${VERSION}/linux64" -o postman-${VERSION}-linux-x64.tar.gz +curl -L "https://dl.pstmn.io/download/version/${VERSION}/linux_arm64" -o postman-${VERSION}-linux-arm64.tar.gz diff --git a/postman-bin.spec b/postman-bin.spec index f19349d..738ae3f 100644 --- a/postman-bin.spec +++ b/postman-bin.spec @@ -1,5 +1,5 @@ Name: postman-bin -Version: 9.31.0 +Version: 10.17.4 Release: 1mamba Summary: API platform for building and using APIs (official binary distribution) Group: Graphical Desktop/Applications/Development @@ -8,8 +8,9 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://www.postman.com/ Source: postman-%{version}-linux-x64.tar.gz -Source1: postman-bin-autoupdate -Source2: postman.desktop +Source1: postman-%{version}-linux-arm64.tar.gz +Source2: postman-bin-autoupdate +Source3: postman.desktop License: Custom ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -20,16 +21,13 @@ BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXrandr-devel BuildRequires: libalsa-devel -BuildRequires: libat-spi2-atk-devel BuildRequires: libat-spi2-core-devel -BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libcups-devel BuildRequires: libdbus-devel BuildRequires: libdrm-devel BuildRequires: libexpat-devel BuildRequires: libgcc -BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk3-devel BuildRequires: libmesa-devel @@ -38,7 +36,6 @@ BuildRequires: libnss-devel BuildRequires: libpango-devel BuildRequires: libxcb-devel BuildRequires: libxkbcommon-devel -BuildRequires: libxshmfence-devel ## AUTOBUILDREQ-END %description @@ -51,19 +48,26 @@ Postman is an API platform for building and using APIs. Postman simplifies each %global __provides_exclude_from ^%{_datadir}/postman/.*$ %prep -%setup -q -n Postman +%ifarch x86_64 +%setup -q -c -a0 +%endif +%ifarch aarch64 +%setup -q -c -a1 +%endif %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd Postman + install -dm755 %{buildroot}%{_datadir}/postman cp -r * %{buildroot}%{_datadir}/postman install -dm755 %{buildroot}%{_bindir} ln -s ../share/postman/Postman %{buildroot}%{_bindir}/postman -install -D -m644 %{SOURCE2} \ +install -D -m644 %{SOURCE3} \ %{buildroot}%{_datadir}/applications/postman.desktop install -D -m0644 app/resources/app/assets/icon.png \ @@ -83,5 +87,8 @@ install -D -m0644 app/resources/app/assets/icon.png \ %{_datadir}/icons/hicolor/128x128/apps/postman.png %changelog +* Thu Sep 21 2023 Silvan Calarco 10.17.4-1mamba +- update to 10.17.4 + * Sat Sep 10 2022 Silvan Calarco 9.31.0-1mamba - package created by autospec