Group :: Development/Other
RPM: lxcfs
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: lxcfs
Version: 4.0.11
Release: alt1
Summary: FUSE filesystem for LXC
Group: Development/Other
License: LGPL-2.1-or-later
URL: https://github.com/lxc/lxcfs
VCS: https://github.com/lxc/lxcfs.git
Source0: %name-%version.tar
Source1: lxcfs.sysvinit
# git://git.altlinux.org/gears/l/lxcfs.git
Patch: %name-%version-%release.patch
BuildRequires: libfuse3-devel
BuildRequires: help2man
%define _check_contents_method relaxed
%description
FUSE filesystem for LXC, offering the following features:
- a cgroupfs compatible view for unprivileged containers
- a set of cgroup-aware files:
- cpuinfo
- meminfo
- stat
- uptime
%prep
%setup
%patch -p1
%build
%add_optflags -D_FILE_OFFSET_BITS=64
./bootstrap.sh
%configure --disable-static --with-init-script=systemd --localstatedir=%_var
%make_build
%install
%makeinstall_std
mkdir -p %buildroot%_localstatedir/%name
install -Dm0755 %SOURCE1 %buildroot%_initdir/lxcfs
find %buildroot -name '*.la' -delete
%post
[ -d "%_localstatedir/%name" ] || mkdir -p %_localstatedir/%name
%post_service %name
%preun
%preun_service %name
%files
%doc AUTHORS COPYING README.md
%_bindir/%name
%_libdir/%name/lib%name.so
%_man1dir/%name.1*
%_initdir/%name
%_unitdir/%name.service
%_datadir/lxc/config/common.conf.d/*
%dir %_datadir/%name
%_datadir/%name/*
%ghost %dir %_localstatedir/%name
%changelog
…
Full changelog you can see here
Version: 4.0.11
Release: alt1
Summary: FUSE filesystem for LXC
Group: Development/Other
License: LGPL-2.1-or-later
URL: https://github.com/lxc/lxcfs
VCS: https://github.com/lxc/lxcfs.git
Source0: %name-%version.tar
Source1: lxcfs.sysvinit
# git://git.altlinux.org/gears/l/lxcfs.git
Patch: %name-%version-%release.patch
BuildRequires: libfuse3-devel
BuildRequires: help2man
%define _check_contents_method relaxed
%description
FUSE filesystem for LXC, offering the following features:
- a cgroupfs compatible view for unprivileged containers
- a set of cgroup-aware files:
- cpuinfo
- meminfo
- stat
- uptime
%prep
%setup
%patch -p1
%build
%add_optflags -D_FILE_OFFSET_BITS=64
./bootstrap.sh
%configure --disable-static --with-init-script=systemd --localstatedir=%_var
%make_build
%install
%makeinstall_std
mkdir -p %buildroot%_localstatedir/%name
install -Dm0755 %SOURCE1 %buildroot%_initdir/lxcfs
find %buildroot -name '*.la' -delete
%post
[ -d "%_localstatedir/%name" ] || mkdir -p %_localstatedir/%name
%post_service %name
%preun
%preun_service %name
%files
%doc AUTHORS COPYING README.md
%_bindir/%name
%_libdir/%name/lib%name.so
%_man1dir/%name.1*
%_initdir/%name
%_unitdir/%name.service
%_datadir/lxc/config/common.conf.d/*
%dir %_datadir/%name
%_datadir/%name/*
%ghost %dir %_localstatedir/%name
%changelog
…
Full changelog you can see here