[packages/qt5-qtnetworkauth] - 5.12.3
witekfl
witekfl at pld-linux.org
Mon Apr 22 06:39:26 CEST 2019
commit 0958c88d7253fea7bf31b622032c635df33b987e
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Apr 22 06:38:55 2019 +0200
- 5.12.3
qt5-qtnetworkauth.spec | 209 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 209 insertions(+)
---
diff --git a/qt5-qtnetworkauth.spec b/qt5-qtnetworkauth.spec
new file mode 100644
index 0000000..65e590d
--- /dev/null
+++ b/qt5-qtnetworkauth.spec
@@ -0,0 +1,209 @@
+# Conditional build:
+%bcond_with bootstrap # disable features to able to build without installed qt5
+%bcond_without doc # Documentation
+
+%if %{with bootstrap}
+%undefine with_doc
+%endif
+
+%define orgname qtnetworkauth
+%define qtbase_ver %{version}
+%define qtdeclarative_ver %{version}
+%define qttools_ver 5.8
+Summary: The Qt5 Network Auth library
+Summary(pl.UTF-8): Biblioteka Qt5 Network Auth
+Name: qt5-%{orgname}
+Version: 5.12.3
+Release: 1
+License: LGPL v2.1 with Digia Qt LGPL Exception v1.1 or GPL v3.0
+Group: X11/Libraries
+Source0: http://download.qt.io/official_releases/qt/5.12/%{version}/submodules/%{orgname}-everywhere-src-%{version}.tar.xz
+# Source0-md5: bc8f9a2e8e30476ba613c020f811c95c
+URL: http://www.qt.io/
+BuildRequires: Qt5Core-devel >= %{qtbase_ver}
+BuildRequires: Qt5Qml-devel >= %{qtdeclarative_ver}
+BuildRequires: Qt5Quick-devel >= %{qtdeclarative_ver}
+%if %{with doc}
+BuildRequires: qt5-assistant >= %{qttools_ver}
+%endif
+BuildRequires: qt5-build >= %{qtbase_ver}
+BuildRequires: qt5-qmake >= %{qtbase_ver}
+BuildRequires: rpmbuild(macros) >= 1.654
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define specflags -fno-strict-aliasing
+%define qt5dir %{_libdir}/qt5
+
+%description
+Qt is a cross-platform application and UI framework. Using Qt, you can
+write web-enabled applications once and deploy them across desktop,
+mobile and embedded systems without rewriting the source code.
+
+This package contains Qt5 Network Auth library.
+
+%description -l pl.UTF-8
+Qt to wieloplatformowy szkielet aplikacji i interfejsów użytkownika.
+Przy użyciu Qt można pisać aplikacje powiązane z WWW i wdrażać je w
+systemach biurkowych, przenośnych i wbudowanych bez przepisywania kodu
+źródłowego.
+
+Ten pakiet zawiera bibliotekę Qt5 Network Auth.
+
+%package -n Qt5NetworkAuth
+Summary: The Qt5 Network Auth library
+Summary(pl.UTF-8): Biblioteka Qt5 Network Auth
+Group: Libraries
+Requires: Qt5Core >= %{qtbase_ver}
+Requires: Qt5Qml >= %{qtdeclarative_ver}
+Obsoletes: qt5-qtnetworkauth
+
+%description -n Qt5NetworkAuth
+Qt5 Network Auth library provides classes for network authentication.
+
+%description -n Qt5NetworkAuth -l pl.UTF-8
+Biblioteka Qt5 Network Auth dostarcza klasy do autoryzacji w sieci.
+
+%package -n Qt5NetworkAuth-devel
+Summary: Qt5 Network Auth library - development files
+Summary(pl.UTF-8): Biblioteka Qt5 Network Auth - pliki programistyczne
+Group: Development/Libraries
+Requires: Qt5Core-devel >= %{qtbase_ver}
+Requires: Qt5NetworkAuth = %{version}-%{release}
+Obsoletes: qt5-qtnetworkauth-devel
+
+%description -n Qt5NetworkAuth-devel
+Qt5 Network Auth library - development files.
+
+%description -n Qt5NetworkAuth-devel -l pl.UTF-8
+Biblioteka Qt5 NetworkAuth - pliki programistyczne.
+
+%package doc
+Summary: Qt5 Network Auth documentation in HTML format
+Summary(pl.UTF-8): Dokumentacja do biblioteki Qt5 Network Auth w formacie HTML
+Group: Documentation
+Requires: qt5-doc-common >= %{qtbase_ver}
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description doc
+Qt5 Network Auth documentation in HTML format.
+
+%description doc -l pl.UTF-8
+Dokumentacja do biblioteki Qt5 Netwok Auth w formacie HTML.
+
+%package doc-qch
+Summary: Qt5 Network Auth documentation in QCH format
+Summary(pl.UTF-8): Dokumentacja do biblioteki Qt5 Network Auth w formacie QCH
+Group: Documentation
+Requires: qt5-doc-common >= %{qtbase_ver}
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description doc-qch
+Qt5 Network Auth documentation in QCH format.
+
+%description doc-qch -l pl.UTF-8
+Dokumentacja do biblioteki Qt5 Network Auth w formacie QCH.
+
+%package examples
+Summary: Qt5 Network Auth examples
+Summary(pl.UTF-8): Przykłady do biblioteki Qt5 Network Auth
+Group: X11/Development/Libraries
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description examples
+Qt5 Network Auth examples.
+
+%description examples -l pl.UTF-8
+Przykłady do biblioteki Qt5 Network Auth.
+
+%prep
+%setup -q -n %{orgname}-everywhere-src-%{version}
+
+%build
+qmake-qt5
+%{__make}
+%{?with_doc:%{__make} docs}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ INSTALL_ROOT=$RPM_BUILD_ROOT
+
+%if %{with doc}
+%{__make} install_docs \
+ INSTALL_ROOT=$RPM_BUILD_ROOT
+%endif
+
+# useless symlinks
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.so.5.??
+# actually drop *.la, follow policy of not packaging them when *.pc exist
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.la
+
+# Prepare some files list
+ifecho() {
+ r="$RPM_BUILD_ROOT$2"
+ if [ -d "$r" ]; then
+ echo "%%dir $2" >> $1.files
+ elif [ -x "$r" ] ; then
+ echo "%%attr(755,root,root) $2" >> $1.files
+ elif [ -f "$r" ]; then
+ echo "$2" >> $1.files
+ else
+ echo "Error generation $1 files list!"
+ echo "$r: no such file or directory!"
+ return 1
+ fi
+}
+ifecho_tree() {
+ ifecho $1 $2
+ for f in `find $RPM_BUILD_ROOT$2 -printf "%%P "`; do
+ ifecho $1 $2/$f
+ done
+}
+
+echo "%defattr(644,root,root,755)" > examples.files
+ifecho_tree examples %{_examplesdir}/qt5/oauth
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -n Qt5NetworkAuth -p /sbin/ldconfig
+%postun -n Qt5NetworkAuth -p /sbin/ldconfig
+
+%files -n Qt5NetworkAuth
+%defattr(644,root,root,755)
+%doc LICENSE.GPL3-EXCEPT dist/changes-*
+%attr(755,root,root) %ghost %{_libdir}/libQt5NetworkAuth.so.5
+%attr(755,root,root) %{_libdir}/libQt5NetworkAuth.so.5.*.*
+
+%files -n Qt5NetworkAuth-devel
+%defattr(644,root,root,755)
+%{_includedir}/qt5/QtNetworkAuth
+%{_libdir}/cmake/Qt5NetworkAuth
+%{_libdir}/libQt5NetworkAuth.prl
+%attr(755,root,root) %{_libdir}/libQt5NetworkAuth.so
+%{_pkgconfigdir}/Qt5NetworkAuth.pc
+%{_libdir}/qt5/mkspecs/modules/qt_lib_networkauth.pri
+%{_libdir}/qt5/mkspecs/modules/qt_lib_networkauth_private.pri
+
+%if %{with doc}
+%files doc
+%defattr(644,root,root,755)
+%{_docdir}/qt5-doc/qtnetworkauth
+
+%files doc-qch
+%defattr(644,root,root,755)
+%{_docdir}/qt5-doc/qtnetworkauth.qch
+%endif
+
+%files examples -f examples.files
+%defattr(644,root,root,755)
+# XXX: dir shared with qt5-qtbase-examples
+%dir %{_examplesdir}/qt5
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtnetworkauth.git/commitdiff/0958c88d7253fea7bf31b622032c635df33b987e
More information about the pld-cvs-commit
mailing list