]>
Commit | Line | Data |
---|---|---|
7e964d17 JB |
1 | Summary: Ubuntu OnlineAccounts QML API |
2 | Summary(pl.UTF-8): API języka QML do Ubuntu OnlineAccounts | |
3 | Name: Qt5Qml-module-accounts | |
4 | Version: 0.4 | |
5 | Release: 1 | |
6 | License: LGPL v2.1 | |
7 | Group: Libraries | |
8 | #Source0Download: http://code.google.com/p/accounts-sso/downloads/list | |
9 | Source0: http://accounts-sso.googlecode.com/files/accounts-qml-module-%{version}.tar.bz2 | |
10 | # Source0-md5: ff337a0a2da65ecfeb5b842a120b61cc | |
11 | URL: http://code.google.com/p/accounts-sso/ | |
12 | BuildRequires: Qt5Qml-devel >= 5 | |
13 | BuildRequires: doxygen | |
14 | BuildRequires: glib2-devel >= 2.0 | |
15 | BuildRequires: libaccounts-qt5-devel | |
16 | BuildRequires: libsignon-qt5-devel | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: qt5-build >= 5 | |
19 | BuildRequires: qt5-qmake >= 5 | |
20 | BuildRequires: qt5-qtdeclarative >= 5 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Ubuntu OnlineAccounts QML API. It is part of the accounts-sso project. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | API języka QML do Ubuntu OnlineAccounts. Jest to część projektu | |
28 | accounts-sso. | |
29 | ||
30 | %package apidocs | |
31 | Summary: QML API documentation for Ubuntu OnlineAccounts | |
32 | Summary(pl.UTF-8): Dokumentacja API QML Ubuntu OnlineAccounts | |
33 | Group: Documentation | |
34 | ||
35 | %description apidocs | |
36 | QML API documentation for Ubuntu OnlineAccounts. | |
37 | ||
38 | %description apidocs -l pl.UTF-8 | |
39 | Dokumentacja API QML Ubuntu OnlineAccounts. | |
40 | ||
41 | %prep | |
42 | %setup -q -n accounts-qml-module-%{version} | |
43 | ||
44 | %build | |
45 | qmake-qt5 accounts-qml-module.pro \ | |
46 | QMAKE_CXX="%{__cxx}" \ | |
47 | QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \ | |
48 | QMAKE_LFLAGS_RELEASE="%{rpmldflags}" | |
49 | ||
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
57 | ||
58 | install -d $RPM_BUILD_ROOT%{_docdir}/qt5-doc | |
59 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/accounts-qml-module/doc $RPM_BUILD_ROOT%{_docdir}/qt5-doc/accounts-qml-module | |
60 | ||
61 | # test | |
62 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/tst_plugin | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %dir %{_libdir}/qt5/qml/Ubuntu | |
70 | %dir %{_libdir}/qt5/qml/Ubuntu/OnlineAccounts | |
71 | %attr(755,root,root) %{_libdir}/qt5/qml/Ubuntu/OnlineAccounts/libAccounts.so | |
72 | %{_libdir}/qt5/qml/Ubuntu/OnlineAccounts/plugin.qmltypes | |
73 | %{_libdir}/qt5/qml/Ubuntu/OnlineAccounts/qmldir | |
74 | ||
75 | %files apidocs | |
76 | %defattr(644,root,root,755) | |
77 | %{_docdir}/qt5-doc/accounts-qml-module |