libnfs-5.0.3
This commit is contained in:
@@ -4,29 +4,28 @@
|
|||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import cmaketools, mesontools, pisitools
|
||||||
from pisi.actionsapi import cmaketools
|
|
||||||
from pisi.actionsapi import pisitools
|
|
||||||
from pisi.actionsapi import get
|
|
||||||
|
|
||||||
j = "-DCMAKE_BUILD_TYPE=release \
|
y = ''.join([
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
' -DCMAKE_BUILD_TYPE=Release',
|
||||||
-DENABLE_DOCUMENTATION=ON \
|
' -DCMAKE_INSTALL_PREFIX=/usr',
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
' -DBUILD_SHARED_LIBS=ON',
|
||||||
-DENABLE_UTILS=ON -L \
|
' -DENABLE_{UTILS,DOCUMENTATION}=ON',
|
||||||
"
|
' -Bbuild -G Ninja -L '
|
||||||
|
])
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.system("./bootstrap")
|
cmaketools.configure(y)
|
||||||
cmaketools.configure(j)
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
cmaketools.make()
|
mesontools.build()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
mesontools.install()
|
||||||
for t in ["utils/nfs-cat", "utils/nfs-cp", "utils/nfs-ls"]:
|
|
||||||
pisitools.dobin(t)
|
|
||||||
|
|
||||||
pisitools.dodoc("COPYING", "README")
|
from pisi.actionsapi import shelltools, get
|
||||||
|
for b in ["nfs-cat", "nfs-cp", "nfs-ls", "nfs-stat"]:
|
||||||
|
shelltools.chmod("%s/usr/bin/%s" % (get.installDIR(), b), mode = 0755)
|
||||||
|
|
||||||
|
for l in ["BSD", "GPL-3", "LGPL-2.1"]:
|
||||||
|
pisitools.dodoc("COPYING", "LICENCE-%s.txt" % l)
|
||||||
|
|||||||
@@ -1,73 +1,77 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>libnfs</Name>
|
<Name>libnfs</Name>
|
||||||
<Homepage>https://github.com/sahlberg/libnfs</Homepage>
|
<Homepage>https://github.com/sahlberg/libnfs</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>Mogyorósi Petra</Name>
|
<Name>Mogyorósi Petra</Name>
|
||||||
<Email>squeakymouse@protonmail.com</Email>
|
<Email>squeakymouse@protonmail.com</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>LGPLv2.1</License>
|
<License>LGPLv2.1</License>
|
||||||
<License>GPLv3</License>
|
<License>GPLv3</License>
|
||||||
<License>BSDv2</License>
|
<License>BSDv2</License>
|
||||||
<PartOf>network.connection</PartOf>
|
<PartOf>network.connection</PartOf>
|
||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>NFS client library</Summary>
|
<Summary>NFS client library.</Summary>
|
||||||
<Description>LIBNFS is a client library for accessing NFS shares over a network.</Description>
|
<Description>LIBNFS is a client library for accessing NFS shares over a network.</Description>
|
||||||
<Archive sha1sum="004de9e12cf726d7d5fe09b7aa47d14c3703e70f" type="targz">
|
<Archive sha1sum="d73d944bad84a153930d1042ba3d0447aace4b2f" type="targz">https://github.com/sahlberg/libnfs/archive/refs/tags/libnfs-5.0.3.tar.gz</Archive>
|
||||||
https://github.com/sahlberg/libnfs/archive/libnfs-4.0.0.tar.gz
|
<BuildDependencies>
|
||||||
</Archive>
|
<Dependency>cmake</Dependency>
|
||||||
<BuildDependencies>
|
<Dependency>ninja</Dependency>
|
||||||
<Dependency>cmake</Dependency>
|
<Dependency>libxslt</Dependency>
|
||||||
<Dependency>libxslt</Dependency>
|
<Dependency>docbook-xsl</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>libnfs</Name>
|
<Name>libnfs</Name>
|
||||||
<Summary>NFS client library</Summary>
|
<Summary>NFS client library</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>glibc</Dependency>
|
<Dependency>glibc</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="library">/usr/lib/libnfs.so</Path>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Path fileType="library">/usr/lib/libnfs.so.11.0.0</Path>
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
<Path fileType="library">/usr/lib/libnfs.so.2.0.0</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
<Path fileType="man">/usr/share/man/*</Path>
|
</Files>
|
||||||
<Path fileType="doc">/usr/share/doc/*</Path>
|
</Package>
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>libnfs-devel</Name>
|
<Name>libnfs-devel</Name>
|
||||||
<Summary>Development files for libnfs</Summary>
|
<Summary>Development files for libnfs</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>libnfs</Dependency>
|
<Dependency>libnfs</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="header">/usr/include/*</Path>
|
<Path fileType="header">/usr/include</Path>
|
||||||
<Path fileType="config">/usr/lib/pkgconfig/*</Path>
|
<Path fileType="data">/usr/lib/cmake</Path>
|
||||||
<Path fileType="config">/usr/lib/cmake/*</Path>
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
<Update release="2">
|
<Update release="3">
|
||||||
<Date>2020-12-13</Date>
|
<Date>2025-02-04</Date>
|
||||||
<Version>4.0.0</Version>
|
<Version>5.0.3</Version>
|
||||||
<Comment>Ver. bump</Comment>
|
<Comment>Version bump.</Comment>
|
||||||
<Name>fury</Name>
|
<Name>Mogyorósi Petra</Name>
|
||||||
<Email>uglyside@yandex.ru</Email>
|
<Email>squeakymouse@protonmail.com</Email>
|
||||||
</Update>
|
</Update>
|
||||||
<Update release="1">
|
<Update release="2">
|
||||||
<Date>2018-07-03</Date>
|
<Date>2020-12-13</Date>
|
||||||
<Version>3.0.0</Version>
|
<Version>4.0.0</Version>
|
||||||
<Comment>Latest revision from GitHub</Comment>
|
<Comment>Ver. bump</Comment>
|
||||||
<Name>Mogyorósi Petra</Name>
|
<Name>fury</Name>
|
||||||
<Email>squeakymouse@protonmail.com</Email>
|
<Email>uglyside@yandex.ru</Email>
|
||||||
</Update>
|
</Update>
|
||||||
</History>
|
<Update release="1">
|
||||||
|
<Date>2018-07-03</Date>
|
||||||
|
<Version>3.0.0</Version>
|
||||||
|
<Comment>Latest revision from GitHub</Comment>
|
||||||
|
<Name>Mogyorósi Petra</Name>
|
||||||
|
<Email>squeakymouse@protonmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
</PISI>
|
</PISI>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user