Hello community,

here is the log from the commit of package x3270 for openSUSE:Factory checked 
in at 2016-02-11 12:37:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/x3270 (Old)
 and      /work/SRC/openSUSE:Factory/.x3270.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "x3270"

Changes:
--------
--- /work/SRC/openSUSE:Factory/x3270/x3270.changes      2016-01-23 
01:16:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.x3270.new/x3270.changes 2016-02-11 
12:37:51.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Feb  9 01:33:07 UTC 2016 - [email protected]
+
+- added desktop file
+- split up font reconfigure macro into the pieces so we can add the
+  desktop file macros too
+
+-------------------------------------------------------------------

New:
----
  x3270.desktop

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ x3270.spec ++++++
--- /var/tmp/diff_new_pack.GEqrDg/_old  2016-02-11 12:37:52.000000000 +0100
+++ /var/tmp/diff_new_pack.GEqrDg/_new  2016-02-11 12:37:52.000000000 +0100
@@ -28,6 +28,7 @@
 Url:            http://x3270.bgp.nu
 Source0:        http://download.sourceforge.net/%{name}/%{_fullname}-src.tgz
 Source1:        http://download.sourceforge.net/%{name}/x026-%{_x026ver}.tgz
+Source2:        x3270.desktop
 Patch0:         mknod.patch
 Patch100:       usr_local_bin.patch
 Patch102:       x026-offset.diff
@@ -48,6 +49,7 @@
 BuildRequires:  pkgconfig(xmu)
 BuildRequires:  pkgconfig(xpm)
 BuildRequires:  pkgconfig(xt)
+BuildRequires:  update-desktop-files
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -166,7 +168,19 @@
 # create symlinks in documentation
 %fdupes -s %{buildroot}/%{_docdir}
 
-%{reconfigure_fonts_scriptlets}
+install -D -m 0644 %{S:2} %{buildroot}%{_datadir}/applications/x3270.desktop
+%suse_update_desktop_file x3270
+
+%post
+%desktop_database_post
+%reconfigure_fonts_post
+
+%postun
+%desktop_database_postun
+%reconfigure_fonts_postun
+
+%posttrans
+%reconfigure_fonts_posttrans
 
 %files
 %defattr(-,root,root,755)
@@ -189,6 +203,7 @@
 %doc %{_docdir}/%{name}/x3270/Examples
 %doc %{_docdir}/%{name}/x3270/html
 %doc %{_docdir}/%{name}/Playback
+%{_datadir}/applications/x3270.desktop
 # c3270
 %{_bindir}/c3270
 %doc %{_mandir}/man1/c3270.1.gz

++++++ x3270.desktop ++++++
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=x3270
GenericName=x3270
Comment=IBM 3270 Terminal Emulator
Exec=x3270
Icon=utilities-terminal
Terminal=false
Type=Application
Categories=System;TerminalEmulator;X-GNOME-Utilities;

Reply via email to