1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
Summary: Net6 network library
Summary(pl.UTF-8): Biblioteka sieciowa net6
Name: net6
Version: 1.3.9
Release: 2
License: LGPL v2.1+
Group: Libraries
Source0: http://releases.0x539.de/net6/%{name}-%{version}.tar.gz
# Source0-md5: afab12d33fc201a7dbc2cfa116218079
URL: http://gobby.0x539.de/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.9
BuildRequires: gettext-devel >= 0.15
BuildRequires: gnutls-devel >= 1.0.0
BuildRequires: libsigc++-devel >= 2.0
BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:1.5
BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
net6 is a library which eases the development of network-based
applications as it provides a TCP protocol abstraction for C++. It is
portable to both the Windows and Unix-like platforms.
%description -l pl.UTF-8
net6 to biblioteka ułatwiająca tworzenie aplikacji sieciowych,
udostępniająca abstrakcję protokołu TCP dla C++. Jest przenośna na
platformy uniksowe oraz Windows.
%package devel
Summary: Header files for net6
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki net6
Summary(pt_BR.UTF-8): Arquivos do pacote net6 para desenvolvimento
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gnutls-devel >= 1.0.0
Requires: libsigc++-devel >= 2.0
%description devel
Header files for net6.
%description devel -l pl.UTF-8
Pliki nagłówkowe biblioteki net6.
%description devel -l pt_BR.UTF-8
Arquivos de cabeçalho e bibliotecas usadas no desenvolvimento de
aplicativos que usam net6.
%package static
Summary: Static net6 library
Summary(pl.UTF-8): Biblioteka statyczna net6
Summary(pt_BR.UTF-8): Arquivos do pacote net6 para desenvolvimento estático
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
Static net6 library.
%description static -l pl.UTF-8
Biblioteka statyczna net6.
%description static -l pt_BR.UTF-8
Arquivos de cabeçalho e bibliotecas usadas no desenvolvimento de
aplicativos estáticos que usam net6.
%prep
%setup -q
%build
%{__gettextize}
%{__libtoolize}
%{__aclocal}
%{__automake}
%{__autoconf}
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libnet6-1.3.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libnet6-1.3.so.0
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libnet6.so
%{_libdir}/libnet6.la
%{_includedir}/%{name}
%{_pkgconfigdir}/net6-1.3.pc
%files static
%defattr(644,root,root,755)
%{_libdir}/libnet6.a
|