Remove redundant tags/sections from specfile; %_smp_mflags
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/SocketW?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 10:18:27 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
- Use %_smp_mflags for parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 26 19:24:00 UTC 2012 - joop.boonen@opensuse.org
|
||||
|
||||
|
||||
10
SocketW.spec
10
SocketW.spec
@@ -21,7 +21,7 @@ Release: 0
|
||||
%define soname 0
|
||||
Summary: It is a streaming socket C++ library designed to be easy to use
|
||||
License: LGPL-2.1
|
||||
Group: Development/Libraries/Other
|
||||
Group: Development/Libraries/C and C++
|
||||
Source: %{name}%{version}.tar.bz2
|
||||
Patch0: %{name}-path.patch
|
||||
Patch1: %{name}-include.patch
|
||||
@@ -29,14 +29,13 @@ Url: http://www.digitalfanatics.org/cal/socketw/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: openssl-devel
|
||||
Requires: libSocketW%{soname} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
It supports Unix sockets and TCP/IP sockets with optional SSL/TLS (OpenSSL) support. It allows you to write portable and secure network applications quickly without needing to spend time learning low-level system functions or reading OpenSSL manuals.
|
||||
|
||||
%package -n libSocketW%{soname}
|
||||
Summary: It is a streaming socket C++ library designed to be easy to use
|
||||
Group: Development/Libraries/Other
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libSocketW%{soname}
|
||||
It supports Unix sockets and TCP/IP sockets with optional SSL/TLS (OpenSSL) support. It allows you to write portable and secure network applications quickly without needing to spend time learning low-level system functions or reading OpenSSL manuals.
|
||||
@@ -60,14 +59,11 @@ It supports Unix sockets and TCP/IP sockets with optional SSL/TLS (OpenSSL) supp
|
||||
%patch1 -d src
|
||||
|
||||
%build
|
||||
make %{?jobs:-j%jobs} shared
|
||||
make %{?_smp_mflags} shared
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} PREFIX=%{buildroot}%{_prefix} PREFIX_H=%{buildroot}%{_includedir}/%{name} PREFIX_L=%{buildroot}%{_libdir} install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT;
|
||||
|
||||
%files -n libSocketW%{soname}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README WhatsNew
|
||||
|
||||
Reference in New Issue
Block a user