automatic rebuild by autodist [release 1.8.5-2mamba;Fri Jul 12 2013]
This commit is contained in:
parent
6ee21a37d5
commit
0335eaf86c
@ -1,2 +1,6 @@
|
|||||||
# libgtksourceview1
|
# libgtksourceview1
|
||||||
|
|
||||||
|
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget.
|
||||||
|
It improves the gtk+ text widget by implementing syntax highlighting and other features typical of a source editor.
|
||||||
|
It is part of the GNOME Desktop Environment and it is currently being used by gedit, MonoDevelop, Glimmer and several other projects.
|
||||||
|
|
||||||
|
15
libgtksourceview1-1.8.5-build-fix.patch
Normal file
15
libgtksourceview1-1.8.5-build-fix.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- gtksourceview-1.8.5/gtksourceview/gtksourceregex.c.orig 2013-07-11 01:04:55.514801451 +0200
|
||||||
|
+++ gtksourceview-1.8.5/gtksourceview/gtksourceregex.c 2013-07-11 01:06:13.305915128 +0200
|
||||||
|
@@ -26,12 +26,7 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
|
-#ifdef NATIVE_GNU_REGEX
|
||||||
|
-#include <sys/types.h>
|
||||||
|
-#include <regex.h>
|
||||||
|
-#else
|
||||||
|
#include "gnu-regex/regex.h"
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
#include "gtksourceregex.h"
|
||||||
|
|
14
libgtksourceview1-1.8.5-gcc-4.8.patch
Normal file
14
libgtksourceview1-1.8.5-gcc-4.8.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
--- gtksourceview-1.8.5/gtksourceview/gnu-regex/regex.h.orig 2013-07-12 12:05:44.379187659 +0200
|
||||||
|
+++ gtksourceview-1.8.5/gtksourceview/gnu-regex/regex.h 2013-07-12 12:05:36.205270418 +0200
|
||||||
|
@@ -22,11 +22,6 @@
|
||||||
|
#ifndef _REGEX_H
|
||||||
|
#define _REGEX_H 1
|
||||||
|
|
||||||
|
-#define regcomp gtksourceview_regcomp
|
||||||
|
-#define regexec gtksourceview_regexec
|
||||||
|
-#define regerror gtksourceview_regerror
|
||||||
|
-#define regfree gtksourceview_regfree
|
||||||
|
-
|
||||||
|
/* Allow the use in C++ code. */
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
121
libgtksourceview1.spec
Normal file
121
libgtksourceview1.spec
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
Name: libgtksourceview1
|
||||||
|
Version: 1.8.5
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: A text widget that extends the standard GTK+ 2.x text widget
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||||
|
URL: http://gtksourceview.sourceforge.net
|
||||||
|
Source: http://ftp.gnome.org/pub/gnome/sources/gtksourceview/1.8/gtksourceview-%{version}.tar.gz
|
||||||
|
Patch0: libgtksourceview1-1.8.5-build-fix.patch
|
||||||
|
Patch1: libgtksourceview1-1.8.5-gcc-4.8.patch
|
||||||
|
License: GPL
|
||||||
|
BuildRequires: gettext-devel
|
||||||
|
BuildRequires: perl-XML-Parser
|
||||||
|
BuildRequires: libpcre-devel
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
BuildRequires: libart_lgpl-devel
|
||||||
|
BuildRequires: libatk-devel
|
||||||
|
BuildRequires: libcairo-devel
|
||||||
|
BuildRequires: libfontconfig-devel
|
||||||
|
BuildRequires: libfreetype-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libgnomeprint-devel
|
||||||
|
BuildRequires: libgtk-devel
|
||||||
|
BuildRequires: libpango-devel
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget.
|
||||||
|
It improves the gtk+ text widget by implementing syntax highlighting and other features typical of a source editor.
|
||||||
|
It is part of the GNOME Desktop Environment and it is currently being used by gedit, MonoDevelop, Glimmer and several other projects.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Static libraries and headers for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget.
|
||||||
|
It improves the gtk+ text widget by implementing syntax highlighting and other features typical of a source editor.
|
||||||
|
It is part of the GNOME Desktop Environment and it is currently being used by gedit, MonoDevelop, Glimmer and several other projects.
|
||||||
|
|
||||||
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
|
%package apidocs
|
||||||
|
Group: Documentation
|
||||||
|
Summary: API documentation for %{name}
|
||||||
|
Requires: gtk-doc
|
||||||
|
|
||||||
|
|
||||||
|
%description apidocs
|
||||||
|
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget.
|
||||||
|
It improves the gtk+ text widget by implementing syntax highlighting and other features typical of a source editor.
|
||||||
|
It is part of the GNOME Desktop Environment and it is currently being used by gedit, MonoDevelop, Glimmer and several other projects.
|
||||||
|
This package contains the API documentation needed for development.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n gtksourceview-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --enable-gtk-doc
|
||||||
|
%make LDFLAGS="`pkg-config --libs gtk+-2.0`"
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%find_lang gtksourceview-1.0
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -f gtksourceview-1.0.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libgtksourceview-1.0.so.*
|
||||||
|
%dir %{_datadir}/gtksourceview-1.0
|
||||||
|
%dir %{_datadir}/gtksourceview-1.0/language-specs
|
||||||
|
%{_datadir}/gtksourceview-1.0/language-specs/*.lang
|
||||||
|
%{_datadir}/gtksourceview-1.0/language-specs/language.dtd
|
||||||
|
%{_datadir}/gtksourceview-1.0/language-specs/language.rng
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/gtksourceview-1.0/gtksourceview
|
||||||
|
%{_includedir}/gtksourceview-1.0/gtksourceview/*.h
|
||||||
|
%{_libdir}/libgtksourceview-1.0.la
|
||||||
|
%{_libdir}/libgtksourceview-1.0.so
|
||||||
|
%{_exec_prefix}/lib/pkgconfig/gtksourceview-1.0.pc
|
||||||
|
%doc ChangeLog NEWS README
|
||||||
|
|
||||||
|
%files apidocs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/gtk-doc/html/gtksourceview
|
||||||
|
%{_datadir}/gtk-doc/html/gtksourceview/*.html
|
||||||
|
#%{_datadir}/gtk-doc/html/gtksourceview/gtksourceview.devhelp
|
||||||
|
%{_datadir}/gtk-doc/html/gtksourceview/gtksourceview.devhelp2
|
||||||
|
%{_datadir}/gtk-doc/html/gtksourceview/*.png
|
||||||
|
%{_datadir}/gtk-doc/html/gtksourceview/index.sgml
|
||||||
|
%{_datadir}/gtk-doc/html/gtksourceview/style.css
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 12 2013 Automatic Build System <autodist@mambasoft.it> 1.8.5-2mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Wed Feb 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.5-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Mon Sep 29 2008 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.8.4-1mamba
|
||||||
|
- this version is required by boo
|
Loading…
Reference in New Issue
Block a user