]> git.pld-linux.org Git - packages/gtksourceview3.git/blobdiff - gtksourceview3.spec
- updated BRs
[packages/gtksourceview3.git] / gtksourceview3.spec
index 688ab78b4ad95be720c9f72ab21164cbc464bb05..bb5e779b6f00f5bcb3e5ddab3f6c6f831a9ca78e 100644 (file)
@@ -1,27 +1,29 @@
 #
 # Conditional build:
 %bcond_with    glade   # install glade catalog
-#
+%bcond_without vala    # do not build Vala API
+
 Summary:       Text widget that extends the standard GTK+ 3.x
 Summary(pl.UTF-8):     Widget tekstowy rozszerzający standardowy z GTK+ 3.x
 Name:          gtksourceview3
-Version:       3.6.3
+Version:       3.20.1
 Release:       1
 License:       LGPL v2+ (library), GPL v2+ (some language specs files)
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.6/gtksourceview-%{version}.tar.xz
-# Source0-md5: e8df1c01ef6864e68c4c5b15fe71e2c6
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.20/gtksourceview-%{version}.tar.xz
+# Source0-md5: a1764b012368c907cf203fd2cefb4565
 URL:           http://www.gnome.org/
 BuildRequires: autoconf >= 2.64
-BuildRequires: automake >= 1:1.11
+BuildRequires: autoconf-archive >= 2015.09.25
+BuildRequires: automake >= 1:1.13
 BuildRequires: docbook-dtd412-xml
-BuildRequires: gettext-devel >= 0.17
-BuildRequires: glib2-devel >= 1:2.32.0
+BuildRequires: gettext-tools >= 0.19.4
+BuildRequires: glib2-devel >= 1:2.48.0
 BuildRequires: gnome-common >= 2.24.0
-BuildRequires: gobject-introspection-devel >= 0.10.0
-BuildRequires: gtk+3-devel >= 3.4.0
-BuildRequires: gtk-doc >= 1.11
-BuildRequires: intltool >= 0.40.0
+BuildRequires: gobject-introspection-devel >= 1.42.0
+BuildRequires: gtk+3-devel >= 3.20.0
+BuildRequires: gtk-doc >= 1.25
+BuildRequires: itstool
 %if %{with glade}
 BuildRequires: libgladeui-devel >= 3.9.0
 %endif
@@ -30,9 +32,10 @@ BuildRequires:       libxml2-devel >= 1:2.6.31
 BuildRequires: pkgconfig
 BuildRequires: rpm-pythonprov
 BuildRequires: tar >= 1:1.22
+BuildRequires: vala
 BuildRequires: xz
-Requires:      glib2 >= 1:2.32.0
-Requires:      gtk+3 >= 3.4.0
+Requires:      glib2 >= 1:2.48.0
+Requires:      gtk+3 >= 3.20.0
 Requires:      libxml2 >= 1:2.6.31
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
@@ -66,8 +69,8 @@ Summary:      Header files for GtkSourceView
 Summary(pl.UTF-8):     Pliki nagłówkowe dla GtkSourceView
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      glib2-devel >= 1:2.32.0
-Requires:      gtk+3-devel >= 3.4.0
+Requires:      glib2-devel >= 1:2.48.0
+Requires:      gtk+3-devel >= 3.20.0
 Requires:      libxml2-devel >= 1:2.6.31
 
 %description devel
@@ -101,14 +104,32 @@ Glade3 catalog entry for GtkSourceView library.
 %description -n glade3-gtksourceview -l pl.UTF-8
 Wpis katalogu Glade3 dla biblioteki GtkSourceView.
 
+%package -n vala-gtksourceview
+Summary:       GtkSourceView API for Vala language
+Summary(pl.UTF-8):     API GtkSourceView dla języka Vala
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+Requires:      vala
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
+
+%description -n vala-gtksourceview
+GtkSourceView API for Vala language.
+
+%description -n vala-gtksourceview -l pl.UTF-8
+API GtkSourceView dla języka Vala.
+
 %prep
 %setup -q -n gtksourceview-%{version}
 
+# force new version from autoconf-archive (original one uses non-POSIX ${V:N} syntax)
+%{__rm} m4/ax_compiler_flags_cflags.m4
+
 %build
 %{__gtkdocize}
-%{__intltoolize}
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -140,7 +161,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -f gtksourceview-3.0.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgtksourceview-3.0.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgtksourceview-3.0.so.0
+%attr(755,root,root) %ghost %{_libdir}/libgtksourceview-3.0.so.1
 %{_datadir}/gtksourceview-3.0
 %{_libdir}/girepository-1.0/GtkSource-3.0.typelib
 
@@ -164,3 +185,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/glade3/catalogs/gtksourceview.xml
 %endif
+
+%if %{with vala}
+%files -n vala-gtksourceview
+%defattr(644,root,root,755)
+%{_datadir}/vala/vapi/gtksourceview-3.0.deps
+%{_datadir}/vala/vapi/gtksourceview-3.0.vapi
+%endif
This page took 0.052759 seconds and 4 git commands to generate.