[mingw-gtksourceview3] Initial import (#730781)
Kalev Lember
kalev at fedoraproject.org
Sat Aug 20 15:25:55 UTC 2011
commit 4f484840b0cb30d961d0fc5a1d03ff5397c69e61
Author: Kalev Lember <kalevlember at gmail.com>
Date: Sat Aug 20 18:23:28 2011 +0300
Initial import (#730781)
.gitignore | 1 +
mingw-gtksourceview3.spec | 102 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 104 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b8dbe0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gtksourceview-3.1.4.tar.xz
diff --git a/mingw-gtksourceview3.spec b/mingw-gtksourceview3.spec
new file mode 100644
index 0000000..6559ab6
--- /dev/null
+++ b/mingw-gtksourceview3.spec
@@ -0,0 +1,102 @@
+%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}')
+
+%define po_package gtksourceview-3.0
+
+Name: mingw-gtksourceview3
+Version: 3.1.4
+Release: 2%{?dist}
+Summary: MinGW Windows library for viewing source files
+
+# the library itself is LGPL, some .lang files are GPL
+License: LGPLv2+ and GPLv2+
+Group: Development/Libraries
+URL: http://www.gtk.org
+Source0: http://download.gnome.org/sources/gtksourceview/%{release_version}/gtksourceview-%{version}.tar.xz
+
+BuildArch: noarch
+
+BuildRequires: mingw32-filesystem >= 68
+BuildRequires: mingw32-gcc
+BuildRequires: mingw32-binutils
+BuildRequires: mingw32-gettext
+BuildRequires: mingw32-gtk3
+BuildRequires: mingw32-libxml2
+
+# Native one for msgfmt
+BuildRequires: gettext
+# Native one for glib-genmarshal and glib-mkenums
+BuildRequires: glib2-devel
+BuildRequires: intltool
+
+%description
+GtkSourceView is a text widget that extends the standard GTK+
+GtkTextView widget. It improves GtkTextView by implementing
+syntax highlighting and other features typical of a source code editor.
+
+This package contains the MinGW Windows cross compiled GtkSourceView library,
+version 3.
+
+
+%package -n mingw32-gtksourceview3
+Summary: MinGW Windows library for viewing source files
+
+%description -n mingw32-gtksourceview3
+GtkSourceView is a text widget that extends the standard GTK+
+GtkTextView widget. It improves GtkTextView by implementing
+syntax highlighting and other features typical of a source code editor.
+
+This package contains the MinGW Windows cross compiled GtkSourceView library,
+version 3.
+
+
+%{?_mingw32_debug_package}
+
+
+%prep
+%setup -q -n gtksourceview-%{version}
+
+
+%build
+%{_mingw32_configure} \
+ --disable-static \
+ --disable-gtk-doc \
+ --disable-introspection
+
+make %{?_smp_mflags} V=1
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# remove unwanted files
+rm $RPM_BUILD_ROOT%{_mingw32_datadir}/gtksourceview-3.0/language-specs/check-language.sh
+rm $RPM_BUILD_ROOT%{_mingw32_datadir}/gtksourceview-3.0/styles/check-style.sh
+
+# Remove documentation that duplicates what's in the native package
+rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc
+
+%find_lang %{po_package}
+
+
+%files -n mingw32-gtksourceview3 -f %{po_package}.lang
+%doc COPYING
+%{_mingw32_bindir}/libgtksourceview-3.0-0.dll
+%{_mingw32_includedir}/gtksourceview-3.0/
+%{_mingw32_libdir}/libgtksourceview-3.0.dll.a
+%{_mingw32_libdir}/libgtksourceview-3.0.la
+%{_mingw32_libdir}/pkgconfig/gtksourceview-3.0.pc
+%{_mingw32_datadir}/gtksourceview-3.0/
+
+
+%changelog
+* Sat Aug 20 2011 Kalev Lember <kalevlember at gmail.com> - 3.1.4-2
+- Explicitly disable introspection (#730781)
+- Added comments about native buildrequires
+
+* Mon Aug 15 2011 Kalev Lember <kalevlember at gmail.com> - 3.1.4-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..f888eca 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c359607545fcd9d9cbc0bafbf4a0f6a9 gtksourceview-3.1.4.tar.xz
More information about the scm-commits
mailing list