]>
Commit | Line | Data |
---|---|---|
3e051c99 | 1 | Summary: Networking support for GLib |
4b6bcc3c | 2 | Summary(pl.UTF-8): Obsługa sieci dla GLiba |
3e051c99 | 3 | Name: glib-networking |
7db2284a | 4 | Version: 2.32.0 |
a9f698aa | 5 | Release: 1 |
3e051c99 MB |
6 | License: LGPL v2 |
7 | Group: Libraries | |
7db2284a ŁK |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/glib-networking/2.32/%{name}-%{version}.tar.xz |
9 | # Source0-md5: b8e90f5f5eeaa52ba5837525ace38ab1 | |
3e051c99 MB |
10 | URL: http://www.gnome.org/ |
11 | BuildRequires: autoconf >= 2.65 | |
7db2284a | 12 | BuildRequires: automake >= 1:1.11 |
3e051c99 | 13 | BuildRequires: gettext-devel |
7db2284a ŁK |
14 | BuildRequires: glib2-devel >= 1:2.31.6 |
15 | BuildRequires: gnutls-devel >= 2.12.8 | |
a9f698aa | 16 | BuildRequires: gsettings-desktop-schemas-devel |
3e051c99 | 17 | BuildRequires: intltool >= 0.40.0 |
02cef20f | 18 | BuildRequires: libgcrypt-devel >= 1.2.0 |
3e051c99 | 19 | BuildRequires: libproxy-devel >= 0.3.1 |
4b6bcc3c | 20 | BuildRequires: libtool >= 2:2.0 |
7db2284a | 21 | BuildRequires: p11-kit-devel >= 0.8 |
3e051c99 | 22 | BuildRequires: pkgconfig |
7db2284a ŁK |
23 | BuildRequires: tar >= 1:1.22 |
24 | BuildRequires: xz | |
25 | Requires(post,postun): glib2 >= 1:2.31.6 | |
3e051c99 | 26 | Requires: ca-certificates |
a66ce7d6 | 27 | Requires: glib2 >= 1:2.31.6 |
3e051c99 MB |
28 | Requires: libproxy >= 0.3.1 |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | This package contains modules that extend the networking support in | |
33 | GIO. In particular, it contains a libproxy-based GProxyResolver | |
34 | implementation and a gnutls-based GTlsConnection implementation. | |
35 | ||
4b6bcc3c JB |
36 | %description -l pl.UTF-8 |
37 | Ten pakiet zawiera moduły rozszerzające obsługę sieci w GIO, w | |
38 | szczególności: implementację GProxyResolver opartą na libproxy oraz | |
39 | implementację GTlsConnection opartą na gnutls. | |
40 | ||
3e051c99 MB |
41 | %prep |
42 | %setup -q | |
43 | ||
44 | %build | |
45 | %{__libtoolize} | |
46 | %{__aclocal} | |
47 | %{__autoconf} | |
48 | %{__autoheader} | |
49 | %{__automake} | |
50 | %configure \ | |
51 | --disable-silent-rules \ | |
52 | --disable-static \ | |
53 | --with-ca-certificates=/etc/certs/ca-certificates.crt | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la | |
63 | ||
64 | %find_lang %{name} | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post | |
70 | umask 022 | |
71 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules || : | |
72 | ||
73 | %postun | |
74 | umask 022 | |
75 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules || : | |
76 | ||
77 | %files -f %{name}.lang | |
78 | %defattr(644,root,root,755) | |
79 | %doc AUTHORS ChangeLog NEWS README | |
d1f0a5e6 | 80 | %attr(755,root,root) %{_libdir}/glib-pacrunner |
3e051c99 MB |
81 | %attr(755,root,root) %{_libdir}/gio/modules/libgiognutls.so |
82 | %attr(755,root,root) %{_libdir}/gio/modules/libgiolibproxy.so | |
d1f0a5e6 AF |
83 | %attr(755,root,root) %{_libdir}/gio/modules/libgiognomeproxy.so |
84 | %{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service |