update to 10.17.4 [release 10.17.4-1mamba;Thu Sep 21 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 10:28:03 +01:00
parent 2e86d09db2
commit 357d1478e5
2 changed files with 17 additions and 9 deletions

View File

@ -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

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 10.17.4-1mamba
- update to 10.17.4
* Sat Sep 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 9.31.0-1mamba
- package created by autospec