Группа :: Система/Библиотеки
Пакет: redis
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
#define pre -beta
Name: redis
Version: 2.0.1
Release: alt0.M51.1
Summary: Redis is an advanced key-value store
Group: System/Libraries
License: New BSD License
Url: http://code.google.com/p/redis/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://redis.googlecode.com/files/%name-%version.tar
# for check section
BuildPreReq: tcl >= 8.5
%description
Redis is an advanced key-value store. It is similar to memcached but
the dataset is not volatile, and values can be strings, exactly like in
memcached, but also lists, sets, and ordered sets. All this data types can
be manipulated with atomic operations to push/pop elements, add/remove
elements, perform server side union, intersection, difference between
sets, and so forth. Redis supports different kind of sorting abilities.
In order to be very fast but at the same time persistent the whole dataset
is taken in memory, and from time to time saved on disc asynchronously
(semi persistent mode) or alternatively every change is written into an
append only file (fully persistent mode). Redis is able to rebuild the
append only file in background when it gets too big.
Redis supports trivial to setup master-slave replication, with very
fast non-blocking first synchronization, auto reconnection on net split,
and so forth.
Redis is written in ANSI C and works in most POSIX systems like Linux,
*BSD, Mac OS X, Solaris, and so on. Redis is free software released under
the very liberal BSD license. Redis is reported to compile and work
under WIN32 if compiled with Cygwin, but there is no official support
for Windows currently.
%prep
%setup
sed -i '/$(CC) -o/ s,$, $(CCOPT),' Makefile
%build
%make_build
%install
mkdir -p %buildroot%_bindir/
mkdir -p %buildroot%_sbindir/
mkdir -p %buildroot%_sysconfdir/
install -m755 redis-cli redis-benchmark %buildroot%_bindir/
install -m755 redis-server %buildroot%_sbindir/
install -m644 redis.conf %buildroot%_sysconfdir/
%files
%config(noreplace) %_sysconfdir/redis.conf
%_bindir/*
%_sbindir/redis-server
%doc COPYING
%doc doc/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: redis
Version: 2.0.1
Release: alt0.M51.1
Summary: Redis is an advanced key-value store
Group: System/Libraries
License: New BSD License
Url: http://code.google.com/p/redis/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://redis.googlecode.com/files/%name-%version.tar
# for check section
BuildPreReq: tcl >= 8.5
%description
Redis is an advanced key-value store. It is similar to memcached but
the dataset is not volatile, and values can be strings, exactly like in
memcached, but also lists, sets, and ordered sets. All this data types can
be manipulated with atomic operations to push/pop elements, add/remove
elements, perform server side union, intersection, difference between
sets, and so forth. Redis supports different kind of sorting abilities.
In order to be very fast but at the same time persistent the whole dataset
is taken in memory, and from time to time saved on disc asynchronously
(semi persistent mode) or alternatively every change is written into an
append only file (fully persistent mode). Redis is able to rebuild the
append only file in background when it gets too big.
Redis supports trivial to setup master-slave replication, with very
fast non-blocking first synchronization, auto reconnection on net split,
and so forth.
Redis is written in ANSI C and works in most POSIX systems like Linux,
*BSD, Mac OS X, Solaris, and so on. Redis is free software released under
the very liberal BSD license. Redis is reported to compile and work
under WIN32 if compiled with Cygwin, but there is no official support
for Windows currently.
%prep
%setup
sed -i '/$(CC) -o/ s,$, $(CCOPT),' Makefile
%build
%make_build
%install
mkdir -p %buildroot%_bindir/
mkdir -p %buildroot%_sbindir/
mkdir -p %buildroot%_sysconfdir/
install -m755 redis-cli redis-benchmark %buildroot%_bindir/
install -m755 redis-server %buildroot%_sbindir/
install -m644 redis.conf %buildroot%_sysconfdir/
%files
%config(noreplace) %_sysconfdir/redis.conf
%_bindir/*
%_sbindir/redis-server
%doc COPYING
%doc doc/*
%changelog
…
Полный changelog можно просмотреть здесь