glib-networking/glib-networking.spec

52 lines
1.1 KiB
RPMSpec
Raw Normal View History

2010-10-08 22:20:04 +00:00
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 <mclasen@redhat.com> - 2.25.0-1
- Initial packaging