|
|
|
Name: hiredis
|
|
|
|
Version: 0.11.0
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Minimalistic C client library for Redis
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/redis/hiredis
|
|
|
|
Source0: antirez-%{name}-v%{version}-0-g0fff0f1.tar.gz
|
|
|
|
|
|
|
|
%description
|
|
|
|
Hiredis is a minimalistic C client library for the Redis database.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n antirez-%{name}-0fff0f1
|
|
|
|
|
|
|
|
%build
|
|
|
|
make %{?_smp_mflags} OPTIMIZATION="%{optflags}"
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install PREFIX=%{buildroot}%{_prefix} INSTALL_LIBRARY_PATH=%{buildroot}%{_libdir}
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
cp hiredis-example %{buildroot}%{_bindir}
|
|
|
|
cp hiredis-test %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
find %{buildroot} -name '*.a' -delete -print
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc COPYING
|
|
|
|
%{_bindir}/hiredis-example
|
|
|
|
%{_bindir}/hiredis-test
|
|
|
|
%{_libdir}/libhiredis.so.0.10
|
|
|
|
%{_libdir}/libhiredis.so.0
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc README.md
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_libdir}/libhiredis.so
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Sep 29 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.11.0-1
|
|
|
|
- Updated to 0.11.0
|
|
|
|
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jan 20 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.10.1-3
|
|
|
|
- Removed Requires redis.
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Dec 30 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.10.1-1
|
|
|
|
- Updated to upstream 0.10.1-28-gd5d8843.
|
|
|
|
|
|
|
|
* Mon May 16 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.10.0-3
|
|
|
|
- Removed INSTALL_LIB from install target as we use INSTALL_LIBRARY_PATH.
|
|
|
|
- Use 'client library' in Summary.
|
|
|
|
|
|
|
|
* Wed May 11 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.10.0-2
|
|
|
|
- Updated devel sub-package description.
|
|
|
|
- Added optimization flags.
|
|
|
|
- Remove manual installation of shared objects.
|
|
|
|
- Use upstream .tar.gz sources.
|
|
|
|
|
|
|
|
* Tue May 10 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.10.0-1.gitdf203bc328
|
|
|
|
- Updated to upstream gitdf203bc328.
|
|
|
|
- Added TODO to the files.
|
|
|
|
- Updated to use libhiredis.so.0, libhiredis.so.0.10.
|
|
|
|
|
|
|
|
* Fri Apr 29 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.9.2-1
|
|
|
|
- First release.
|