From 96afc43d218c76c58a939de45c847663c7f6b4f1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Oct 08 2010 22:20:04 +0000 Subject: initial import --- diff --git a/.gitignore b/.gitignore index e69de29..7fd6727 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/glib-networking-2.25.0.tar.bz2 diff --git a/glib-networking.spec b/glib-networking.spec new file mode 100644 index 0000000..14b872c --- /dev/null +++ b/glib-networking.spec @@ -0,0 +1,51 @@ +Name: glib-networking +Version: 2.25.0 +Release: 1%{?dist} +Summary: Proxy support for GLib + +Group: Development/Libraries +License: LGPLv2+ +URL: http://www.gnome.org +Source: http://download.gnome.org/sources/glib-networking/2.25/%{name}-%{version}.tar.bz2 + +BuildRequires: glib2-devel +BuildRequires: libproxy-devel +BuildRequires: intltool + +%description +This package contains modules that extend the networking support in GIO. +In particular, it contains a libproxy-based GIOResolver 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 + + +%changelog +* Thu Oct 7 2010 Matthias Clasen - 2.25.0-1 +- Initial packaging diff --git a/sources b/sources index e69de29..b4acaf6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +030ee91cd6bc35a71716d4b6d323d17e glib-networking-2.25.0.tar.bz2