]> git.pld-linux.org Git - packages/vte.git/blobdiff - vte.spec
- updated to 0.62.0
[packages/vte.git] / vte.spec
index c0cbe5271bbd304e7ecfe0189fbc6b51e1fd7c55..6717cb8e1e4c09d0f351f9ad27d438cee1aeb777 100644 (file)
--- a/vte.spec
+++ b/vte.spec
@@ -1,53 +1,57 @@
 #
 # Conditional build:
+%bcond_without apidocs # API documentation
 %bcond_with    gtk4    # GTK+ 4 based library [doesn't build with 3.90]
 
 Summary:       VTE terminal widget library
 Summary(pl.UTF-8):     Biblioteka z kontrolką terminala VTE
 Name:          vte
-Version:       0.58.1
+Version:       0.62.0
 Release:       1
-License:       LGPL v2.1+
+# some files have LGPL v2.1+ signature, but some LGPL v3+
+License:       LGPL v3+ (library), GPL v3+ (app)
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/vte/0.58/%{name}-%{version}.tar.xz
-# Source0-md5: ba78671a32c523fa43b3782f031c699a
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/vte/0.62/%{name}-%{version}.tar.xz
+# Source0-md5: 7562e1dbe1992a48cbcfd10b7acc3ff6
 Patch0:                %{name}-wordsep.patch
+URL:           https://wiki.gnome.org/Apps/Terminal/VTE
 BuildRequires: cairo-gobject-devel
 BuildRequires: docbook-dtd412-xml
+BuildRequires: fribidi-devel >= 1.0.0
 BuildRequires: gdk-pixbuf2-devel
 BuildRequires: gettext-devel
-BuildRequires: glib2-devel >= 1:2.40.0
+BuildRequires: glib2-devel >= 1:2.52.0
 BuildRequires: gnutls-devel >= 3.2.7
 BuildRequires: gobject-introspection-devel >= 0.10.0
 BuildRequires: gperf
-BuildRequires: gtk+3-devel >= 3.8.0
-%{?with_gtk4:BuildRequires:    gtk+4-devel >= 3.89}
-BuildRequires: gtk-doc >= 1.13
+BuildRequires: gtk+3-devel >= 3.20.0
+%{?with_gtk4:BuildRequires:    gtk+4-devel >= 4.0.0}
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.13}
 BuildRequires: intltool >= 0.40.0
-# C++17 support
-BuildRequires: libstdc++-devel >= 6:7.0
-# -std=c++17, with constexpr lambdas support
+BuildRequires: libicu-devel >= 4.8
+# C++17 support (-std=gnu++17, with constexpr lambdas support)
 BuildRequires: libstdc++-devel >= 6:7.0
 BuildRequires: libxml2-progs >= 2
-BuildRequires: meson >= 0.49.0
-BuildRequires: ncurses-devel
+BuildRequires: meson >= 0.50.0
 BuildRequires: ninja >= 1.5
 BuildRequires: pango-devel >= 1:1.22.0
 BuildRequires: pcre2-8-devel >= 10.21
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: systemd-devel >= 1:220
 BuildRequires: tar >= 1:1.22
 BuildRequires: vala >= 2:0.24
 BuildRequires: xz
 BuildRequires: zlib-devel
-Requires:      glib2 >= 1:2.40.0
+Requires:      fribidi >= 1.0.0
+Requires:      glib2 >= 1:2.52.0
 Requires:      gnutls >= 3.2.7
-Requires:      gtk+3 >= 3.8.0
+Requires:      gtk+3 >= 3.20.0
+Requires:      libicu >= 4.8
 Requires:      pango >= 1:1.22.0
+Requires:      systemd-libs >= 1:220
 Obsoletes:     vte-common < 0.42.0
 Obsoletes:     vte-glade < 0.58.0
-# sr@Latn vs. sr@latin
-Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -58,30 +62,15 @@ gnome-terminal among other programs.
 Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
 przez gnome-terminal oraz inne programy.
 
-%package common
-Summary:       Common files for vte and vte0
-Summary(pl.UTF-8):     Pliki wspólne dla vte i vte0
-Group:         X11/Libraries
-Requires(pre): utempter
-
-%description common
-Common files for GTK+ 3 based vte and GTK+ 2 based vte0.
-
-%description common -l pl.UTF-8
-Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2.
-
 %package devel
 Summary:       Header files for VTE for GTK+ 3
 Summary(pl.UTF-8):     Pliki nagłówkowe VTE dla GTK+ 3
+License:       LGPL v3+
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      glib2-devel >= 1:2.40.0
-Requires:      gnutls-devel >= 3.2.7
-Requires:      gtk+3-devel >= 3.8.0
-Requires:      ncurses-devel
+Requires:      glib2-devel >= 1:2.52.0
+Requires:      gtk+3-devel >= 3.20.0
 Requires:      pango-devel >= 1:1.22.0
-Requires:      pcre2-8-devel >= 10.21
-Requires:      zlib-devel
 Conflicts:     gnome-libs-devel < 1.4.1.2
 
 %description devel
@@ -94,10 +83,11 @@ biblioteki vte opartej na GTK+ 3.
 %package -n vala-vte
 Summary:       Vala API for VTE library
 Summary(pl.UTF-8):     API języka Vala dla biblioteki VTE
+License:       LGPL v3+
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Requires:      vala >= 2:0.24
-%if "%{_rpmversion}" >= "5"
+%if "%{_rpmversion}" >= "4.6"
 BuildArch:     noarch
 %endif
 
@@ -112,7 +102,7 @@ Summary:    VTE API documentation (GTK+ 3 version)
 Summary(pl.UTF-8):     Dokumentacja API VTE (wersja dla GTK+ 3)
 Group:         Documentation
 Requires:      gtk-doc-common
-%if "%{_rpmversion}" >= "5"
+%if "%{_rpmversion}" >= "4.6"
 BuildArch:     noarch
 %endif
 
@@ -128,7 +118,7 @@ Dokumentacja API VTE (wersja dla GTK+ 3).
 
 %build
 %meson build \
-       -Ddocs=true \
+       %{?with_apidocs:-Ddocs=true} \
        -Dgtk3=true \
        -Dgtk4=%{__true_false gtk4}
 
@@ -149,12 +139,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f vte-2.91.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README.md
+%doc AUTHORS README.md
 %attr(755,root,root) %{_bindir}/vte-2.91
+%attr(755,root,root) %{_libexecdir}/vte-urlencode-cwd
 %attr(755,root,root) %{_libdir}/libvte-2.91.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libvte-2.91.so.0
 %{_libdir}/girepository-1.0/Vte-2.91.typelib
+%config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte.csh
 %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte.sh
+%dir %{systemduserunitdir}/vte-spawn-.scope.d
+%{systemduserunitdir}/vte-spawn-.scope.d/defaults.conf
 
 %files devel
 %defattr(644,root,root,755)
@@ -168,6 +162,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/vala/vapi/vte-2.91.deps
 %{_datadir}/vala/vapi/vte-2.91.vapi
 
+%if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/vte-2.91
+%endif
This page took 0.04767 seconds and 4 git commands to generate.