Merge pull request #656 from alihanozturk/master

libaccounts-glib, libaccounts-qt5
This commit is contained in:
Ertuğrul Erata
2015-10-21 07:29:08 +03:00
11 changed files with 870 additions and 0 deletions
@@ -0,0 +1,31 @@
#!/usr/bin/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("PYTHON=/usr/bin/python2.7 HAVE_GCOV_FALSE='#' ./configure \
--disable-static \
--disable-gtk-doc")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.domove("/usr/local/include/libaccounts-glib/*", "/usr/include/libaccounts-glib/")
pisitools.domove("/usr/local/lib/*", "/usr/lib/")
pisitools.domove("/usr/local/bin/*", "/usr/bin/")
pisitools.domove("/usr/local/share/*", "/usr/share/")
pisitools.removeDir("/usr/local")
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING")
@@ -0,0 +1,123 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libaccounts-glib</Name>
<Homepage>https://code.google.com/p/accounts-sso</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<Summary>Accounts and SSO (Single Sign-On) framework</Summary>
<Description>Accounts and SSO (Single Sign-On) framework for Linux and POSIX based platforms.</Description>
<Archive sha1sum="62b4a0b51afcb4fea88a92abae9dadb8fe72b34f" type="targz">http://heanet.dl.sourceforge.net/project/kaosx/sources/libaccounts-glib/libaccounts-glib-1.18.tar.gz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>gtk-doc</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>python-pygobject-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libaccounts-glib</Name>
<IsA>library</IsA>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>libxml2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="conf">/usr/share/backup-framework/applications/accounts.conf</Path>
<Path fileType="data">/usr/share/xml</Path>
<Path fileType="data">/usr/share/libaccounts-glib/testdata</Path>
<Path fileType="data">/usr/share/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml</Path>
<Path fileType="man">/usr/share/man/man1</Path>
</Files>
</Package>
<Package>
<Name>libaccounts-glib-devel</Name>
<Summary>Development files for libaccounts-glib</Summary>
<RuntimeDependencies>
<Dependency release="current">libaccounts-glib</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/gir-1.0/Accounts-1.0.gir</Path>
<Path fileType="data">/usr/share/vala</Path>
</Files>
</Package>
<Package>
<Name>libaccounts-glib-docs</Name>
<IsA>data:doc</IsA>
<Summary>Help files and API documents for libaccounts-glib</Summary>
<RuntimeDependencies>
<Dependency release="current">libaccounts-glib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/gtk-doc</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2015-10-20</Date>
<Version>1.18</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2013-11-11</Date>
<Version>1.15</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2013-07-29</Date>
<Version>1.11</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-07-28</Date>
<Version>1.8</Version>
<Comment>Dep Fixed</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-28</Date>
<Version>1.8</Version>
<Comment>Move pc files to devel pack, rebuild</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-05-06</Date>
<Version>1.8</Version>
<Comment>Sandbox Fixed.</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-03-08</Date>
<Version>1.8</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@gmail</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,18 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libaccounts-glib</Name>
<Summary xml:lang="en">Accounts and SSO (Single Sign-On) framework</Summary>
<Description xml:lang="en">Accounts and SSO (Single Sign-On) framework for Linux and POSIX based platforms.</Description>
</Source>
<Package>
<Name>libaccounts-glib-devel</Name>
<Summary xml:lang="en">Development files for libaccounts-glib</Summary>
</Package>
<Package>
<Name>libaccounts-glib-docs</Name>
<Summary xml:lang="en">Help files and API documents for libaccounts-glib</Summary>
</Package>
</PISI>
@@ -0,0 +1,23 @@
#!/usr/bin/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("sed -i 's|SUBDIRS += Accounts tests|SUBDIRS += Accounts|' accounts-qt.pro")
shelltools.system("qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib")
def build():
autotools.make()
def install():
autotools.rawInstall("INSTALL_ROOT=%s" % get.installDIR())
pisitools.dodoc("NOTES", "INSTALL", "COPYING", "README.md", "TODO")
@@ -0,0 +1,89 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libaccounts-qt5</Name>
<Homepage>https://gitlab.com/accounts-sso/libaccounts-qt</Homepage>
<Packager>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<IsA>library</IsA>
<Summary>Qt5-based client library for accessing the online accounts database</Summary>
<Description>Qt5-based client library for accessing the online accounts database</Description>
<Archive sha1sum="21a08c8e256d1d128b07b9b84d3ad4b16eb7ca3d" type="tarbz2">https://gitlab.com/accounts-sso/libaccounts-qt/repository/archive.tar.bz2</Archive>
<BuildDependencies>
<Dependency>doxygen</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libaccounts-glib-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libaccounts-qt5</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>libaccounts-glib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libaccounts-qt5.so.*</Path>
<Path fileType="doc">/usr/share/doc/libaccounts-qt5</Path>
</Files>
</Package>
<Package>
<Name>libaccounts-qt5-devel</Name>
<Summary>Development files for libaccounts-qt5</Summary>
<RuntimeDependencies>
<Dependency release="current">libaccounts-qt5</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="library">/usr/lib/cmake</Path>
<Path fileType="library">/usr/lib/libaccounts-qt5.so</Path>
</Files>
</Package>
<Package>
<Name>libaccounts-qt5-docs</Name>
<IsA>data:doc</IsA>
<Summary>Help files and API documents for libaccounts-qt5</Summary>
<RuntimeDependencies>
<Dependency release="current">libaccounts-qt5</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libaccounts-qt5-tools</Name>
<IsA>data:doc</IsA>
<Summary>This package contains the tools for the libaccounts-qt5 library</Summary>
<RuntimeDependencies>
<Dependency release="current">libaccounts-qt5</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/bin</Path>
<Path fileType="data">/usr/share/libaccounts-qt-tests</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-10-20</Date>
<Version>1.14</Version>
<Comment>First release</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
</History>
</PISI>