Initial import.
This commit is contained in:
parent
7fef1500e4
commit
e6c547f5d4
@ -0,0 +1 @@
|
||||
glib-2.19.5.tar.bz2
|
||||
15
glib-i386-atomic.patch
Normal file
15
glib-i386-atomic.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff -up glib-2.16.6/configure.atomic glib-2.16.6/configure
|
||||
--- glib-2.16.6/configure.atomic 2008-10-27 18:24:20.000000000 -0400
|
||||
+++ glib-2.16.6/configure 2008-10-27 18:24:31.000000000 -0400
|
||||
@@ -42742,11 +42742,6 @@ $as_echo_n "checking whether to use asse
|
||||
|
||||
if test x"$GCC" = xyes; then
|
||||
case $host_cpu in
|
||||
- i386)
|
||||
- { $as_echo "$as_me:$LINENO: result: none" >&5
|
||||
-$as_echo "none" >&6; }
|
||||
- glib_memory_barrier_needed=no
|
||||
- ;;
|
||||
i?86)
|
||||
{ $as_echo "$as_me:$LINENO: result: i486" >&5
|
||||
$as_echo "i486" >&6; }
|
||||
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
mingw32-glib2-2_19_5-2_fc11:HEAD:mingw32-glib2-2.19.5-2.fc11.src.rpm:1233143135
|
||||
140
mingw32-glib2.spec
Normal file
140
mingw32-glib2.spec
Normal file
@ -0,0 +1,140 @@
|
||||
%define __strip %{_mingw32_strip}
|
||||
%define __objdump %{_mingw32_objdump}
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_requires %{_mingw32_findrequires}
|
||||
%define __find_provides %{_mingw32_findprovides}
|
||||
|
||||
Name: mingw32-glib2
|
||||
Version: 2.19.5
|
||||
Release: 2%{?dist}
|
||||
Summary: MinGW Windows GLib2 library
|
||||
|
||||
License: LGPLv2+
|
||||
Group: Development/Libraries
|
||||
URL: http://www.gtk.org
|
||||
Source0: http://download.gnome.org/sources/glib/2.19/glib-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Patch0: glib-i386-atomic.patch
|
||||
|
||||
BuildRequires: mingw32-filesystem >= 43-6
|
||||
BuildRequires: mingw32-gcc
|
||||
BuildRequires: mingw32-binutils
|
||||
BuildRequires: mingw32-dlfcn
|
||||
BuildRequires: mingw32-iconv
|
||||
BuildRequires: mingw32-gettext
|
||||
|
||||
BuildRequires: pkgconfig
|
||||
# Native version required for msgfmt use in build
|
||||
BuildRequires: gettext
|
||||
# Native version required for glib-genmarshal
|
||||
BuildRequires: glib2-devel
|
||||
|
||||
# These are required for the glib-i386-atomic patch.
|
||||
BuildRequires: autoconf, automake, libtool, gettext-devel, gtk-doc
|
||||
|
||||
%description
|
||||
MinGW Windows Glib2 library.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n glib-%{version}
|
||||
%patch0 -p1 -b .i386-atomic
|
||||
|
||||
# Required for the glib-i386-atomic patch.
|
||||
libtoolize --force --copy
|
||||
autoreconf
|
||||
|
||||
|
||||
%build
|
||||
%{_mingw32_configure} --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
rm -f $RPM_BUILD_ROOT/%{_mingw32_libdir}/charset.alias
|
||||
|
||||
# Remove manpages which duplicate Fedora native.
|
||||
rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}
|
||||
|
||||
%find_lang glib20
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files -f glib20.lang
|
||||
%defattr(-,root,root)
|
||||
%{_mingw32_bindir}/glib-genmarshal.exe
|
||||
%{_mingw32_bindir}/glib-gettextize
|
||||
%{_mingw32_bindir}/glib-mkenums
|
||||
%{_mingw32_bindir}/gobject-query.exe
|
||||
%{_mingw32_bindir}/gspawn-win32-helper-console.exe
|
||||
%{_mingw32_bindir}/gspawn-win32-helper.exe
|
||||
%{_mingw32_bindir}/libgio-2.0-0.dll
|
||||
%{_mingw32_bindir}/libglib-2.0-0.dll
|
||||
%{_mingw32_bindir}/libgmodule-2.0-0.dll
|
||||
%{_mingw32_bindir}/libgobject-2.0-0.dll
|
||||
%{_mingw32_bindir}/libgthread-2.0-0.dll
|
||||
%{_mingw32_includedir}/glib-2.0/
|
||||
%{_mingw32_libdir}/gio-2.0.def
|
||||
%{_mingw32_libdir}/glib-2.0.def
|
||||
%{_mingw32_libdir}/glib-2.0/
|
||||
%{_mingw32_libdir}/gmodule-2.0.def
|
||||
%{_mingw32_libdir}/gobject-2.0.def
|
||||
%{_mingw32_libdir}/gthread-2.0.def
|
||||
%{_mingw32_libdir}/libgio-2.0.dll.a
|
||||
%{_mingw32_libdir}/libgio-2.0.la
|
||||
%{_mingw32_libdir}/libglib-2.0.dll.a
|
||||
%{_mingw32_libdir}/libglib-2.0.la
|
||||
%{_mingw32_libdir}/libgmodule-2.0.dll.a
|
||||
%{_mingw32_libdir}/libgmodule-2.0.la
|
||||
%{_mingw32_libdir}/libgobject-2.0.dll.a
|
||||
%{_mingw32_libdir}/libgobject-2.0.la
|
||||
%{_mingw32_libdir}/libgthread-2.0.dll.a
|
||||
%{_mingw32_libdir}/libgthread-2.0.la
|
||||
%{_mingw32_libdir}/pkgconfig/gio-2.0.pc
|
||||
%{_mingw32_libdir}/pkgconfig/gio-unix-2.0.pc
|
||||
%{_mingw32_libdir}/pkgconfig/glib-2.0.pc
|
||||
%{_mingw32_libdir}/pkgconfig/gmodule-2.0.pc
|
||||
%{_mingw32_libdir}/pkgconfig/gmodule-export-2.0.pc
|
||||
%{_mingw32_libdir}/pkgconfig/gmodule-no-export-2.0.pc
|
||||
%{_mingw32_libdir}/pkgconfig/gobject-2.0.pc
|
||||
%{_mingw32_libdir}/pkgconfig/gthread-2.0.pc
|
||||
%{_mingw32_datadir}/aclocal/glib-2.0.m4
|
||||
%{_mingw32_datadir}/aclocal/glib-gettext.m4
|
||||
%{_mingw32_datadir}/glib-2.0/
|
||||
%{_mingw32_datadir}/gtk-doc/html/gio/
|
||||
%{_mingw32_datadir}/gtk-doc/html/glib/
|
||||
%{_mingw32_datadir}/gtk-doc/html/gobject/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 2.19.5-2
|
||||
- Rebase to native Fedora version 2.19.5.
|
||||
- Use _smp_mflags.
|
||||
- Use find_lang.
|
||||
- Don't build static libraries.
|
||||
- +BR dlfcn.
|
||||
|
||||
* Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-2
|
||||
- Rename mingw -> mingw32.
|
||||
|
||||
* Mon Sep 22 2008 Daniel P. Berrange <berrange@redhat.com> - 2.18.1-1
|
||||
- Update to 2.18.1 release
|
||||
|
||||
* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.0-3
|
||||
- Remove manpages which duplicate Fedora native.
|
||||
|
||||
* Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.18.0-2
|
||||
- Add BR on pkgconfig, gettext and glib2 (native)
|
||||
|
||||
* Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 2.18.0-1
|
||||
- Initial RPM release
|
||||
Loading…
Reference in New Issue
Block a user