rpms/gtksourceview2/devel gtksourceview-1.90.1-gregex.patch, NONE, 1.1 gtksourceview2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Matthias Clasen (mclasen)
fedora-extras-commits at redhat.com
Wed Jul 11 00:13:03 UTC 2007
Author: mclasen
Update of /cvs/pkgs/rpms/gtksourceview2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28600/devel
Modified Files:
.cvsignore sources
Added Files:
gtksourceview-1.90.1-gregex.patch gtksourceview2.spec
Log Message:
initial import
gtksourceview-1.90.1-gregex.patch:
--- NEW FILE gtksourceview-1.90.1-gregex.patch ---
diff -up gtksourceview-1.90.1/configure.gregex gtksourceview-1.90.1/configure
--- gtksourceview-1.90.1/configure.gregex 2007-07-02 13:44:42.000000000 -0400
+++ gtksourceview-1.90.1/configure 2007-07-02 13:48:44.000000000 -0400
@@ -21701,7 +21701,7 @@ else
fi
-if $PKG_CONFIG --atleast-version=2.14.0 glib-2.0; then
+if $PKG_CONFIG --atleast-version=2.13.2 glib-2.0; then
BUILD_GREGEX=no
USE_SYSTEM_PCRE=yes
else
--- NEW FILE gtksourceview2.spec ---
%define glib2_version 2.13.3
%define gtk2_version 2.8.0
%define po_package gtksourceview-2.0
Summary: A library for viewing source files
Name: gtksourceview2
Version: 1.90.1
Release: 4%{?dist}
License: GPL
Group: System Environment/Libraries
URL: http://gtksourceview.sourceforge.net/
Source0: http://download.gnome.org/sources/gtksourceview/1.90/gtksourceview-%{version}.tar.bz2
Patch0: gtksourceview-1.90.1-gregex.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gnome-vfs2-devel
BuildRequires: libxml2-devel
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: intltool >= 0.35
BuildRequires: gettext
%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 version 2 of GtkSourceView. The older version
1 is contains in the gtksourceview package.
%package devel
Summary: Files to compile applications that use gtksourceview2
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gtk2-devel >= %{gtk2_version}
Requires: libxml2-devel
Requires: pkgconfig
%description devel
gtksourceview2-devel contains the files required to compile
applications which use GtkSourceView 2.x.
%prep
%setup -q -n gtksourceview-%{version}
%patch0 -p1 -b .gregex
%build
%configure --disable-gtk-doc --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# avoid conflict with compat-gtksourceview
pushd $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
mv gtksourceview/gtksourceview.devhelp gtksourceview/gtksourceview-2.0.devhelp
mv gtksourceview/gtksourceview.devhelp2 gtksourceview/gtksourceview-2.0.devhelp2
mv gtksourceview gtksourceview-2.0
popd
# remove unwanted files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs/check.sh
rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs/convert.py
%find_lang %{po_package}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{po_package}.lang
%defattr(-,root,root,-)
%doc README AUTHORS COPYING NEWS MAINTAINERS ChangeLog
%{_datadir}/gtksourceview-2.0
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/gtksourceview-2.0
%{_datadir}/gtk-doc
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%changelog
* Mon Jul 2 2007 Matthias Clasen <mclasen at redhat.com> - 1.90.1-4
- More package review feedback:
+ don't ship check.sh and convert.py scripts
+ use GRegex from glib
* Fri Jun 29 2007 Matthias Clasen <mclasen at redhat.com> - 1.90.1-3
- Package review feedback
* Wed Jun 27 2007 Matthias Clasen <mclasen at redhat.com> - 1.90.1-2
- New package for GtkSourceView 2.x, based on gtksourceview
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gtksourceview2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 10 Jul 2007 22:47:08 -0000 1.1
+++ .cvsignore 11 Jul 2007 00:12:31 -0000 1.2
@@ -0,0 +1 @@
+gtksourceview-1.90.1.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gtksourceview2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 10 Jul 2007 22:47:08 -0000 1.1
+++ sources 11 Jul 2007 00:12:31 -0000 1.2
@@ -0,0 +1 @@
+4c627eda26c63cf76cdabce56e247d91 gtksourceview-1.90.1.tar.bz2
More information about the scm-commits
mailing list