signon-ui/signon-ui.spec

60 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

%define gitcommit %(echo %version | cut -d+ -f2 | cut -d. -f2)
Name: signon-ui
Version: 0.17+20231016git.eef943f0
Release: 1mamba
Summary: Signond Qt UI
Group: Graphical Desktop/Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitlab.com/accounts-sso/signon-ui
Source: https://gitlab.com/accounts-sso/signon-ui.git/master@%{gitcommit}/signon-ui-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaccounts-qt6-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libnotify-devel
BuildRequires: libproxy-devel
BuildRequires: libsignon-qt6-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtdeclarative-devel
BuildRequires: qt6-qtpositioning-devel
BuildRequires: qt6-qtwebchannel-devel
BuildRequires: qt6-qtwebengine-devel
## AUTOBUILDREQ-END
%description
UI component responsible for handling the user interactions which can happen during the login process of an online account.
%debug_package
%prep
%setup -q
%build
%{_qt6_qmake}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/signon-ui
%{_datadir}/applications/signon-ui.desktop
%{_datadir}/dbus-1/services/com.*.service
%doc COPYING
%changelog
* Thu Jun 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17^20231016git.eef943f0-1mamba
- package created using the webbuild interface