create core package
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# -*- 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 get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-vif")
|
||||
|
||||
# Disable device node creation during build/install
|
||||
pisitools.dosed("util/Makefile.in", "mknod", "echo Disabled: mknod ")
|
||||
|
||||
autotools.configure("--disable-static \
|
||||
--disable-rpath \
|
||||
--enable-lib \
|
||||
--enable-util \
|
||||
--exec-prefix=/ \
|
||||
--bindir=/bin")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.removeDir("/dev")
|
||||
pisitools.removeDir("/etc")
|
||||
|
||||
# Make compat symlinks into /usr/bin
|
||||
pisitools.dosym("/bin/fusermount", "/usr/bin/fusermount")
|
||||
pisitools.dosym("/bin/ulockmgr_server", "/usr/bin/ulockmgr_server")
|
||||
|
||||
# Move pkgconfig file to /usr/lib
|
||||
pisitools.domove("/lib/pkgconfig", "/usr/lib/")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "FAQ", "Filesystems", "NEWS", "README", "README.NFS")
|
||||
@@ -0,0 +1,25 @@
|
||||
--- configure.ac~ 2014-01-20 17:57:48.293329571 +0100
|
||||
+++ configure.ac 2014-01-20 17:58:10.999996162 +0100
|
||||
@@ -95,22 +95,6 @@
|
||||
AM_CONDITIONAL(BSD, test "$arch" = bsd)
|
||||
|
||||
util_linux_ok=yes
|
||||
-if test "$arch" = linux -a "$cross_compiling" != "yes"; then
|
||||
- AC_MSG_CHECKING([if umount supports --fake --no-canonicalize])
|
||||
- # exit code of umount is 1 if option is unrecognised, 2 otherwise
|
||||
- umount --fake --no-canonicalize > /dev/null 2>&1
|
||||
- if test $? != 1; then
|
||||
- AC_MSG_RESULT([yes])
|
||||
- else
|
||||
- firstline=`umount --fake --no-canonicalize 2>&1 | head -1`
|
||||
- if test "$firstline" = 'umount: only root can use "--fake" option'; then
|
||||
- AC_MSG_RESULT([yes])
|
||||
- else
|
||||
- AC_MSG_RESULT([$firstline])
|
||||
- util_linux_ok=no
|
||||
- fi
|
||||
- fi
|
||||
-fi
|
||||
|
||||
AC_CONFIG_FILES([fuse.pc Makefile lib/Makefile util/Makefile example/Makefile include/Makefile doc/Makefile])
|
||||
AC_OUTPUT
|
||||
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>fuse</Name>
|
||||
<Homepage>http://fuse.sourceforge.net</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>An interface for filesystems implemented in userspace</Summary>
|
||||
<Description>fuse is a backend allowing regular users to (un)mount filesystems for their own use.</Description>
|
||||
<Archive sha1sum="94bd1974a9f2173ac3c2cf122f9fa3c35996b88e" type="targz">mirrors://sourceforge/project/fuse/fuse-2.X/2.9.3/fuse-2.9.3.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch>skip_umount_test.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>fuse</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glibc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/bin</Path>
|
||||
<Path fileType="executable">/sbin</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>fuse-devel</Name>
|
||||
<PartOf>system.devel</PartOf>
|
||||
<Summary>Development files for fuse</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">fuse</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>2.9.3</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-01-24</Date>
|
||||
<Version>2.9.3</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-20</Date>
|
||||
<Version>2.9.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-20-21</Date>
|
||||
<Version>2.9.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>fuse</Name>
|
||||
<Summary xml:lang="tr">Kullanıcı düzeyinde dosya sistemi oluştumaya yarayan kitaplık</Summary>
|
||||
<Description xml:lang="tr">FUSE, kullanıcıların kendileri için dosya sistemleri oluşturmasına, bağlamasına ve bağı koparmasına imkân veren bir arkauç kitaplıktır.</Description>
|
||||
<Summary xml:lang="fr">Interface implémentée dans l'environnement utilisateur (userpace) pour les systèmes de fichier.</Summary>
|
||||
<Summary xml:lang="es">Una interfaz para sistemas de archivos implementados en el espacio de usuario</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>fuse-devel</Name>
|
||||
<Summary xml:lang="tr">fuse için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user