- more fixes, enable StartupNotify and set a GenericName

This commit is contained in:
Karsten Hopp 2005-04-20 12:05:18 +00:00
parent 736f8bad14
commit c70f1b266f
2 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,9 @@
[Desktop Entry]
Name=x3270
GenericName=Terminal emulator
Type=Application
Comment=3270 terminal emulator
Exec=x3270
Icon=x3270.png
StartupNotify=true

View File

@ -5,7 +5,7 @@
Summary: An X Window System based IBM 3278/3279 terminal emulator
Name: x3270
Version: 3.3.4
Release: 2
Release: 3
License: MIT
Group: Applications/Internet
URL: http://www.geocities.com/SiliconValley/Peaks/7814
@ -127,9 +127,9 @@ install -m644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/X11/applnk/Utilities
%if %{desktop_file}
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
desktop-file-install --vendor net \
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT/%{_datadir}/applications \
--add-category "Application;System;X-Red-Hat-Extra" \
--add-category "Application;System;X-Fedora-Extra" \
$RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/Utilities/x3270.desktop
# remove x3270.desktop from the buildroot now that we're done with
@ -143,7 +143,7 @@ rm -rf $RPM_BUILD_ROOT%{_sysconfdir}
rm -f Examples/*.rh
chmod -x Examples/*
for i in pr3287 x3270if; do
mv $RPM_BUILD_ROOT/%{_prefix}/X11R6/bin/$i $RPM_BUILD_ROOT/%{_prefix}/bin
mv $RPM_BUILD_ROOT/%{_prefix}/X11R6/bin/$i $RPM_BUILD_ROOT/%{_bindir}
ln -s ../../bin/$i $RPM_BUILD_ROOT/%{_prefix}/X11R6/bin
done
@ -197,6 +197,9 @@ fi
%{_mandir}/man1/c3270*
%changelog
* Wed Apr 20 2005 Karsten Hopp <karsten@redhat.de> 3.3.4-3
- more fixes, enable StartupNotify
* Wed Apr 20 2005 Karsten Hopp <karsten@redhat.de> 3.3.4-2
- spec file cleanups from Chris Ricker <kaboom@oobleck.net>
- remove backup files from rpm patch process