/[smecontribs]/rpms/smeserver-redis/contribs10/smeserver-redis.spec
ViewVC logotype

Contents of /rpms/smeserver-redis/contribs10/smeserver-redis.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Jun 24 03:58:11 2022 UTC (23 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: smeserver-redis-1_2_0-1_el7_sme, HEAD
* Thu Jun 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-1.sme
- initial Koozali SME 10 version

1
2 Name: smeserver-redis
3 Version: 1.2.0
4 Release: 1%{?dist}
5 Summary: Koozali SME Server integration of Redis
6 License: GPL
7 URL: http://supervisord.org/
8 #Source0: %{name}-%{version}.tar.gz
9 Source: createlinks
10 BuildArch: noarch
11 BuildRequires: e-smith-devtools
12 Requires: redis
13
14 %description
15 Koozali SME Server integration of Redis
16 Redis is an in-memory data structure store, used as a distributed,
17 in-memory key–value database, cache and message broker, with optional durability.
18 Redis supports different kinds of abstract data structures, such as strings,
19 lists, maps, sets, sorted sets, HyperLogLogs, bitmaps, streams, and spatial indices.
20 License: BSD 3-clause
21
22 %prep
23 %setup -c -n %{name}-%{version} -T
24 mkdir -p root
25 cp %SOURCE0 .
26
27 %build
28 #cd %{name}-%{version}
29 perl createlinks
30
31 # could be an archive
32 mkdir -p root/usr/lib/systemd/system/redis.service.d/
33 printf "[Install]
34 WantedBy=sme-server.target" > root/usr/lib/systemd/system/redis.service.d/50-koozali.conf
35 mkdir -p root/etc/e-smith/db/configuration/defaults/redis
36 echo "enabled" > root/etc/e-smith/db/configuration/defaults/redis/status
37 echo "service" > root/etc/e-smith/db/configuration/defaults/redis/type
38 echo "6379" > root/etc/e-smith/db/configuration/defaults/redis/TCPPPort
39 echo "private" > root/etc/e-smith/db/configuration/defaults/redis/access
40
41 %install
42 rm -rf %{buildroot}
43 (cd root ; find . -depth -print | cpio -dump %{buildroot})
44 /sbin/e-smith/genfilelist %{buildroot} > %{name}-%{version}-%{release}-filelist
45
46
47
48 %files -f %{name}-%{version}-%{release}-filelist
49 %defattr(-,root,root)
50
51
52
53 %changelog
54 * Thu Jun 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-1.sme
55 - initial Koozali SME 10 version
56
57 * Thu Jul 07 2016 Stefano Fancello <stefano.fancello@nethesis.it> - 1.1.0-1
58 - First NS7 release
59
60 * Wed Jul 31 2013 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 1.0.0-1.ns6
61 - First release #2090
62

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed