Accepting request 358495 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/358495 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=36
This commit is contained in:
commit
fce80bb75e
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 9 01:33:07 UTC 2016 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- added desktop file
|
||||||
|
- split up font reconfigure macro into the pieces so we can add the
|
||||||
|
desktop file macros too
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 20 11:07:52 UTC 2016 - tchvatal@suse.com
|
Wed Jan 20 11:07:52 UTC 2016 - tchvatal@suse.com
|
||||||
|
|
||||||
|
11
x3270.desktop
Normal file
11
x3270.desktop
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[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;
|
17
x3270.spec
17
x3270.spec
@ -28,6 +28,7 @@ Group: System/X11/Terminals
|
|||||||
Url: http://x3270.bgp.nu
|
Url: http://x3270.bgp.nu
|
||||||
Source0: http://download.sourceforge.net/%{name}/%{_fullname}-src.tgz
|
Source0: http://download.sourceforge.net/%{name}/%{_fullname}-src.tgz
|
||||||
Source1: http://download.sourceforge.net/%{name}/x026-%{_x026ver}.tgz
|
Source1: http://download.sourceforge.net/%{name}/x026-%{_x026ver}.tgz
|
||||||
|
Source2: x3270.desktop
|
||||||
Patch0: mknod.patch
|
Patch0: mknod.patch
|
||||||
Patch100: usr_local_bin.patch
|
Patch100: usr_local_bin.patch
|
||||||
Patch102: x026-offset.diff
|
Patch102: x026-offset.diff
|
||||||
@ -48,6 +49,7 @@ BuildRequires: pkgconfig(xaw7)
|
|||||||
BuildRequires: pkgconfig(xmu)
|
BuildRequires: pkgconfig(xmu)
|
||||||
BuildRequires: pkgconfig(xpm)
|
BuildRequires: pkgconfig(xpm)
|
||||||
BuildRequires: pkgconfig(xt)
|
BuildRequires: pkgconfig(xt)
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -166,7 +168,19 @@ cp -pr --parents tcl3270/{Examples,html} %{buildroot}%{_docdir}/%{name}
|
|||||||
# create symlinks in documentation
|
# create symlinks in documentation
|
||||||
%fdupes -s %{buildroot}/%{_docdir}
|
%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
|
%files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
@ -189,6 +203,7 @@ cp -pr --parents tcl3270/{Examples,html} %{buildroot}%{_docdir}/%{name}
|
|||||||
%doc %{_docdir}/%{name}/x3270/Examples
|
%doc %{_docdir}/%{name}/x3270/Examples
|
||||||
%doc %{_docdir}/%{name}/x3270/html
|
%doc %{_docdir}/%{name}/x3270/html
|
||||||
%doc %{_docdir}/%{name}/Playback
|
%doc %{_docdir}/%{name}/Playback
|
||||||
|
%{_datadir}/applications/x3270.desktop
|
||||||
# c3270
|
# c3270
|
||||||
%{_bindir}/c3270
|
%{_bindir}/c3270
|
||||||
%doc %{_mandir}/man1/c3270.1.gz
|
%doc %{_mandir}/man1/c3270.1.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user