]>
Commit | Line | Data |
---|---|---|
e11f35ca JB |
1 | Summary: Single Sign-on UI |
2 | Summary(pl.UTF-8): Interfejs użytkownika do wspólnego logowania | |
3 | Name: signon-ui | |
4 | Version: 0.16 | |
5 | Release: 1 | |
6 | License: GPL v3 | |
7 | Group: X11/Applications | |
8 | #Source0Download: https://gitlab.com/accounts-sso/signon-ui/tags | |
4c28fa51 JB |
9 | # TODO: in the future use fake GET arg to force sane filename on df |
10 | #Source0: https://gitlab.com/accounts-sso/signon-ui/repository/archive.tar.bz2?ref=%{version}&fake_out=/%{name}-%{version}.tar.bz2 | |
11 | Source0: archive.tar.bz2%3Fref=%{version} | |
e11f35ca JB |
12 | # Source0-md5: f8206f24d0b8050419ba55df37b4e990 |
13 | URL: https://gitlab.com/accounts-sso/signon-ui | |
14 | BuildRequires: Qt5Core-devel >= 5 | |
15 | BuildRequires: Qt5DBus-devel >= 5 | |
16 | BuildRequires: Qt5Gui-devel >= 5 | |
17 | BuildRequires: Qt5Network-devel >= 5 | |
18 | BuildRequires: Qt5Quick-devel >= 5 | |
19 | BuildRequires: Qt5WebKit-devel >= 5 | |
20 | BuildRequires: Qt5Widgets-devel >= 5 | |
21 | BuildRequires: libaccounts-qt5-devel | |
22 | BuildRequires: libnotify-devel | |
23 | BuildRequires: libproxy-devel | |
24 | BuildRequires: libsignon-qt5-devel | |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: qt5-build | |
27 | BuildRequires: qt5-qmake | |
28 | BuildRequires: signon-devel >= 8.58 | |
29 | BuildRequires: xorg-lib-libX11-devel | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | UI for the signond Single Signon service. | |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | Interfejs użytkownika dla usługi signond mechanizmu Single Signon | |
37 | (wspólnego logowania do wielu usług). | |
38 | ||
39 | %prep | |
40 | %setup -q -n %{name}-%{version}-fbe810a5a55c949f6f3e81deb859e2ecd8acc863 | |
41 | ||
42 | %build | |
43 | qmake-qt5 \ | |
44 | QMAKE_CXX="%{__cxx}" \ | |
45 | QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \ | |
46 | QMAKE_LFLAGS_RELEASE="%{rpmldflags}" | |
47 | ||
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
55 | ||
56 | # tests | |
57 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/{signon-ui-unittest,tst_inactivity_timer} | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %attr(755,root,root) %{_bindir}/signon-ui | |
65 | %{_datadir}/dbus-1/services/com.canonical.indicators.webcredentials.service | |
66 | %{_datadir}/dbus-1/services/com.nokia.singlesignonui.service |