rpms/tn5250/devel tn5250.spec,1.28,1.29 xt5250.desktop,1.3,1.4
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Feb 28 15:27:58 UTC 2007
Author: karsten
Update of /cvs/dist/rpms/tn5250/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21038
Modified Files:
tn5250.spec xt5250.desktop
Log Message:
- copy readme instead of moving it
- fix desktop file
- fix scriptlets
Index: tn5250.spec
===================================================================
RCS file: /cvs/dist/rpms/tn5250/devel/tn5250.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- tn5250.spec 27 Feb 2007 12:00:03 -0000 1.28
+++ tn5250.spec 28 Feb 2007 15:27:56 -0000 1.29
@@ -1,7 +1,7 @@
Summary: 5250 Telnet protocol and Terminal
Name: tn5250
Version: 0.17.3
-Release: 13%{?dist}
+Release: 14%{?dist}
License: GPL
Group: Applications/Internet
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -58,7 +58,7 @@
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT/%{_datadir}/applications %{SOURCE1}
#--add-category "Application;Network;X-Red-Hat-Base"
-mv linux/README README.Linux
+cp -pf linux/README README.Linux
%clean
rm -rf $RPM_BUILD_ROOT
@@ -67,18 +67,13 @@
unset TERMINFO
/usr/bin/tic %{_datadir}/%{name}/5250.terminfo 2>/dev/null ||:
/sbin/ldconfig
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor
-fi
-
+touch --no-create %{_datadir}/icons/hicolor ||:
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
%postun
/sbin/ldconfig
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor
-fi
+touch --no-create %{_datadir}/icons/hicolor ||:
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
%preun
@@ -109,6 +104,11 @@
%{_bindir}/tn5250-config
%changelog
+* Wed Feb 28 2007 Karsten Hopp <karsten at redhat.com> 0.17.3-14
+- copy readme instead of moving it
+- fix desktop file
+- fix scriptlets
+
* Tue Feb 27 2007 Karsten Hopp <karsten at redhat.com> 0.17.3-13
- drop buildrequirement libtool
- update icon cache on install/uninstall
Index: xt5250.desktop
===================================================================
RCS file: /cvs/dist/rpms/tn5250/devel/xt5250.desktop,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xt5250.desktop 14 Feb 2007 14:33:57 -0000 1.3
+++ xt5250.desktop 28 Feb 2007 15:27:56 -0000 1.4
@@ -1,10 +1,9 @@
[Desktop Entry]
+Encoding=UTF-8
Name=tn5250 terminal emulation
Comment=tn5250 emulates IBMâs 5250 compatible terminals to connect over TCP/IP to an IBM AS/400
Exec=xt5250
Icon=tn5250.png
Type=Application
-Categories=Network
-Terminal=0
-XClassHintResName=xt5250
-MapNotify=false
+Categories=Network;
+Terminal=false
More information about the fedora-cvs-commits
mailing list