From c2378d81634e3dd879bb2333f663720a49e9bf2e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2017 03:49:32 +0000 Subject: import gtksourceview3-3.22.2-1.el7 --- diff --git a/.gitignore b/.gitignore index 4e057af..04bd4c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/gtksourceview-3.14.3.tar.xz +SOURCES/gtksourceview-3.22.2.tar.xz diff --git a/.gtksourceview3.metadata b/.gtksourceview3.metadata index d8ac2ea..db46fb2 100644 --- a/.gtksourceview3.metadata +++ b/.gtksourceview3.metadata @@ -1 +1 @@ -b351971e20e95097168f761db89d258d1012effd SOURCES/gtksourceview-3.14.3.tar.xz +0e83221694aac1407c75250331c5b2967dacbe2f SOURCES/gtksourceview-3.22.2.tar.xz diff --git a/SPECS/gtksourceview3.spec b/SPECS/gtksourceview3.spec index 8d151e1..1441b5e 100644 --- a/SPECS/gtksourceview3.spec +++ b/SPECS/gtksourceview3.spec @@ -1,24 +1,29 @@ -%define gtk_version 3.13.7 +%global glib_version 2.48 +%global gtk_version 3.20 -%define po_package gtksourceview-3.0 +%global po_package gtksourceview-3.0 -Summary: A library for viewing source files Name: gtksourceview3 -Version: 3.14.3 +Version: 3.22.2 Release: 1%{?dist} +Summary: A library for viewing source files + License: LGPLv2+ -Group: System Environment/Libraries -URL: http://gtksourceview.sourceforge.net/ -#VCS: git:git://git.gnome.org/gtksourceview -Source0: http://download.gnome.org/sources/gtksourceview/3.14/gtksourceview-%{version}.tar.xz -BuildRequires: libxml2-devel -BuildRequires: gtk3-devel >= %{gtk_version} -BuildRequires: glade-devel -BuildRequires: intltool >= 0.35 +URL: https://wiki.gnome.org/Projects/GtkSourceView +Source0: http://download.gnome.org/sources/gtksourceview/3.22/gtksourceview-%{version}.tar.xz + +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(gladeui-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(glib-2.0) >= %{glib_version} +BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk_version} +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(pango) BuildRequires: gettext -BuildRequires: gobject-introspection-devel -BuildRequires: vala-tools +BuildRequires: itstool +BuildRequires: vala +Requires: glib2%{?_isa} >= %{glib_version} Requires: gtk3%{?_isa} >= %{gtk_version} %description @@ -31,23 +36,31 @@ This package contains version 3 of GtkSourceView. The older version %package devel Summary: Files to compile applications that use gtksourceview3 -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel gtksourceview3-devel contains the files required to compile applications which use GtkSourceView 3. +%package tests +Summary: Tests for the gtksourceview3 package +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +The gtksourceview3-tests package contains tests that can be used to verify +the functionality of the installed gtksourceview package. + %prep %setup -q -n gtksourceview-%{version} %build -%configure --disable-gtk-doc --disable-static --enable-glade-catalog +%configure --disable-gtk-doc --disable-static --enable-glade-catalog \ + --enable-installed-tests make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install # remove unwanted files rm -f $RPM_BUILD_ROOT%{_libdir}/*.la @@ -59,7 +72,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %postun -p /sbin/ldconfig %files -f %{po_package}.lang -%doc README AUTHORS COPYING NEWS MAINTAINERS +%doc README AUTHORS NEWS MAINTAINERS +%license COPYING %{_datadir}/gtksourceview-3.0 %{_libdir}/*.so.* %{_libdir}/girepository-1.0/GtkSource-3.0.typelib @@ -78,7 +92,15 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_datadir}/vala/vapi/gtksourceview-3.0.deps %{_datadir}/vala/vapi/gtksourceview-3.0.vapi +%files tests +%{_libexecdir}/installed-tests/gtksourceview-3.0/ +%{_datadir}/installed-tests/gtksourceview-3.0/ + %changelog +* Sun Nov 27 2016 Kalev Lember - 3.22.2-1 +- Update to 3.22.2 +- Resolves: #1386983 + * Thu Jan 08 2015 David King - 3.14.3-1 - Update to 3.14.3 - Resolves: #1174500