Hello community,

here is the log from the commit of package hiredis for openSUSE:Factory checked 
in at 2013-08-28 21:14:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hiredis (Old)
 and      /work/SRC/openSUSE:Factory/.hiredis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hiredis"

Changes:
--------
New Changes file:

--- /dev/null   2013-07-23 23:44:04.804033756 +0200
+++ /work/SRC/openSUSE:Factory/.hiredis.new/hiredis.changes     2013-08-28 
21:14:51.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Tue Aug 20 10:28:18 UTC 2013 - [email protected]
+
+- Package hiredis 0.11.0 for openSUSE 
+

New:
----
  hiredis.changes
  hiredis.spec
  v0.11.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hiredis.spec ++++++
#
# spec file for package 
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%global libname lib%{name}0_10

Name:           hiredis
Version:        0.11.0
Release:        1
License:        BSD-3-Clause
Summary:        Minimalistic C client for Redis
Url:            https://github.com/redis/hiredis
Group:          Productivity/Databases/Clients
Source0:        https://github.com/redis/hiredis/archive/v%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Hiredis is a minimalistic C client library for the
[Redis](http://redis.io/) database.

%package devel
Summary:        Header files and libraries for %{name}
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}-%{release}

%description devel 
The %{name}-devel package contains the header files and 
libraries for Redis database.

%package -n %{libname}
Summary:    Shared library for %{name}
Group:      Productivity/Databases/Clients

%description -n %{libname}
Shared library for %{name}. The %{name}-example and
%{name}-test are in %{name} package.

%prep
%setup -q

%build
make %{?_smp_mflags} OPTIMIZATION="%{optflags}"


%install
make install PREFIX=%{buildroot}/%{_prefix} 
INSTALL_LIBRARY_PATH=%{buildroot}%{_libdir}

mkdir -p %{buildroot}%{_bindir}
install -m 0755 %{name}-* %{buildroot}%{_bindir}

find %{buildroot} -type f -name '*.a' -delete

%post -n %{libname} -p /sbin/ldconfig

%postun -n %{libname} -p /sbin/ldconfig

%files
%defattr(0644,root,root,0755)
%doc COPYING README.md
%attr(0755,root,root) %{_bindir}/%{name}-*

%files devel
%defattr(0644,root,root,0755)
%doc CHANGELOG.md
%{_includedir}/%{name}/
%{_libdir}/lib%{name}.so

%files -n %{libname}
%defattr(0755,root,root,0755)
%{_libdir}/lib%{name}.so.*

%changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to