libnfs-5.0.3

This commit is contained in:
uglyside
2025-02-04 22:06:28 +03:00
parent 13620a380f
commit 2ff069cccf
2 changed files with 87 additions and 84 deletions
+16 -17
View File
@@ -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)
+18 -14
View File
@@ -1,5 +1,5 @@
<?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>
@@ -13,14 +13,14 @@
<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
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>libxslt</Dependency> <Dependency>libxslt</Dependency>
<Dependency>docbook-xsl</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -32,11 +32,9 @@
</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>
<Path fileType="doc">/usr/share/doc/*</Path>
</Files> </Files>
</Package> </Package>
@@ -47,13 +45,20 @@
<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="3">
<Date>2025-02-04</Date>
<Version>5.0.3</Version>
<Comment>Version bump.</Comment>
<Name>Mogyorósi Petra</Name>
<Email>squeakymouse@protonmail.com</Email>
</Update>
<Update release="2"> <Update release="2">
<Date>2020-12-13</Date> <Date>2020-12-13</Date>
<Version>4.0.0</Version> <Version>4.0.0</Version>
@@ -70,4 +75,3 @@
</Update> </Update>
</History> </History>
</PISI> </PISI>