mailspring/mailspring.spec

78 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: mailspring
Version: 1.10.3
Release: 1mamba
Summary: A beautiful, fast and fully open source mail client
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://getmailspring.com/
Source: https://github.com/Foundry376/Mailspring/releases/download/%{version}/mailspring-%{version}-0.1.x86_64.rpm
License: GPL, 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: libsecret-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxcb-devel
BuildRequires: libxkbcommon-devel
## AUTOBUILDREQ-END
%description
A beautiful, fast and fully open source mail client.
%debug_package
%global __provides_exclude_from ^%{_datadir}/mailspring/.*$
%global __requires_exclude ^libffmpeg.so|^libsasl2.so.*
%prep
%setup -q -c %{name}-%{version} -T
rpm2cpio %{SOURCE0} | cpio -id
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_prefix}
cp -a usr/* %{buildroot}%{_prefix}
rm -rf %{buildroot}%{_prefix}/lib/.build-id
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/mailspring
%{_datadir}/appdata/mailspring.appdata.xml
%{_datadir}/applications/Mailspring.desktop
%dir %{_datadir}/mailspring
%{_datadir}/mailspring/*
%{_datadir}/icons/hicolor/*/apps/mailspring.png
%changelog
* Wed Jul 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.3-1mamba
- package created using the webbuild interface