101 lines
2.9 KiB
RPMSpec
101 lines
2.9 KiB
RPMSpec
Name: postman-bin
|
|
Version: 10.23.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-%{version}-linux-arm64.tar.gz
|
|
Source2: postman-bin-autoupdate
|
|
Source3: 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-core-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libcups-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libdrm-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgtk3-devel
|
|
BuildRequires: libmesa-devel
|
|
BuildRequires: libnspr-devel
|
|
BuildRequires: libnss-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libsecret-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libwayland-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libxkbcommon-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
|
|
%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 %{SOURCE3} \
|
|
%{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 Feb 17 2024 Automatic Build System <autodist@openmamba.org> 10.23.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* 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
|