Группа :: Система/Ядро и оборудование
Пакет: fuse
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: fuse
Version: 2.8.2
Release: alt1
Summary: tool for creating virtual filesystems
License: GPL
Group: System/Kernel and hardware
Url: http://sourceforge.net/projects/fuse
Packager: Denis Smirnov <mithraen at altlinux.ru>
Requires: mount >= 2.11
Provides: avfs-fuse
Obsoletes: avfs-fuse
Source: %name-%version.tar
Source1: fusermount-control
Patch0: %name.Makefile.patch
Patch1: %name.udev.patch
Patch2: %name.link.patch
Patch3: %name-2.8.0-alt-mmap.patch
%description
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%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
%description -n lib%name-devel
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%prep
%setup -q
%patch0 -p0
%patch1 -p1
%patch2 -p0
%patch3 -p1
%build
%autoreconf
%configure \
--enable-lib \
--enable-util \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
mkdir -p %buildroot/%_lib
mv %buildroot%_libdir/lib%name.so.* %buildroot/%_lib/
ln -sf ../../%_lib/lib%name.so.%version %buildroot%_libdir/lib%name.so
install -D %SOURCE1 %buildroot%_sysconfdir/control.d/facilities/fusermount
rm -fr %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
%doc AUTHORS ChangeLog NEWS README Filesystems README.NFS
%_sysconfdir/control.d/facilities/fusermount
%_sysconfdir/udev/rules.d/*
/sbin/mount.fuse
%_bindir/fusermount
%_bindir/ulockmgr_server
%files -n lib%name
/%_lib/lib%name.so.*
%_libdir/lib*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/lib*.so
%_pkgconfigdir/*.pc
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.8.2
Release: alt1
Summary: tool for creating virtual filesystems
License: GPL
Group: System/Kernel and hardware
Url: http://sourceforge.net/projects/fuse
Packager: Denis Smirnov <mithraen at altlinux.ru>
Requires: mount >= 2.11
Provides: avfs-fuse
Obsoletes: avfs-fuse
Source: %name-%version.tar
Source1: fusermount-control
Patch0: %name.Makefile.patch
Patch1: %name.udev.patch
Patch2: %name.link.patch
Patch3: %name-2.8.0-alt-mmap.patch
%description
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%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
%description -n lib%name-devel
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%prep
%setup -q
%patch0 -p0
%patch1 -p1
%patch2 -p0
%patch3 -p1
%build
%autoreconf
%configure \
--enable-lib \
--enable-util \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
mkdir -p %buildroot/%_lib
mv %buildroot%_libdir/lib%name.so.* %buildroot/%_lib/
ln -sf ../../%_lib/lib%name.so.%version %buildroot%_libdir/lib%name.so
install -D %SOURCE1 %buildroot%_sysconfdir/control.d/facilities/fusermount
rm -fr %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
%doc AUTHORS ChangeLog NEWS README Filesystems README.NFS
%_sysconfdir/control.d/facilities/fusermount
%_sysconfdir/udev/rules.d/*
/sbin/mount.fuse
%_bindir/fusermount
%_bindir/ulockmgr_server
%files -n lib%name
/%_lib/lib%name.so.*
%_libdir/lib*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/lib*.so
%_pkgconfigdir/*.pc
%changelog
…
Полный changelog можно просмотреть здесь