Commit 6149ffc4c1a820d79b659037ab2e3d78c36e7375

Authored by Perry Werneck
1 parent ed166b10

Updating package control files.

arch/PKGBUILD
... ... @@ -2,8 +2,8 @@
2 2  
3 3 pkgname=pw3270
4 4  
5   -pkgver=5.2
6   -pkgrel=1
  5 +pkgver=5.3
  6 +pkgrel=0
7 7 pkgdesc="IBM 3270 Terminal emulator for GTK"
8 8 url="https://portal.softwarepublico.gov.br/social/pw3270/"
9 9 arch=(i686 x86_64)
... ...
debian/pw3270.dsc
1 1 Format: 1.0
2 2 Source: pw3270
3   -Version: 5.2-0
  3 +Version: 5.3-0
4 4 Binary: pw3270
5 5 Maintainer: Perry Werneck <perry.werneck@gmail.com>
6 6 Architecture: any
7   -Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, pkg-config, libgtk-3-dev, gettext, libssl-dev, desktop-file-utils, xsltproc, imagemagick, optipng, libv3270-dev
  7 +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, pkg-config, libgtk-3-dev, gettext, desktop-file-utils, imagemagick, librsvg2-bin, optipng, libv3270-dev
8 8 Standards-Version: 3.9.1.0
9   -DEBTRANSFORM-RELEASE: 0
  9 +DEBTRANSFORM-RELEASE: 1
10 10 Files:
11   - 00000000000000000000000000000000 000000 pw3270-5.2.tar.bz2
  11 + 00000000000000000000000000000000 000000 pw3270-5.3.tar.xz
12 12  
13 13  
... ...
rpm/pw3270.spec
... ... @@ -34,8 +34,13 @@ Source: pw3270-%{version}.tar.xz
34 34  
35 35 BuildRoot: %{_tmppath}/%{name}-%{version}-build
36 36  
37   -Requires: shared-mime-info
38   -Requires: %{name}-branding = %{version}
  37 +Requires: shared-mime-info
  38 +Requires: %{name}-branding = %{version}
  39 +
  40 +BuildRequires: update-desktop-files
  41 +
  42 +%glib2_gsettings_schema_requires
  43 +
39 44  
40 45 #--[ Setup by distribution ]------------------------------------------------------------------------------------------
41 46 #
... ... @@ -120,6 +125,9 @@ Summary: Default branding for %{name}
120 125 Group: System/X11/Terminals
121 126 Requires: %{name} = %{version}
122 127  
  128 +Requires(post): desktop-file-utils
  129 +Requires(postun): desktop-file-utils
  130 +
123 131 %description branding
124 132 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.
125 133  
... ... @@ -176,24 +184,24 @@ make all -j1
176 184 %dir %{_libdir}/%{_product}-plugins
177 185  
178 186 %{_bindir}/%{_product}
179   -%{_datadir}/applications/*.desktop
180   -%{_datadir}/pixmaps/*.png
181 187  
182 188 %{_datadir}/glib-2.0/schemas/*.xml
183 189  
184 190 %files branding
185 191 %{_datadir}/%{_product}/ui/*
186 192 %{_datadir}/%{_product}/*.png
  193 +%{_datadir}/applications/*.desktop
  194 +%{_datadir}/pixmaps/*.png
187 195  
188 196 %files keypads
189 197 %{_datadir}/%{_product}/keypad/*
190 198  
191 199 #---[ Scripts ]-------------------------------------------------------------------------------------------------------
192 200  
193   -%post
194   -%glib2_gsettings_schema_post
  201 +%post branding
  202 +/usr/bin/update-desktop-database
195 203  
196   -%postun
197   -%glib2_gsettings_schema_postun
  204 +%postun branding
  205 +/usr/bin/update-desktop-database
198 206  
199 207 %changelog
... ...