- from PLD with systemd stuff removed
authorMarcin Krol <hawk@tld-linux.org>
Tue, 23 Jan 2018 10:51:39 +0000 (10:51 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 23 Jan 2018 10:51:39 +0000 (10:51 +0000)
glib-networking.spec [new file with mode: 0644]

diff --git a/glib-networking.spec b/glib-networking.spec
new file mode 100644 (file)
index 0000000..fedeecb
--- /dev/null
@@ -0,0 +1,85 @@
+Summary:       Networking support for GLib
+Summary(pl.UTF-8):     Obsługa sieci dla GLiba
+Name:          glib-networking
+Version:       2.54.0
+Release:       1
+License:       LGPL v2
+Group:         Libraries
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/glib-networking/2.54/%{name}-%{version}.tar.xz
+# Source0-md5: 45d2f8b650412c05e45b08aa78a3f735
+URL:           http://www.gnome.org/
+BuildRequires: autoconf >= 2.65
+BuildRequires: automake >= 1:1.11
+BuildRequires: gettext-tools >= 0.19.4
+BuildRequires: glib2-devel >= 1:2.46.0
+BuildRequires: gnutls-devel >= 3.0
+BuildRequires: gsettings-desktop-schemas-devel
+BuildRequires: libproxy-devel >= 0.3.1
+BuildRequires: libtool >= 2:2.0
+BuildRequires: p11-kit-devel >= 0.8
+BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires(post,postun): glib2 >= 1:2.46.0
+Requires:      ca-certificates
+Requires:      glib2 >= 1:2.46.0
+Requires:      gnutls >= 3.0
+Requires:      gsettings-desktop-schemas
+Requires:      libproxy >= 0.3.1
+Requires:      p11-kit >= 0.8
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains modules that extend the networking support in
+GIO. In particular, it contains a libproxy-based GProxyResolver
+implementation and a gnutls-based GTlsConnection implementation.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera moduły rozszerzające obsługę sieci w GIO, w
+szczególności: implementację GProxyResolver opartą na libproxy oraz
+implementację GTlsConnection opartą na gnutls.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --disable-silent-rules \
+       --disable-static \
+       --with-ca-certificates=/etc/certs/ca-certificates.crt
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+umask 022
+%{_bindir}/gio-querymodules %{_libdir}/gio/modules || :
+
+%postun
+umask 022
+%{_bindir}/gio-querymodules %{_libdir}/gio/modules || :
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/glib-pacrunner
+%attr(755,root,root) %{_libdir}/gio/modules/libgiognutls.so
+%attr(755,root,root) %{_libdir}/gio/modules/libgiolibproxy.so
+%attr(755,root,root) %{_libdir}/gio/modules/libgiognomeproxy.so
+%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service