[mingw-goocanvas2] Initial import (#785274)

Kalev Lember kalev at fedoraproject.org
Tue Jan 31 17:59:13 UTC 2012


commit 11721b4859c87c45c92a0ac2741083dfcd55c61c
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Tue Jan 31 19:55:50 2012 +0200

    Initial import (#785274)

 .gitignore            |    1 +
 mingw-goocanvas2.spec |   82 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..687b004 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/goocanvas-2.0.1.tar.xz
diff --git a/mingw-goocanvas2.spec b/mingw-goocanvas2.spec
new file mode 100644
index 0000000..2f4d141
--- /dev/null
+++ b/mingw-goocanvas2.spec
@@ -0,0 +1,82 @@
+%global __strip %{_mingw32_strip}
+%global __objdump %{_mingw32_objdump}
+%define __debug_install_post %{_mingw32_debug_install_post}
+
+# first two digits of version
+%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
+
+Name:           mingw-goocanvas2
+Version:        2.0.1
+Release:        1%{?dist}
+Summary:        MinGW Windows canvas library for GTK+
+
+License:        LGPLv2+
+Group:          Development/Libraries
+URL:            http://live.gnome.org/GooCanvas
+Source0:        http://download.gnome.org/sources/goocanvas/%{release_version}/goocanvas-%{version}.tar.xz
+
+BuildArch:      noarch
+
+BuildRequires:  mingw32-filesystem >= 68
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw32-binutils
+BuildRequires:  mingw32-gtk3
+# Native one for msgfmt
+BuildRequires:  gettext
+# Native one for glib-genmarshal and glib-mkenums
+BuildRequires:  glib2-devel
+BuildRequires:  python2
+
+%description
+GooCanvas is a canvas widget for GTK+ that uses the cairo 2D library for
+drawing.
+
+This package contains the MinGW Windows cross compiled GooCanvas 2.0 library.
+
+
+%package -n mingw32-goocanvas2
+Summary:        MinGW Windows canvas library for GTK+
+
+%description -n mingw32-goocanvas2
+GooCanvas is a canvas widget for GTK+ that uses the cairo 2D library for
+drawing.
+
+This package contains the MinGW Windows cross compiled GooCanvas 2.0 library.
+
+
+%{?_mingw32_debug_package}
+
+
+%prep
+%setup -q -n goocanvas-%{version}
+
+
+%build
+%{_mingw32_configure} \
+  --disable-static \
+  --enable-python=no
+
+make %{?_smp_mflags} V=1
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# Remove documentation which duplicates Fedora native
+rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc
+
+%find_lang goocanvas2
+
+
+%files -n mingw32-goocanvas2 -f goocanvas2.lang
+%doc COPYING
+%{_mingw32_bindir}/libgoocanvas-2.0-9.dll
+%{_mingw32_includedir}/goocanvas-2.0/
+%{_mingw32_libdir}/libgoocanvas-2.0.dll.a
+%{_mingw32_libdir}/libgoocanvas-2.0.la
+%{_mingw32_libdir}/pkgconfig/goocanvas-2.0.pc
+
+
+%changelog
+* Fri Jan 27 2012 Kalev Lember <kalevlember at gmail.com> - 2.0.1-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..7789be9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+78a98fa526ce73a77a454711c96f07a2  goocanvas-2.0.1.tar.xz


More information about the scm-commits mailing list