This commit is contained in:
Ertuğrul Erata
2017-12-12 23:52:30 +03:00
parent 593c965cf3
commit 796c6cf200
3 changed files with 138 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2017 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/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.makedirs("build")
shelltools.cd("build")
shelltools.system("meson .. --prefix=/usr --sysconfdir=/etc --localstatedir=/var -Dsystemd=false -Dconsolekit=true -Dplugin_uefi_labels=false -Dplugin_thunderbolt=false -Dgtkdoc=false -Dman=false")
def build():
shelltools.cd("build")
shelltools.system("ninja")
def install():
shelltools.cd("build")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
#pisitools.dodoc("AUTHORS", "ChangeLog", "README*", "NEWS")
+13
View File
@@ -0,0 +1,13 @@
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Fwupd
Name[tr]=Fwupd
GenericName=Fwupd
GenericName[tr]=Fwupd
Icon=fwupd
Exec=fwupd
Terminal=false
StartupNotify=false
Categories=Application;Game;ArcadeGame;
+94
View File
@@ -0,0 +1,94 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>fwupd</Name>
<Homepage>https://fwupd.org</Homepage>
<Packager>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Packager>
<License>GPLv2</License>
<Summary>Aims to make updating firmware on Linux automatic, safe and reliable</Summary>
<Description>Aims to make updating firmware on Linux automatic, safe and reliable</Description>
<Archive sha1sum="15fbcf460a79efb2d0015e017d9d76a28db50d0f" type="targz">https://github.com/hughsie/fwupd/archive/1.0.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>appstream-glib-devel</Dependency>
<Dependency>libgudev-devel</Dependency>
<Dependency>libusb-devel</Dependency>
<Dependency>libgusb-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<Dependency>gpgme-devel</Dependency>
<Dependency>fwupdate-devel</Dependency>
<Dependency>efivar-devel</Dependency>
<Dependency>colord-devel</Dependency>
<Dependency>python3-pillow</Dependency>
<Dependency>python3-pygobject3-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>ConsoleKit-devel</Dependency>
<Dependency>libsmbios-devel</Dependency>
<Dependency>meson</Dependency>
</BuildDependencies>
<Patches>
<!--
<Patch level="1"></Patch>
-->
</Patches>
</Source>
<Package>
<Name>fwupd</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>colord</Dependency>
<Dependency>efivar</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>libgusb</Dependency>
<Dependency>libsoup</Dependency>
<Dependency>fwupdate</Dependency>
<Dependency>libgudev</Dependency>
<Dependency>elfutils</Dependency>
<Dependency>libsmbios</Dependency>
<Dependency>libarchive</Dependency>
<Dependency>libutil-linux</Dependency>
<Dependency>appstream-glib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/lib</Path>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/polkit-1</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
<Path fileType="data">/usr/share/fwupd</Path>
<Path fileType="data">/usr/share/metainfo</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="data">/usr/share/installed-tests</Path>
<Path fileType="data">/var</Path>
</Files>
</Package>
<Package>
<Name>fwupd-devel</Name>
<RuntimeDependencies>
<Dependency release="current">fwupd</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2017-12-12</Date>
<Version>1.0.2</Version>
<Comment>First release</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>