signon-plugin-oauth2 new package

This commit is contained in:
Rmys
2022-11-07 15:35:39 +03:00
parent 90d3092a37
commit 1a92f05f15
7 changed files with 222 additions and 25 deletions
@@ -0,0 +1,22 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import qt5
def setup():
shelltools.system("sed -i '/-Werror/d' common-project-config.pri")
pisitools.dosed("common-project-config.pri", "lib64", "lib")
qt5.configure()
def build():
qt5.make("PREFIX=/usr LIBDIR=/usr/lib")
def install():
qt5.install()
pisitools.dodoc("COPYING", "README*")
@@ -0,0 +1,67 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>signon-plugin-oauth2</Name>
<Homepage>https://gitlab.com/accounts-sso/signon-plugin-oauth2</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>LGPLv3</License>
<IsA>library</IsA>
<Summary>OAuth 2 plugin for signon</Summary>
<Description>Oturum açmak için OAuth 2 eklentisi</Description>
<Archive sha1sum="0a9e9cab8d1f6de33a97192ebe548d36f212dab7" type="tarbz2">https://gitlab.com/accounts-sso/signon-plugin-oauth2/-/archive/VERSION_0.25/signon-plugin-oauth2-VERSION_0.25.tar.bz2</Archive>
<BuildDependencies>
<Dependency>signon-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-xmlpatterns-devel</Dependency>
</BuildDependencies>
-->
<!--
<Patches>
<Patch>signon-plugin-oauth2.patch</Patch>
<Patch level="1">signon-plugin-oauth2.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>signon-plugin-oauth2</Name>
<RuntimeDependencies>
<Dependency>signon</Dependency>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>signon-plugin-oauth2-devel</Name>
<Summary>Development files for signon-plugin-oauth2</Summary>
<RuntimeDependencies>
<Dependency>signon-devel</Dependency>
<Dependency release="current">signon-plugin-oauth2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-11-07</Date>
<Version>0.25</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>signon-plugin-oauth2</Name>
<Summary xml:lang="tr">OAuth 2 plugin for signon</Summary>
<Description xml:lang="tr">Oturum açmak için OAuth 2 eklentisi</Description>
</Source>
</PISI>