rpms/qterm/F-11 README.Debian, NONE, 1.1 qterm-0.5.10-qstring.patch, NONE, 1.1 qterm.spec, NONE, 1.1 sources, 1.1, 1.2

supercyper supercyper at fedoraproject.org
Mon Apr 26 04:48:22 UTC 2010


Author: supercyper

Update of /cvs/pkgs/rpms/qterm/F-11
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv24656

Modified Files:
	sources 
Added Files:
	README.Debian qterm-0.5.10-qstring.patch qterm.spec 
Log Message:



--- NEW FILE README.Debian ---
                                             -*- outline -*-

* setup detecting location from ip environment

  1. Download a QQWry.dat. This file has many versions and frequently
     updated. for example, you can download it from www.cz88.net, it
     include simplified chinese version[1] and traditional chinsese
     version[2]. You can uncompress it with unrar package.

     [1] http://update.cz88.net/soft/qqwry.rar
     [2] http://update.cz88.net/soft/qqwrybig5.rar

  2. Copy QQWry.dat to /usr/share/qterm/ or $HOME/.qterm/
  
  3. When you restart qterm, you can see the locations show on
     statusbar when your mouse is over an ip address.

qterm-0.5.10-qstring.patch:
 qtermscreen.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE qterm-0.5.10-qstring.patch ---
--- qterm-0.5.10/src/qtermscreen.h	2010-04-26 09:42:33.171190108 +0800
+++ qterm-0.5.10.org/src/qtermscreen.h	2010-04-26 09:43:42.213440849 +0800
@@ -39,7 +39,7 @@
     Q_OBJECT
 public:
     Input(QWidget * parent, int width, int height, int ascent)
-        :QWidget(parent),d_text(0),d_pos(0),d_height(height), d_width(width), d_ascent(ascent)
+        :QWidget(parent),d_text(QString::null),d_pos(0),d_height(height), d_width(width), d_ascent(ascent)
     {
     }
     ~Input()


--- NEW FILE qterm.spec ---
Name:		qterm
Version:	0.5.10
Release:	2%{?dist}
Summary:	BBS client for X Window System written in Qt
Group:		Applications/Internet
License:	GPLv2+
URL:		http://qterm.sourceforge.net
Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
# https://sourceforge.net/tracker/?func=detail&atid=557096&aid=2992137&group_id=79581
Patch0:		qterm-0.5.10-qstring.patch
# README from debian
Source1:	README.Debian
BuildRequires:	phonon-devel
BuildRequires:	openssl-devel
BuildRequires:	cmake
BuildRequires:	desktop-file-utils
BuildRequires:	qtscriptbindings
Requires:	hicolor-icon-theme

%description
QTerm is a BBS client for X Window System. It supports telnet,ssh1 and ssh2 
protocols. It also supports zmodem, URL detect, mouse action.

It also supports detecting location from ip address, but you need do some 
extra work, see README.package.

%prep
%setup -q
%patch0 -p1

%build
export PATH=%{_qt4_bindir}:$PATH
%cmake -DQT_PHONON_INCLUDE_DIR:PATH=%{_includedir}/KDE
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

desktop-file-install --vendor "" \
	--dir %{buildroot}%{_datadir}/applications \
	--remove-category Application \
	--add-category RemoteAccess \
	%buildroot%{_datadir}/applications/*.desktop
cp -p %{SOURCE1} README.package

%clean
rm -rf %{buildroot}

%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

%files
%defattr(-,root,root,-)
%doc README* TODO doc/*
%{_bindir}/%{name}*
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/applications/%{name}.desktop

%changelog
* Sun Apr 25 2010 Chen Lei <supercyper at 163.com> - 0.5.10-2
- Add patch for building against qt-4.7 

* Sun Jan 17 2010 Chen Lei <supercyper at 163.com> - 0.5.10-1
- Upstream to 0.5.10


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qterm/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	26 Apr 2010 04:36:16 -0000	1.1
+++ sources	26 Apr 2010 04:48:22 -0000	1.2
@@ -0,0 +1 @@
+58c131d90a4b1e86f80eafe8f31a11b1  qterm-0.5.10.tar.bz2



More information about the scm-commits mailing list