]> git.pld-linux.org Git - packages/Qt5Qml-module-accounts.git/blame - Qt5Qml-module-accounts.spec
- new
[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
4Version: 0.4
5Release: 1
6License: LGPL v2.1
7Group: Libraries
8#Source0Download: http://code.google.com/p/accounts-sso/downloads/list
9Source0: http://accounts-sso.googlecode.com/files/accounts-qml-module-%{version}.tar.bz2
10# Source0-md5: ff337a0a2da65ecfeb5b842a120b61cc
11URL: http://code.google.com/p/accounts-sso/
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
42%setup -q -n accounts-qml-module-%{version}
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.075204 seconds and 4 git commands to generate.