]> git.pld-linux.org Git - packages/Qt5Qml-module-accounts.git/blame - Qt5Qml-module-accounts.spec
- new URLs, updated to 0.6
[packages/Qt5Qml-module-accounts.git] / Qt5Qml-module-accounts.spec
CommitLineData
7e964d17
JB
1Summary: Ubuntu OnlineAccounts QML API
2Summary(pl.UTF-8): API języka QML do Ubuntu OnlineAccounts
3Name: Qt5Qml-module-accounts
0680dbbd 4Version: 0.6
7e964d17
JB
5Release: 1
6License: LGPL v2.1
7Group: Libraries
0680dbbd
JB
8#Source0Download: https://gitlab.com/accounts-sso/accounts-qml-module/tags
9Source0: https://gitlab.com/accounts-sso/accounts-qml-module/repository/archive.tar.gz?ref=VERSION_%{version}
10# Source0-md5: d62f676e837bfa2b8bb5c12507a36ce9
11URL: https://gitlab.com/accounts-sso/accounts-qml-module
7e964d17
JB
12BuildRequires: Qt5Qml-devel >= 5
13BuildRequires: doxygen
14BuildRequires: glib2-devel >= 2.0
15BuildRequires: libaccounts-qt5-devel
16BuildRequires: libsignon-qt5-devel
17BuildRequires: pkgconfig
18BuildRequires: qt5-build >= 5
19BuildRequires: qt5-qmake >= 5
20BuildRequires: qt5-qtdeclarative >= 5
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Ubuntu OnlineAccounts QML API. It is part of the accounts-sso project.
25
26%description -l pl.UTF-8
27API języka QML do Ubuntu OnlineAccounts. Jest to część projektu
28accounts-sso.
29
30%package apidocs
31Summary: QML API documentation for Ubuntu OnlineAccounts
32Summary(pl.UTF-8): Dokumentacja API QML Ubuntu OnlineAccounts
33Group: Documentation
34
35%description apidocs
36QML API documentation for Ubuntu OnlineAccounts.
37
38%description apidocs -l pl.UTF-8
39Dokumentacja API QML Ubuntu OnlineAccounts.
40
41%prep
0680dbbd 42%setup -q -n accounts-qml-module-VERSION_%{version}-45a153eb0f6c65ee7b0c347bce723acd821bbb00
7e964d17
JB
43
44%build
45qmake-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
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 INSTALL_ROOT=$RPM_BUILD_ROOT
57
58install -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
65rm -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
This page took 0.068207 seconds and 4 git commands to generate.