glib-networking-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Name: glib-networking
  2. Version: 2.29.9
  3. Release: 1%{?_dist_release}
  4. Summary: Networking support for GLib
  5. Group: Development/Libraries
  6. License: LGPLv2+
  7. URL: http://www.gnome.org
  8. Source: http://download.gnome.org/sources/glib-networking/2.29/%{name}-%{version}.tar.xz
  9. BuildRequires: glib2-devel
  10. BuildRequires: libproxy-devel
  11. BuildRequires: gnutls-devel
  12. BuildRequires: intltool
  13. # need to build ca-bundle.crt
  14. BuildRequires: openssl
  15. Requires: openssl
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. This package contains modules that extend the networking support in GIO.
  20. In particular, it contains a libproxy-based GProxyResolver implementation
  21. and a gnutls-based GTlsConnection implementation.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure \
  26. --with-libproxy \
  27. --with-ca-certificates=%{_datadir}/ssl/certs/ca-bundle.crt
  28. make %{?_smp_mflags} V=1
  29. %install
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. rm -f $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.a
  32. rm -f $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la
  33. %find_lang %{name}
  34. %post
  35. gio-querymodules %{_libdir}/gio/modules
  36. %postun
  37. gio-querymodules %{_libdir}/gio/modules
  38. %files -f %{name}.lang
  39. %defattr(-,root,root,-)
  40. %doc COPYING NEWS README
  41. %{_libdir}/gio/modules/libgiolibproxy.so
  42. %{_libdir}/gio/modules/libgiognutls.so
  43. %{_libexecdir}/glib-pacrunner
  44. %{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
  45. %changelog
  46. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.9-1
  47. - initial build for Vine Linux