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