]> git.pld-linux.org Git - packages/Qt5Qml-module-accounts.git/blame - Qt5Qml-module-accounts.spec
noarch apidocs
[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
e12d6b7f 5Release: 2
7e964d17
JB
6License: LGPL v2.1
7Group: Libraries
0680dbbd 8#Source0Download: https://gitlab.com/accounts-sso/accounts-qml-module/tags
2e75347e
JB
9# TODO: in the future use fake GET arg to force sane filename on df
10#Source0: https://gitlab.com/accounts-sso/accounts-qml-module/repository/archive.tar.bz2?ref=VERSION_%{version}&fake_out=/%{name}-%{version}.tar.bz2
11Source0: archive.tar.gz%3Fref=VERSION_%{version}
0680dbbd
JB
12# Source0-md5: d62f676e837bfa2b8bb5c12507a36ce9
13URL: https://gitlab.com/accounts-sso/accounts-qml-module
7e964d17
JB
14BuildRequires: Qt5Qml-devel >= 5
15BuildRequires: doxygen
16BuildRequires: glib2-devel >= 2.0
17BuildRequires: libaccounts-qt5-devel
18BuildRequires: libsignon-qt5-devel
19BuildRequires: pkgconfig
20BuildRequires: qt5-build >= 5
21BuildRequires: qt5-qmake >= 5
22BuildRequires: qt5-qtdeclarative >= 5
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Ubuntu OnlineAccounts QML API. It is part of the accounts-sso project.
27
28%description -l pl.UTF-8
29API języka QML do Ubuntu OnlineAccounts. Jest to część projektu
30accounts-sso.
31
32%package apidocs
33Summary: QML API documentation for Ubuntu OnlineAccounts
34Summary(pl.UTF-8): Dokumentacja API QML Ubuntu OnlineAccounts
35Group: Documentation
e12d6b7f
ER
36%if "%{_rpmversion}" >= "5"
37BuildArch: noarch
38%endif
7e964d17
JB
39
40%description apidocs
41QML API documentation for Ubuntu OnlineAccounts.
42
43%description apidocs -l pl.UTF-8
44Dokumentacja API QML Ubuntu OnlineAccounts.
45
46%prep
0680dbbd 47%setup -q -n accounts-qml-module-VERSION_%{version}-45a153eb0f6c65ee7b0c347bce723acd821bbb00
7e964d17
JB
48
49%build
50qmake-qt5 accounts-qml-module.pro \
51 QMAKE_CXX="%{__cxx}" \
52 QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \
53 QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
54
55%{__make}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60%{__make} install \
61 INSTALL_ROOT=$RPM_BUILD_ROOT
62
63install -d $RPM_BUILD_ROOT%{_docdir}/qt5-doc
64%{__mv} $RPM_BUILD_ROOT%{_datadir}/accounts-qml-module/doc $RPM_BUILD_ROOT%{_docdir}/qt5-doc/accounts-qml-module
65
66# test
67%{__rm} $RPM_BUILD_ROOT%{_bindir}/tst_plugin
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
74%dir %{_libdir}/qt5/qml/Ubuntu
75%dir %{_libdir}/qt5/qml/Ubuntu/OnlineAccounts
76%attr(755,root,root) %{_libdir}/qt5/qml/Ubuntu/OnlineAccounts/libAccounts.so
77%{_libdir}/qt5/qml/Ubuntu/OnlineAccounts/plugin.qmltypes
78%{_libdir}/qt5/qml/Ubuntu/OnlineAccounts/qmldir
79
80%files apidocs
81%defattr(644,root,root,755)
82%{_docdir}/qt5-doc/accounts-qml-module
This page took 0.103852 seconds and 4 git commands to generate.