]> git.pld-linux.org Git - packages/Sockets.git/blame - Sockets.spec
- pl
[packages/Sockets.git] / Sockets.spec
CommitLineData
1e9bf343
TP
1#
2# TODO:
3# - pass CFLAGS
4# - package docs
5# - build shared library
6#
7# Conditional build:
8%bcond_without static_libs # don't build static library
6d64dcd9 9#
1e9bf343
TP
10Summary: C++ Sockets Library
11Summary(pl.UTF-8): Biblioteka gniazd C++
12Name: Sockets
13Version: 2.1.8
14Release: 0.1
15License: GPL
16Group: Development/Libraries
17Source0: http://www.alhem.net/Sockets/%{name}-%{version}.tar.gz
18# Source0-md5: f285cfcd3558e83f4c2b2c5b114d98d8
19Source1: http://www.alhem.net/Sockets/%{name}-%{version}-doxygendocs.tar.gz
20# Source1-md5: d2b4427f6cb10a7f15c3c34edb386ba7
21Source2: http://www.alhem.net/Sockets/tutorial/%{name}-tutorial.tar.gz
22# Source2-md5: 86a6c9cb22d06ffacd65cd953398da84
23URL: http://www.alhem.net/Sockets/
24BuildRequires: libstdc++-devel
25BuildRequires: openssl-devel
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
6d64dcd9
JB
29C++ class library wrapping the Berkeley sockets C API. Features
30include, but are not limited to, SSL support, IPv6 support, TCP and
31UDP sockets, SCTP sockets, HTTP protocol, highly customizable error
32handling.
1e9bf343
TP
33
34%description -l pl.UTF-8
6d64dcd9
JB
35Biblioteka klas C++ obudowująca berkeleyowskie API C gniazd.
36Możliwości obejmują m.in. obsługę SSL, obsługę IPv6, gniazda TCP i
37UDP, gniazda SCTP, protokół HTTP, elastyczną obsługę błędów.
1e9bf343
TP
38
39%prep
6d64dcd9 40%setup -q
1e9bf343
TP
41
42%build
43%{__make}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
48
49%{__make} install \
50 PREFIX=$RPM_BUILD_ROOT%{_prefix}
51
52install tests/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%attr(755,root,root) %{_bindir}/*
60%{_includedir}/Sockets
61%{_libdir}/lib*.a
62%{_examplesdir}/%{name}-%{version}
This page took 0.059203 seconds and 4 git commands to generate.