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

Alpha. Package builded.

parent 19dacfa6
...@@ -3,52 +3,54 @@ Version: 0.9 ...@@ -3,52 +3,54 @@ Version: 0.9
Release: alt1 Release: alt1
Summary: nocache - minimize filesystem caching effects Summary: nocache - minimize filesystem caching effects
License: GPL
Group: <группа>
License: GPL
Group: File tools
Url: https://github.com/Feh/nocache Url: https://github.com/Feh/nocache
Source: %name-%version.tar Source: %name-%version.tar
Patch: Packager: Daniil Mikhailov <danil@etersoft.ru>
Packager: <ваше имя> <$login@altlinux.org>
PreReq: #PreReq:
Requires: #Requires:
Provides: #Provides:
Conflicts: #Conflicts:
BuildPreReq: #BuildPreReq:
BuildRequires: #BuildRequires:
BuildArch: #BuildArch:
%description %description
The nocache tool tries to minimize the effect an application has on the Linux 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 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 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 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", 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). (think: hot standby).
Use case: backup processes that should not interfere with the present state of the cache. Use case: backup processes that should not interfere with the present state of the cache.
%prep %prep
%setup %setup
%patch1 -p1 ##%patch1 -p1
%build %build
%configure #configure
# CFLAGS=-D_FILE_OFFSET_BITS=64
%make_build %make_build
%install %install
%makeinstall_std %makeinstall_std PREFIX=%prefix LIBDIR=/%_lib
%check %check
%make_build check #make_build check
%files %files
%_bindir/* %_bindir/*
%_libdir/nocache.so
%_man1dir/* %_man1dir/*
%doc AUTHORS NEWS README %doc README COPYING
%changelog %changelog
* <дата> <ваше имя> <$login@altlinux.org> <версия-пакета>-<релиз пакета> * Mon Jul 08 2013 Daniil Mikhailov <danil@etersoft.ru> 0.9-alt1
- initial build for ALT Linux Sisyphus - initial build for ALT Linux Sisyphus
\ No newline at end of file
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