commit
f4bd8bae73
@ -0,0 +1 @@
|
|||||||
|
SOURCES/signon-plugin-oauth2-0.24.tar.gz
|
@ -0,0 +1 @@
|
|||||||
|
1fe223eb35c9bee82e948667cde63dfe191d3b2f SOURCES/signon-plugin-oauth2-0.24.tar.gz
|
@ -0,0 +1,29 @@
|
|||||||
|
diff -up signon-plugin-oauth2.git/common-project-config.pri.cxxflags signon-plugin-oauth2.git/common-project-config.pri
|
||||||
|
--- signon-plugin-oauth2.git/common-project-config.pri.cxxflags 2015-04-17 01:59:01.000000000 -0500
|
||||||
|
+++ signon-plugin-oauth2.git/common-project-config.pri 2020-11-08 11:49:40.752319952 -0600
|
||||||
|
@@ -15,10 +15,10 @@ UI_DIR = ui
|
||||||
|
UI_HEADERS_DIR = ui/include
|
||||||
|
UI_SOURCES_DIR = ui/src
|
||||||
|
|
||||||
|
-QMAKE_CXXFLAGS += -fno-exceptions \
|
||||||
|
- -fno-rtti
|
||||||
|
+#QMAKE_CXXFLAGS += -fno-exceptions \
|
||||||
|
+# -fno-rtti
|
||||||
|
# we don't like warnings...
|
||||||
|
-QMAKE_CXXFLAGS += -Werror
|
||||||
|
+#QMAKE_CXXFLAGS += -Werror
|
||||||
|
|
||||||
|
TOP_SRC_DIR = $$PWD
|
||||||
|
|
||||||
|
diff -up signon-plugin-oauth2.git/tests/tests.pro.cxxflags signon-plugin-oauth2.git/tests/tests.pro
|
||||||
|
--- signon-plugin-oauth2.git/tests/tests.pro.cxxflags 2015-04-17 01:59:01.000000000 -0500
|
||||||
|
+++ signon-plugin-oauth2.git/tests/tests.pro 2020-11-08 12:25:41.647654996 -0600
|
||||||
|
@@ -6,6 +6,8 @@ QT += core \
|
||||||
|
testlib
|
||||||
|
QT -= gui
|
||||||
|
|
||||||
|
+QMAKE_CXXFLAGS += -fno-rtti
|
||||||
|
+
|
||||||
|
DEFINES -= SIGNON_TRACE
|
||||||
|
CONFIG += \
|
||||||
|
link_pkgconfig
|
@ -0,0 +1,141 @@
|
|||||||
|
|
||||||
|
%global git_commit 2dd9ba521a0dd4277c4bf6970a7f4e3894fd85ae
|
||||||
|
|
||||||
|
Name: signon-plugin-oauth2
|
||||||
|
Version: 0.24
|
||||||
|
Release: 4%{?dist}
|
||||||
|
Summary: OAuth2 plugin for the Accounts framework
|
||||||
|
|
||||||
|
License: LGPLv2
|
||||||
|
URL: https://gitlab.com/accounts-sso/signon-plugin-oauth2
|
||||||
|
|
||||||
|
Source0: https://gitlab.com/accounts-sso/signon-plugin-oauth2/repository/archive.tar.gz?ref=VERSION_%{version}#/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
# drop -Werror -fno-rtti
|
||||||
|
Patch100: signon-plugin-oauth2-cxxflags.patch
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt5-qtxmlpatterns-devel
|
||||||
|
BuildRequires: signon-devel
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: graphviz
|
||||||
|
BuildRequires: libproxy-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
%description devel
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-VERSION_%{version}-%{git_commit} -p1
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
|
%qmake_qt5 \
|
||||||
|
QMF_INSTALL_ROOT=%{_prefix} \
|
||||||
|
CONFIG+=release \
|
||||||
|
LIBDIR=%{?_libdir} \
|
||||||
|
signon-oauth2.pro
|
||||||
|
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
|
# Delete tests
|
||||||
|
rm -fv %{buildroot}/%{_bindir}/signon-oauth2plugin-tests
|
||||||
|
rm -rfv %{buildroot}/%{_datadir}/signon-oauth2plugin-tests
|
||||||
|
|
||||||
|
# Delete examples
|
||||||
|
rm -fv %{buildroot}/%{_bindir}/oauthclient
|
||||||
|
rm -rvf %{buildroot}/%{_sysconfdir}
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build check
|
||||||
|
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_libdir}/signon/liboauth2plugin.so
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/signon-plugins/*.h
|
||||||
|
%{_libdir}/pkgconfig/signon-oauth2plugin.pc
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jul 26 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.24-4
|
||||||
|
- Rebuilt for MSVSphere 9.2
|
||||||
|
|
||||||
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Nov 08 2020 Rex Dieter <rdieter@fedoraproject.org> - 0.24-1
|
||||||
|
- 0.24 (#1267568)
|
||||||
|
|
||||||
|
* Sun Nov 08 2020 Rex Dieter <rdieter@fedoraproject.org> - 0.22-14
|
||||||
|
- patch out -Werror move -no-rtti for tests/ only (#1891251)
|
||||||
|
- use %%autosetup, %%make_build, %%make_install
|
||||||
|
- add %check
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Feb 18 2020 Than Ngo <than@redhat.com> - 0.22-12
|
||||||
|
- Fixed FTBFS
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 01 2015 Daniel Vrátil <dvratil@redhat.com> - 0.22-1
|
||||||
|
- Update to 0.22
|
||||||
|
- fix upstream URL (moved to gitlab)
|
||||||
|
|
||||||
|
* Wed Apr 29 2015 Daniel Vrátil <dvratil@redhat.com> - 0.21-2
|
||||||
|
- Manually specify libdir for installation
|
||||||
|
|
||||||
|
* Tue Mar 17 2015 Daniel Vrátil <dvratil@redhat.com> - 0.21-1
|
||||||
|
- Initial version
|
Loading…
Reference in new issue