Commit 0ec725e4 authored by Danil Mikhailov's avatar Danil Mikhailov

Alpha. Package builded.

parent 19dacfa6
......@@ -3,52 +3,54 @@ Version: 0.9
Release: alt1
Summary: nocache - minimize filesystem caching effects
License: GPL
Group: <группа>
License: GPL
Group: File tools
Url: https://github.com/Feh/nocache
Source: %name-%version.tar
Patch:
Packager: <ваше имя> <$login@altlinux.org>
Packager: Daniil Mikhailov <danil@etersoft.ru>
PreReq:
Requires:
Provides:
Conflicts:
#PreReq:
#Requires:
#Provides:
#Conflicts:
BuildPreReq:
BuildRequires:
BuildArch:
#BuildPreReq:
#BuildRequires:
#BuildArch:
%description
The nocache tool tries to minimize the effect an application has on the Linux
file system cache. This is done by intercepting the open and close system calls
and calling posix_fadvise with the POSIX_FADV_DONTNEED parameter. Because the
library remembers which pages (ie., 4K-blocks of the file) were already in file
The nocache tool tries to minimize the effect an application has on the Linux
file system cache. This is done by intercepting the open and close system calls
and calling posix_fadvise with the POSIX_FADV_DONTNEED parameter. Because the
library remembers which pages (ie., 4K-blocks of the file) were already in file
system cache when the file was opened, these will not be marked as "don't need",
because other applications might need that, although they are not actively used
because other applications might need that, although they are not actively used
(think: hot standby).
Use case: backup processes that should not interfere with the present state of the cache.
%prep
%setup
%patch1 -p1
##%patch1 -p1
%build
%configure
#configure
# CFLAGS=-D_FILE_OFFSET_BITS=64
%make_build
%install
%makeinstall_std
%makeinstall_std PREFIX=%prefix LIBDIR=/%_lib
%check
%make_build check
#make_build check
%files
%_bindir/*
%_libdir/nocache.so
%_man1dir/*
%doc AUTHORS NEWS README
%doc README COPYING
%changelog
* <дата> <ваше имя> <$login@altlinux.org> <версия-пакета>-<релиз пакета>
- initial build for ALT Linux Sisyphus
\ No newline at end of file
* Mon Jul 08 2013 Daniil Mikhailov <danil@etersoft.ru> 0.9-alt1
- initial build for ALT Linux Sisyphus
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment