File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ Summary: Minimalistic C client library for Redis
2+ Name: hiredis
3+ Version: 1.0.2
4+ Release: 1%{?dist }
5+ License: BSD-3-Clause
6+ Group: Productivity/Databases/Clients
7+ Vendor: VMware, Inc.
8+ Distribution: Photon
9+ Url: https://github.com/redis/hiredis
10+ Source0: https://github.com/redis/hiredis/archive/v%{version }/%{name }-%{version }.tar.gz
11+ %define sha512 hiredis= 86497a1c21869bbe535378885eee6dbd594ef96325966511a3513f81e501af0f5ac7fed864f3230372f3ac7a23c05bad477fa5aa90b9747c9fb1408028174f9b
12+ BuildRequires: make
13+ BuildRequires: redis
14+
15+ %description
16+ Hiredis is a minimalistic C client library for the Redis database.
17+
18+ %package devel
19+ Summary: Development files for %{name }
20+ Group: Development/Libraries/C++
21+ Requires: %{name } = %{version }-%{release }
22+
23+ %description devel
24+ The %{name }-devel package contains the header files and
25+ libraries for Redis database.
26+
27+ %prep
28+ %autosetup
29+
30+ %build
31+ %make_build PREFIX=" %{_prefix}"
32+
33+ %install
34+ %make_install PREFIX=" %{_prefix}"
35+
36+ find %{buildroot } -name '*.a' -delete
37+
38+ %check
39+ make check %{?_smp_mflags }
40+
41+ %post -p /sbin/ldconfig
42+ %postun -p /sbin/ldconfig
43+
44+ %files
45+ %doc COPYING
46+ %{_libdir }/libhiredis.so.1.0.0
47+
48+ %files devel
49+ %doc CHANGELOG.md README.md
50+ %{_includedir }/%{name }/
51+ %{_libdir }/libhiredis.so
52+ %{_libdir }/pkgconfig/hiredis.pc
53+
54+ %changelog
55+ *
Mon Apr 04 2022 Prashant S Chauhan <[email protected] > 1.0.2-1 56+ - hiredis initial build
You can’t perform that action at this time.
0 commit comments