63 lines
1.5 KiB
RPMSpec
63 lines
1.5 KiB
RPMSpec
Name: glib-networking
|
|
Version: 2.27.90
|
|
Release: 1%{?dist}
|
|
Summary: Networking support for GLib
|
|
|
|
Group: Development/Libraries
|
|
License: LGPLv2+
|
|
URL: http://www.gnome.org
|
|
Source: http://download.gnome.org/sources/glib-networking/2.27/%{name}-%{version}.tar.bz2
|
|
Requires: ca-certificates
|
|
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: libproxy-devel
|
|
BuildRequires: gnutls-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: ca-certificates
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure --with-libproxy
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.a
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la
|
|
|
|
%find_lang %{name}
|
|
|
|
%post
|
|
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
|
|
|
|
%postun
|
|
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING NEWS README
|
|
%{_libdir}/gio/modules/libgiolibproxy.so
|
|
%{_libdir}/gio/modules/libgiognutls.so
|
|
|
|
|
|
%changelog
|
|
* Mon Jan 17 2011 Dan Winship <danw@redhat.com> - 2.27.90-1
|
|
- Update to 2.27.90, including TLS support
|
|
|
|
* Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
|
|
- Update to 2.26.0
|
|
|
|
* Thu Oct 7 2010 Matthias Clasen <mclasen@redhat.com> - 2.25.0-1
|
|
- Initial packaging
|