postman-bin/postman-bin.spec

88 lines
2.6 KiB
RPMSpec

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