Группа :: Система/Ядро и оборудование
Пакет: fuse
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: fuse
Version: 2.7.3
Release: alt1
%def_with kernel
Summary: tool for creating virtual filesystems
Summary(ru_RU.KOI8-R): инструмент для создания виртуальных файловых систем
License: GPL
Group: System/Kernel and hardware
Url: http://sourceforge.net/projects/fuse
Packager: Denis Smirnov <mithraen at altlinux.ru>
Source: %name-%version.tar
Source1: fusermount-control
Patch: %name.Makefile.patch
Patch1: %name.udev.patch
Patch2: %name.link.patch
Patch3: %name-2.6.1-charset.patch
Patch4: %name.charset.symver.patch
Requires: mount >= 2.11
Provides: avfs-fuse
Obsoletes: avfs-fuse
%description
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%description -l ru_RU.KOI8-R
FUSE (Filesystem in USErspace) - отличный инструмент для создания
виртуальных файловых систем минимальными усилиями.
%package -n lib%name
Group: System/Kernel and hardware
Summary: tool for creating virtual filesystems
Provides: FUSE
Obsoletes: FUSE
Provides: avfs-fuse
Obsoletes: avfs-fuse
Provides: libavfs-fuse
Obsoletes: libavfs-fuse
Requires: %name = %version-%release
%description -n lib%name
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%package -n lib%name-devel
Group: System/Kernel and hardware
Summary: tool for creating virtual filesystems
Requires: lib%name = %version-%release
Provides: libavfs-fuse-devel
Obsoletes: libavfs-fuse-devel
%package -n lib%name-devel-static
Group: System/Kernel and hardware
Summary: tool for creating virtual filesystems
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%description -n lib%name-devel-static
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%description -l ru_RU.KOI8-R
FUSE (Filesystem in USErspace), отличный инструмент для создания
виртуальных файловых систем минимальными усилиями.
%if_with kernel
%package -n kernel-source-%name
Summary: Linux %name module sources
Group: Development/Kernel
%description -n kernel-source-%name
This package contains %name sources for Linux kernel module
%description -n kernel-source-%name -l ru_RU.KOI8-R
Этот пакет содержит исходники fuse для модуля ядра Линукс
%endif
%prep
%setup -q
%patch -p0
%patch1 -p0
%patch2 -p0
#patch3 -p1
%patch4 -p0
t="$RPM_SOURCE_DIR/kernel-source-%name-%version"
%__rm -rf "$t"
cp -a ./ "$t"
mv "$t" .
%build
%__autoreconf
%configure --disable-kernel-module \
--enable-lib --enable-util --enable-auto-modprobe
%make_build
%install
%makeinstall_std
install -D %SOURCE1 %buildroot%_sysconfdir/control.d/facilities/fusermount
%if_with kernel
# Make kernel-source tarball
mkdir -p %buildroot%_usrsrc/kernel/sources
du -hsc kernel-source-%name-%version
tar cjf \
%buildroot%_usrsrc/kernel/sources/kernel-source-%name-%version.tar.bz2 \
kernel-source-%name-%version
%endif
mkdir -p %buildroot%_initdir/
mv %buildroot%_sysconfdir/init.d/fuse %buildroot%_initdir/fuse
rmdir %buildroot%_sysconfdir/init.d
%pre
%_sbindir/groupadd -r -f fuse
if [ $1 -ge 2 ]; then
%_sbindir/control-dump fusermount
fi
%post
if [ $1 -ge 2 ]; then
%_sbindir/control-restore fusermount
fi
%files
%_initdir/fuse
%_bindir/fusermount
/sbin/mount.fuse
%_sysconfdir/control.d/facilities/fusermount
%_sysconfdir/udev/rules.d/*
%_bindir/ulockmgr_server
%doc AUTHORS ChangeLog NEWS README Filesystems README.NFS
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%files -n lib%name-devel-static
%_libdir/*.a
%if_with kernel
%files -n kernel-source-%name
%_usrsrc/kernel/sources/kernel-source-%name-%version.tar.bz2
%endif
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.7.3
Release: alt1
%def_with kernel
Summary: tool for creating virtual filesystems
Summary(ru_RU.KOI8-R): инструмент для создания виртуальных файловых систем
License: GPL
Group: System/Kernel and hardware
Url: http://sourceforge.net/projects/fuse
Packager: Denis Smirnov <mithraen at altlinux.ru>
Source: %name-%version.tar
Source1: fusermount-control
Patch: %name.Makefile.patch
Patch1: %name.udev.patch
Patch2: %name.link.patch
Patch3: %name-2.6.1-charset.patch
Patch4: %name.charset.symver.patch
Requires: mount >= 2.11
Provides: avfs-fuse
Obsoletes: avfs-fuse
%description
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%description -l ru_RU.KOI8-R
FUSE (Filesystem in USErspace) - отличный инструмент для создания
виртуальных файловых систем минимальными усилиями.
%package -n lib%name
Group: System/Kernel and hardware
Summary: tool for creating virtual filesystems
Provides: FUSE
Obsoletes: FUSE
Provides: avfs-fuse
Obsoletes: avfs-fuse
Provides: libavfs-fuse
Obsoletes: libavfs-fuse
Requires: %name = %version-%release
%description -n lib%name
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%package -n lib%name-devel
Group: System/Kernel and hardware
Summary: tool for creating virtual filesystems
Requires: lib%name = %version-%release
Provides: libavfs-fuse-devel
Obsoletes: libavfs-fuse-devel
%package -n lib%name-devel-static
Group: System/Kernel and hardware
Summary: tool for creating virtual filesystems
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%description -n lib%name-devel-static
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%description -l ru_RU.KOI8-R
FUSE (Filesystem in USErspace), отличный инструмент для создания
виртуальных файловых систем минимальными усилиями.
%if_with kernel
%package -n kernel-source-%name
Summary: Linux %name module sources
Group: Development/Kernel
%description -n kernel-source-%name
This package contains %name sources for Linux kernel module
%description -n kernel-source-%name -l ru_RU.KOI8-R
Этот пакет содержит исходники fuse для модуля ядра Линукс
%endif
%prep
%setup -q
%patch -p0
%patch1 -p0
%patch2 -p0
#patch3 -p1
%patch4 -p0
t="$RPM_SOURCE_DIR/kernel-source-%name-%version"
%__rm -rf "$t"
cp -a ./ "$t"
mv "$t" .
%build
%__autoreconf
%configure --disable-kernel-module \
--enable-lib --enable-util --enable-auto-modprobe
%make_build
%install
%makeinstall_std
install -D %SOURCE1 %buildroot%_sysconfdir/control.d/facilities/fusermount
%if_with kernel
# Make kernel-source tarball
mkdir -p %buildroot%_usrsrc/kernel/sources
du -hsc kernel-source-%name-%version
tar cjf \
%buildroot%_usrsrc/kernel/sources/kernel-source-%name-%version.tar.bz2 \
kernel-source-%name-%version
%endif
mkdir -p %buildroot%_initdir/
mv %buildroot%_sysconfdir/init.d/fuse %buildroot%_initdir/fuse
rmdir %buildroot%_sysconfdir/init.d
%pre
%_sbindir/groupadd -r -f fuse
if [ $1 -ge 2 ]; then
%_sbindir/control-dump fusermount
fi
%post
if [ $1 -ge 2 ]; then
%_sbindir/control-restore fusermount
fi
%files
%_initdir/fuse
%_bindir/fusermount
/sbin/mount.fuse
%_sysconfdir/control.d/facilities/fusermount
%_sysconfdir/udev/rules.d/*
%_bindir/ulockmgr_server
%doc AUTHORS ChangeLog NEWS README Filesystems README.NFS
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%files -n lib%name-devel-static
%_libdir/*.a
%if_with kernel
%files -n kernel-source-%name
%_usrsrc/kernel/sources/kernel-source-%name-%version.tar.bz2
%endif
%changelog
…
Полный changelog можно просмотреть здесь