packages: glib-networking/glib-networking.spec (NEW) - new

megabajt megabajt at pld-linux.org
Tue Feb 22 12:17:59 CET 2011


Author: megabajt                     Date: Tue Feb 22 11:17:59 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/glib-networking:
   glib-networking.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/glib-networking/glib-networking.spec
diff -u /dev/null packages/glib-networking/glib-networking.spec:1.1
--- /dev/null	Tue Feb 22 12:17:59 2011
+++ packages/glib-networking/glib-networking.spec	Tue Feb 22 12:17:53 2011
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+Summary:	Networking support for GLib
+Name:		glib-networking
+Version:	2.27.90
+Release:	1
+License:	LGPL v2
+Group:		Libraries
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/glib-networking/2.27/%{name}-%{version}.tar.bz2
+# Source0-md5:	b2f87d7d1a7e0a3ed499a541183ad7e2
+URL:		http://www.gnome.org/
+BuildRequires:	autoconf >= 2.65
+BuildRequires:	automake
+BuildRequires:	gettext-devel
+BuildRequires:	glib2-devel >= 1:2.28.0
+BuildRequires:	gnutls-devel >= 2.1.7
+BuildRequires:	intltool >= 0.40.0
+BuildRequires:	libproxy-devel >= 0.3.1
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+Requires(post,postun):	glib2 >= 1:2.28.0
+Requires:	ca-certificates
+Requires:	libproxy >= 0.3.1
+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.
+
+%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}/gio/modules/libgiognutls.so
+%attr(755,root,root) %{_libdir}/gio/modules/libgiolibproxy.so
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/02/22 11:17:53  megabajt
+- new
+
================================================================


More information about the pld-cvs-commit mailing list