From 6149ffc4c1a820d79b659037ab2e3d78c36e7375 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 18 Jun 2020 10:05:26 -0300 Subject: [PATCH] Updating package control files. --- arch/PKGBUILD | 4 ++-- debian/pw3270.dsc | 8 ++++---- rpm/pw3270.spec | 24 ++++++++++++++++-------- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/arch/PKGBUILD b/arch/PKGBUILD index c5ab9cc..db29138 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -2,8 +2,8 @@ pkgname=pw3270 -pkgver=5.2 -pkgrel=1 +pkgver=5.3 +pkgrel=0 pkgdesc="IBM 3270 Terminal emulator for GTK" url="https://portal.softwarepublico.gov.br/social/pw3270/" arch=(i686 x86_64) diff --git a/debian/pw3270.dsc b/debian/pw3270.dsc index a46f98b..fff781d 100644 --- a/debian/pw3270.dsc +++ b/debian/pw3270.dsc @@ -1,13 +1,13 @@ Format: 1.0 Source: pw3270 -Version: 5.2-0 +Version: 5.3-0 Binary: pw3270 Maintainer: Perry Werneck Architecture: any -Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, pkg-config, libgtk-3-dev, gettext, libssl-dev, desktop-file-utils, xsltproc, imagemagick, optipng, libv3270-dev +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, pkg-config, libgtk-3-dev, gettext, desktop-file-utils, imagemagick, librsvg2-bin, optipng, libv3270-dev Standards-Version: 3.9.1.0 -DEBTRANSFORM-RELEASE: 0 +DEBTRANSFORM-RELEASE: 1 Files: - 00000000000000000000000000000000 000000 pw3270-5.2.tar.bz2 + 00000000000000000000000000000000 000000 pw3270-5.3.tar.xz diff --git a/rpm/pw3270.spec b/rpm/pw3270.spec index 58f7fad..fbc00ea 100644 --- a/rpm/pw3270.spec +++ b/rpm/pw3270.spec @@ -34,8 +34,13 @@ Source: pw3270-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: shared-mime-info -Requires: %{name}-branding = %{version} +Requires: shared-mime-info +Requires: %{name}-branding = %{version} + +BuildRequires: update-desktop-files + +%glib2_gsettings_schema_requires + #--[ Setup by distribution ]------------------------------------------------------------------------------------------ # @@ -120,6 +125,9 @@ Summary: Default branding for %{name} Group: System/X11/Terminals Requires: %{name} = %{version} +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils + %description branding GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. @@ -176,24 +184,24 @@ make all -j1 %dir %{_libdir}/%{_product}-plugins %{_bindir}/%{_product} -%{_datadir}/applications/*.desktop -%{_datadir}/pixmaps/*.png %{_datadir}/glib-2.0/schemas/*.xml %files branding %{_datadir}/%{_product}/ui/* %{_datadir}/%{_product}/*.png +%{_datadir}/applications/*.desktop +%{_datadir}/pixmaps/*.png %files keypads %{_datadir}/%{_product}/keypad/* #---[ Scripts ]------------------------------------------------------------------------------------------------------- -%post -%glib2_gsettings_schema_post +%post branding +/usr/bin/update-desktop-database -%postun -%glib2_gsettings_schema_postun +%postun branding +/usr/bin/update-desktop-database %changelog -- libgit2 0.21.2