Package libgtksourceview4: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | %define _name gtksourceview %define ver_major 4.2 %define api_ver 4 %def_disable static %def_disable gtk_doc %def_enable introspection %def_enable vala %def_enable installed_tests %def_enable gspell %def_enable check %ifarch %valgrind_arches %def_enable valgrind %endif Name: lib%{_name}4 Version: %ver_major.0 Release: alt1.1 Summary: GtkSourceView text widget library License: LGPLv2+ Group: System/Libraries Url: https://wiki.gnome.org/Projects/GtkSourceView Source: %gnome_ftp/%_name/%ver_major/%_name-%version.tar.xz # From configure.ac %define gtk_ver 3.22.0 %define libxml2_ver 2.6.0 %define gspell_ver 1.8.0 BuildRequires(pre): rpm-build-gnome rpm-macros-valgrind # From configure.ac BuildRequires: gcc-c++ autoconf-archive gtk-doc itstool BuildRequires: libgtk+3-devel >= %gtk_ver BuildRequires: libxml2-devel >= %libxml2_ver BuildRequires: perl-XML-Parser zlib-devel %{?_enable_gspell:BuildRequires: libgspell-devel >= %gspell_ver} %{?_enable_introspection:BuildRequires: gobject-introspection-devel >= 0.9.5 libgtk+3-gir-devel} %{?_enable_vala:BuildRequires: vala-tools libvala-devel} %{?_enable_check:BuildRequires: xvfb-run %{?_enable_valgrind:valgrind}} %description GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget GtkTextView. It improves GtkTextView by implementing syntax highlighting and other features typical of a source editor. This package contains shared GtkSourceView library. %package devel Summary: Files to compile applications that use GtkSourceView Group: Development/C Requires: %name = %version-%release %description devel This package contains the files required to develop applications against the GtkSourceView library. %package devel-doc Summary: Development documentation for %_name Group: Development/Documentation Conflicts: %name < %version-%release BuildArch: noarch %description devel-doc GtkSourceView is a text widget that extends the standard gtk+ 3.x text widget GtkTextView. It improves GtkTextView by implementing syntax highlighting and other features typical of a source editor. This package provides development documentation for %_name. %package gir Summary: GObject introspection data for the GtkSourceView library Group: System/Libraries Requires: %name = %version-%release %description gir GObject introspection data for the GtkSourceView library %package gir-devel Summary: GObject introspection devel data for the GtkSourceView library Group: Development/Other BuildArch: noarch Requires: %name-gir = %version-%release Requires: %name-devel = %version-%release %description gir-devel GObject introspection devel data for the GtkSourceView library %package tests Summary: Tests for the GtkSourceView library Group: Development/Other Requires: %name = %version-%release %description tests This package provides tests programs that can be used to verify the functionality of the installed GtkSourceView library. %define _gtk_docdir %_datadir/gtk-doc/html %prep %setup -n %_name-%version %build %configure \ %{subst_enable static} \ %{?_enable_gtk_doc:--enable-gtk-doc} \ %{subst_enable introspection} \ %{?_enable_installed_tests:--enable-installed-tests} \ %{subst_enable valgrind} %make_build %install %makeinstall_std %find_lang %_name-%api_ver %check xvfb-run %make check %files -f %_name-%api_ver.lang %_libdir/lib%_name-%api_ver.so.* %_datadir/%_name-%api_ver/ %doc AUTHORS NEWS README %files devel %_includedir/%_name-%api_ver/ %_libdir/lib%_name-%api_ver.so %_pkgconfigdir/%_name-%api_ver.pc %if_enabled vala %_vapidir/%_name-%api_ver.deps %_vapidir/%_name-%api_ver.vapi %endif %doc HACKING %files devel-doc %_gtk_docdir/* %if_enabled introspection %files gir %_typelibdir/GtkSource-%api_ver.typelib %files gir-devel %_girdir/GtkSource-%api_ver.gir %endif %if_enabled installed_tests %files tests %_libexecdir/installed-tests/%_name-%api_ver/ %_datadir/installed-tests/%_name-%api_ver/ %endif %changelog * Mon Jun 03 2019 Yuri N. Sedunov <aris@altlinux.org> 4.2.0-alt1.1 - made valgrind tests optional * Sat Mar 16 2019 Yuri N. Sedunov <aris@altlinux.org> 4.2.0-alt1 - 4.2.0 * Wed Sep 05 2018 Yuri N. Sedunov <aris@altlinux.org> 4.0.3-alt1 - 4.0.3 * Sun Jun 17 2018 Yuri N. Sedunov <aris@altlinux.org> 4.0.2-alt1 - 4.0.2 * Fri May 11 2018 Yuri N. Sedunov <aris@altlinux.org> 4.0.1-alt1 - 4.0.1 * Sat Mar 10 2018 Yuri N. Sedunov <aris@altlinux.org> 4.0.0-alt1 - 4.0.0 * Sat Dec 09 2017 Yuri N. Sedunov <aris@altlinux.org> 3.99.7-alt1 - 3.99.7 * Tue Oct 17 2017 Yuri N. Sedunov <aris@altlinux.org> 3.99.6-alt1 - 3.99.6 * Wed Sep 06 2017 Yuri N. Sedunov <aris@altlinux.org> 3.99.5-alt1 - 3.99.5 * Sun Apr 23 2017 Yuri N. Sedunov <aris@altlinux.org> 3.99.4-alt1 - 3.99.4 * Wed Nov 16 2016 Yuri N. Sedunov <aris@altlinux.org> 3.99.2-alt1 - first build for Sisyphus |