diff --git a/gtksourceview3.spec b/gtksourceview3.spec index 78714be..f7e0b80 100644 --- a/gtksourceview3.spec +++ b/gtksourceview3.spec @@ -5,7 +5,7 @@ Summary: A library for viewing source files Name: gtksourceview3 Version: 3.13.90 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://gtksourceview.sourceforge.net/ @@ -38,11 +38,21 @@ Requires: %{name}%{?_isa} = %{version}-%{release} gtksourceview3-devel contains the files required to compile applications which use GtkSourceView 3. +%package tests +Summary: Tests for the gtksourceview3 package +Group: Development/Libraries +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} @@ -78,7 +88,14 @@ 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 +%{_datadir}/installed-tests + %changelog +* Thu Sep 4 2014 Vadim Rutkovsky - 3.13.90-2 +- Build installed tests (#1117380) + * Mon Aug 18 2014 Kalev Lember - 3.13.90-1 - Update to 3.13.90 - Include vala vapi files