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