Changeset - be5a77cb7134
[Not reviewed]
Merge
0 17 1
HanzZ - 13 years ago 2012-12-04 16:37:52
hanzz.k@gmail.com
Merge branch 'master' of github.com:hanzz/libtransport
3 files changed with 38 insertions and 28 deletions:
0 comments (0 inline, 0 general)
backends/libcommuni/session.cpp
Show inline comments
 
@@ -230,7 +230,11 @@ void MyIrcSession::on_numericMessageReceived(IrcMessage *message) {
 
				np->handleParticipantChanged(user, nickname, TO_UTF8(channel) + suffix,(int) flags, pbnetwork::STATUS_ONLINE);
 
			}
 

	
 
			break;
 
		case 366:
 
			// ask /who to get away states
 
			channel = m->parameters().value(1);
 
			LOG4CXX_INFO(logger, user << "Asking /who for channel " << TO_UTF8(channel));
 
			sendCommand(IrcCommand::createWho(channel));
 
			break;
 
		case 432:
packaging/fedora/build_rpm.sh
Show inline comments
 
new file 100755
 
#!/bin/sh
 
DIRNAME=spectrum2
 

	
 
echo "Cleaning up old sources ..."
 
rm -rf spectrum2-*
 

	
 
echo "Checking out a fresh copy ..."
 
rm -rf $DIRNAME
 
git clone ../../.git $DIRNAME
 
rm -rf $DIRNAME/.git
 

	
 
echo "Creating tarball ..."
 
tar czf $DIRNAME.tar.gz $DIRNAME
 

	
 
echo "Building package"
 
rpmbuild -ta $DIRNAME.tar.gz
packaging/fedora/spectrum2.spec
Show inline comments
 
@@ -4,42 +4,32 @@
 
Summary: XMPP transport
 
Name: spectrum2
 
Version: 2.0
 
Release: %{?_release}%{!?_release:1}%{?dist}
 
Release: 1%{?dist}
 
Group: Applications/Internet
 
License: GPLv3
 
Source0: spectrum2.tar.gz
 
URL: http://swift.im/
 
# BuildRequires: cmake
 
# BuildRequires: boost-devel
 
# BuildRequires: mysql-devel
 
# BuildRequires: cppunit-devel
 
# BuildRequires: libsqlite3x-devel
 
# BuildRequires: protobuf-devel
 
# BuildRequires: protobuf-compiler
 
# BuildRequires: popt-devel
 
# BuildRequires: libidn-devel
 
# BuildRequires: expat-devel
 
# BuildRequires: avahi-devel
 
# BuildRequires: log4cxx-devel
 
Requires: boost
 
Requires: mysql-libs
 
%if 0%{?rhel}
 
Requires: sqlite
 
BuildRequires: cmake
 
BuildRequires: boost-devel
 
BuildRequires: mysql-devel
 
BuildRequires: cppunit-devel
 
%if 0%{?rhel} > 0 && 0%{?rhel} <= 6
 
BuildRequires: sqlite-devel
 
%else
 
Requires: libsqlite3x
 
BuildRequires: libsqlite3x-devel
 
%endif
 
Requires: protobuf
 
Requires: popt
 
Requires: libidn
 
Requires: expat
 
Requires: avahi
 
Requires: log4cxx
 
#----
 
BuildRequires: protobuf-devel
 
BuildRequires: protobuf-compiler
 
BuildRequires: popt-devel
 
BuildRequires: libidn-devel
 
BuildRequires: expat-devel
 
BuildRequires: avahi-devel
 
BuildRequires: log4cxx-devel
 
BuildRequires: swiften-devel
 
Requires:      libtransport%{?_isa} = %{version}-%{release}
 
Requires:      swiften
 

	
 
%description
 
Spectrum 2.0
 
Spectrum 2 is an XMPP transport/gateway and also simple XMPP server.
 

	
 
%prep
 
%setup -q -n spectrum2
 
@@ -200,7 +190,7 @@ Libtransport library
 

	
 

	
 
%changelog
 
* Nov 30 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0
 
* Mon Dec 03 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0-1
 
- Work in progress
 

	
 
* Mon Jul 25 2011 Jan Kaluza <jkaluza@redhat.com> - 1.0-4
0 comments (0 inline, 0 general)