[mingw-glib-networking: 2/13] Initial import (#700348)

epienbro epienbro at fedoraproject.org
Tue Mar 6 19:55:27 UTC 2012


commit e5e7c0164102a2ab5f43cce1bb4a9bbaff3db141
Author: Kalev Lember <kalev at smartlink.ee>
Date:   Thu Apr 28 20:45:39 2011 +0300

    Initial import (#700348)

 .gitignore                   |    1 +
 mingw32-glib-networking.spec |   66 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6627277 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/glib-networking-2.28.6.1.tar.bz2
diff --git a/mingw32-glib-networking.spec b/mingw32-glib-networking.spec
new file mode 100644
index 0000000..8cbc6a2
--- /dev/null
+++ b/mingw32-glib-networking.spec
@@ -0,0 +1,66 @@
+%global __strip %{_mingw32_strip}
+%global __objdump %{_mingw32_objdump}
+%global _use_internal_dependency_generator 0
+%global __find_requires %{_mingw32_findrequires}
+%global __find_provides %{_mingw32_findprovides}
+%define __debug_install_post %{_mingw32_debug_install_post}
+
+# first two digits of version
+%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
+
+Name:           mingw32-glib-networking
+Version:        2.28.6.1
+Release:        2%{?dist}
+Summary:        MinGW Windows glib-networking library
+
+License:        LGPLv2+
+Group:          Development/Libraries
+URL:            http://www.gnome.org/
+Source0:        http://ftp.gnome.org/pub/GNOME/sources/glib-networking/%{release_version}/glib-networking-%{version}.tar.bz2
+
+BuildArch:      noarch
+
+BuildRequires:  mingw32-filesystem
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw32-binutils
+BuildRequires:  mingw32-glib2
+BuildRequires:  mingw32-gnutls >= 2.10
+BuildRequires:  pkgconfig
+BuildRequires:  intltool
+
+%description
+This package contains modules that extend the networking support in GIO.
+
+
+%{?_mingw32_debug_package}
+
+
+%prep
+%setup -q -n glib-networking-%{version}
+
+
+%build
+%{_mingw32_configure} --disable-static
+make %{?_smp_mflags} V=1
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/gio/modules/*.dll.a
+rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/gio/modules/*.la
+
+%find_lang glib-networking
+
+
+%files -f glib-networking.lang
+%defattr(-,root,root,-)
+%doc COPYING
+%{_mingw32_libdir}/gio/modules/libgiognutls.dll
+
+
+%changelog
+* Thu Apr 28 2011 Kalev Lember <kalev at smartlink.ee> - 2.28.6.1-2
+- Dropped Requires: pkgconfig (#700348)
+
+* Wed Apr 27 2011 Kalev Lember <kalev at smartlink.ee> - 2.28.6.1-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..655d9e7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d7d99c1f993398f06818a88ada04bcce  glib-networking-2.28.6.1.tar.bz2


More information about the scm-commits mailing list