package created by autospec [release 9.31.0-1mamba;Sat Sep 10 2022]
This commit is contained in:
parent
7ca2602631
commit
2e86d09db2
@ -1,2 +1,4 @@
|
|||||||
# postman-bin
|
# postman-bin
|
||||||
|
|
||||||
|
Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
|
||||||
|
|
||||||
|
4
postman-bin-autoupdate
Normal file
4
postman-bin-autoupdate
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
VERSION=$1
|
||||||
|
[ "${VERSION}" ] || exit 1
|
||||||
|
curl -L "https://dl.pstmn.io/download/version/${VERSION}/linux64" -o postman-${VERSION}-linux-x64.tar.gz
|
87
postman-bin.spec
Normal file
87
postman-bin.spec
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
Name: postman-bin
|
||||||
|
Version: 9.31.0
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: API platform for building and using APIs (official binary distribution)
|
||||||
|
Group: Graphical Desktop/Applications/Development
|
||||||
|
Vendor: openmamba
|
||||||
|
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
|
||||||
|
License: Custom
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXcomposite-devel
|
||||||
|
BuildRequires: libXdamage-devel
|
||||||
|
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
|
||||||
|
BuildRequires: libnspr-devel
|
||||||
|
BuildRequires: libnss-devel
|
||||||
|
BuildRequires: libpango-devel
|
||||||
|
BuildRequires: libxcb-devel
|
||||||
|
BuildRequires: libxkbcommon-devel
|
||||||
|
BuildRequires: libxshmfence-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%define _build_id_links none
|
||||||
|
%global __requires_exclude ^libffmpeg.so.*$
|
||||||
|
%global __provides_exclude_from ^%{_datadir}/postman/.*$
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Postman
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
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} \
|
||||||
|
%{buildroot}%{_datadir}/applications/postman.desktop
|
||||||
|
|
||||||
|
install -D -m0644 app/resources/app/assets/icon.png \
|
||||||
|
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/postman.png
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/postman
|
||||||
|
%dir %{_datadir}/postman
|
||||||
|
%{_datadir}/postman/Postman
|
||||||
|
%dir %{_datadir}/postman/app
|
||||||
|
%{_datadir}/postman/app/*
|
||||||
|
%{_datadir}/applications/postman.desktop
|
||||||
|
%{_datadir}/icons/hicolor/128x128/apps/postman.png
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Sep 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 9.31.0-1mamba
|
||||||
|
- package created by autospec
|
12
postman.desktop
Normal file
12
postman.desktop
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Postman
|
||||||
|
Comment=Build, test, and document your APIs faster
|
||||||
|
Path=/usr/share/postman
|
||||||
|
Exec=postman %U
|
||||||
|
Icon=postman
|
||||||
|
Type=Application
|
||||||
|
StartupNotify=true
|
||||||
|
Categories=Development;Utility;
|
||||||
|
StartupWMClass=postman
|
||||||
|
MimeType=x-scheme-handler/postman
|
||||||
|
|
Loading…
Reference in New Issue
Block a user