]>
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 |
b4aab13a | 4 | Version: 2.36.1 |
7bd4aa97 | 5 | Release: 1 |
3e051c99 MB |
6 | License: LGPL v2 |
7 | Group: Libraries | |
6c399540 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/glib-networking/2.36/%{name}-%{version}.tar.xz |
b4aab13a | 9 | # Source0-md5: a9cb3d98f4dd42035f43e371066b6e5a |
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 |
6c399540 | 14 | BuildRequires: glib2-devel >= 1:2.35.8 |
7db2284a | 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 | |
6c399540 | 25 | Requires(post,postun): glib2 >= 1:2.35.8 |
3e051c99 | 26 | Requires: ca-certificates |
6c399540 | 27 | Requires: glib2 >= 1:2.35.8 |
2125fbb5 | 28 | Requires: gnutls >= 2.12.8 |
0011f19a | 29 | Requires: gsettings-desktop-schemas |
3e051c99 | 30 | Requires: libproxy >= 0.3.1 |
2125fbb5 | 31 | Requires: p11-kit >= 0.8 |
3e051c99 MB |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
35 | This package contains modules that extend the networking support in | |
36 | GIO. In particular, it contains a libproxy-based GProxyResolver | |
37 | implementation and a gnutls-based GTlsConnection implementation. | |
38 | ||
4b6bcc3c JB |
39 | %description -l pl.UTF-8 |
40 | Ten pakiet zawiera moduły rozszerzające obsługę sieci w GIO, w | |
41 | szczególności: implementację GProxyResolver opartą na libproxy oraz | |
42 | implementację GTlsConnection opartą na gnutls. | |
43 | ||
3e051c99 MB |
44 | %prep |
45 | %setup -q | |
46 | ||
47 | %build | |
48 | %{__libtoolize} | |
49 | %{__aclocal} | |
50 | %{__autoconf} | |
51 | %{__autoheader} | |
52 | %{__automake} | |
53 | %configure \ | |
54 | --disable-silent-rules \ | |
55 | --disable-static \ | |
56 | --with-ca-certificates=/etc/certs/ca-certificates.crt | |
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la | |
66 | ||
67 | %find_lang %{name} | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post | |
73 | umask 022 | |
74 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules || : | |
75 | ||
76 | %postun | |
77 | umask 022 | |
78 | %{_bindir}/gio-querymodules %{_libdir}/gio/modules || : | |
79 | ||
80 | %files -f %{name}.lang | |
81 | %defattr(644,root,root,755) | |
82 | %doc AUTHORS ChangeLog NEWS README | |
d1f0a5e6 | 83 | %attr(755,root,root) %{_libdir}/glib-pacrunner |
3e051c99 MB |
84 | %attr(755,root,root) %{_libdir}/gio/modules/libgiognutls.so |
85 | %attr(755,root,root) %{_libdir}/gio/modules/libgiolibproxy.so | |
d1f0a5e6 AF |
86 | %attr(755,root,root) %{_libdir}/gio/modules/libgiognomeproxy.so |
87 | %{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service |