]>
Commit | Line | Data |
---|---|---|
0facf9ae | 1 | Summary: Glib/GObject Networking Library |
a35e9ebf | 2 | Summary(pl.UTF-8): Biblioteka sieciowa oparta o Glib/GObject |
321c1631 AF |
3 | Name: libgtcpsocket |
4 | Version: 0.2.0 | |
5 | Release: 0.1 | |
6 | License: LGPL | |
7 | Group: Libraries | |
ed49e4b0 | 8 | Source0: http://ftp.gnome.org/pub/gnome/sources/libgtcpsocket/0.2/%{name}-%{version}.tar.bz2 |
321c1631 | 9 | # Source0-md5: 39b811a4049b737d5c068f0e113f3431 |
0facf9ae | 10 | BuildRequires: GConf2-devel |
321c1631 AF |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
bbde4049 | 13 | BuildRequires: gettext-tools |
321c1631 | 14 | BuildRequires: glib2-devel |
321c1631 | 15 | BuildRequires: intltool >= 0.25 |
515821c1 | 16 | BuildRequires: libtool |
321c1631 | 17 | Requires(post): /sbin/ldconfig |
0facf9ae | 18 | Requires(post): GConf2 |
321c1631 AF |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
0facf9ae JB |
22 | GTcpSocket is an object-based multi-threaded TCP/IP networking |
23 | wrapper. It provides application-transparent support for proxies and | |
24 | basic SSL encryption. | |
25 | ||
f8d29b06 JR |
26 | %description -l pl.UTF-8 |
27 | GTcpSocket to obiektowy, wielowątkowy interfejs do funkcji sieciowych | |
28 | TCP/IP. Daje przezroczystą dla aplikacji obsługę proxy i podstawowego | |
0facf9ae | 29 | szyfrowania SSL. |
321c1631 AF |
30 | |
31 | %package devel | |
32 | Summary: Headers for libgtcpsocket | |
a35e9ebf | 33 | Summary(pl.UTF-8): Pliki nagłówkowe libgtcpsocket |
321c1631 | 34 | Group: Development/Libraries |
ed49e4b0 | 35 | Requires: %{name} = %{version}-%{release} |
321c1631 AF |
36 | |
37 | %description devel | |
0facf9ae JB |
38 | Headers for libgtcpsocket. |
39 | ||
f8d29b06 JR |
40 | %description devel -l pl.UTF-8 |
41 | Pliki nagłówkowe libgtcpsocket. | |
321c1631 AF |
42 | |
43 | %package static | |
44 | Summary: Static libgtcpsocket libraries | |
a35e9ebf | 45 | Summary(pl.UTF-8): Statyczne biblioteki libgtcpsocket |
321c1631 | 46 | Group: Development/Libraries |
ed49e4b0 | 47 | Requires: %{name}-devel = %{version}-%{release} |
321c1631 AF |
48 | |
49 | %description static | |
50 | Static version of libgtcpsocket libraries. | |
51 | ||
f8d29b06 | 52 | %description static -l pl.UTF-8 |
321c1631 AF |
53 | Statyczna wersja bibliotek libgtcpsocket. |
54 | ||
55 | %prep | |
56 | %setup -q | |
57 | ||
58 | %build | |
59 | rm -f missing acinclude.m4 | |
60 | %{__libtoolize} | |
61 | %{__aclocal} | |
62 | %{__autoconf} | |
63 | %{__automake} | |
64 | %configure \ | |
65 | --enable-ssl=openssl \ | |
66 | --enable-gtk-doc \ | |
67 | --with-html-dir=%{_gtkdocdir} | |
68 | ||
69 | %{__make} | |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT \ | |
75 | HTML_DIR=%{_gtkdocdir} \ | |
76 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
77 | ||
78 | %find_lang %{name} --with-gnome --all-name | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %post | |
84 | /sbin/ldconfig | |
85 | %gconf_schema_install | |
86 | ||
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %files -f %{name}.lang | |
90 | %defattr(644,root,root,755) | |
91 | %doc AUTHORS ChangeLog NEWS README | |
92 | %{_sysconfdir}/gconf/schemas/* | |
93 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
94 | ||
95 | %files devel | |
96 | %defattr(644,root,root,755) | |
97 | %attr(755,root,root) %{_libdir}/lib*.so | |
98 | %{_libdir}/lib*.la | |
99 | %{_pkgconfigdir}/*.pc | |
100 | %{_includedir}/* | |
515821c1 | 101 | %{_gtkdocdir}/* |
321c1631 AF |
102 | |
103 | %files static | |
104 | %defattr(644,root,root,755) | |
105 | %{_libdir}/lib*.a |