rpms/freetalk/F-8 freetalk-3.0-open.patch, NONE, 1.1 freetalk.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Debarshi Ray (rishi) fedora-extras-commits at redhat.com
Thu Feb 14 16:57:47 UTC 2008


Author: rishi

Update of /cvs/pkgs/rpms/freetalk/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv430/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	freetalk-3.0-open.patch freetalk.spec 
Log Message:
Initial import into F-8.
 
 Modified Files:
 	F-8/.cvsignore F-8/sources 
 Added Files:
 	F-8/freetalk-3.0-open.patch F-8/freetalk.spec 


freetalk-3.0-open.patch:

--- NEW FILE freetalk-3.0-open.patch ---
diff -urNp freetalk-3.0.orig/src/file_transfer.cc freetalk-3.0/src/file_transfer.cc
--- freetalk-3.0.orig/src/file_transfer.cc	2007-10-26 10:26:02.000000000 +0530
+++ freetalk-3.0/src/file_transfer.cc	2007-11-29 00:12:07.000000000 +0530
@@ -219,7 +219,7 @@ int ft_msg_sub_type_set_cb(LmMessage *ms
 	g_free (incoming.sender);
       
       /* Before sending the 'result' reply, open the file to write to */
-      if ((file->fd = open (file->local_file, O_CREAT | O_WRONLY)) < 0){
+      if ((file->fd = open (file->local_file, O_CREAT | O_WRONLY, S_IRWXU)) < 0){
 	scm_run_hook (ex_notify_file_hook, scm_list_n (scm_from_locale_string (file->sender),
 						       scm_from_locale_string (file->local_file),
 						       scm_from_int (FT_FILE_NO_OPEN),


--- NEW FILE freetalk.spec ---
Summary:	A console based Jabber client
Name:		freetalk
Version:	3.0
Release:	2%{?dist}
License:	GPLv3+
Group:		Applications/Internet
URL:		http://www.gnu.org/software/freetalk/
Source0:	http://sv.gnu.org/download/freetalk/%{name}-%{version}.tar.gz

Patch0:		%{name}-%{version}-open.patch

BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

Requires:	words
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info

BuildRequires:	gettext
BuildRequires:	guile-devel
BuildRequires:	loudmouth-devel
BuildRequires:	readline-devel

%description
Freetalk is a console based Jabber client. It features a readline interface
with completion of buddy names, commands, and even ordinary English words.
Freetalk is extensible, configurable, and scriptable through a Guile interface.

%prep
%setup -q
%patch0 -p1

%build
%configure --disable-rpath
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT

rm -rf $RPM_BUILD_ROOT%{_infodir}/dir

%find_lang %{name}

# Files containing shebangs need to have the executable bits.
chmod 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions/first-time-run.sh

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :

%preun
if [ $1 = 0 ]; then
  /sbin/install-info --delete %{_infodir}/%{name}.info.gz \
  %{_infodir}/dir >/dev/null 2>&1 || :
fi

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS
%doc ChangeLog
%doc COPYING
%doc NEWS
%doc README
%{_bindir}/%{name}
%{_infodir}/%{name}.info.gz
%{_mandir}/man1/%{name}.1.gz

%dir %{_datadir}/%{name}
%{_datadir}/%{name}/extensions

%changelog
* Thu Feb 14 2008 Debarshi Ray <rishi at fedoraproject.org> - 3.0-2
- Added 'Requires: words'.

* Sun Nov 24 2007 Debarshi Ray <rishi at fedoraproject.org> - 3.0-1
- Initial build.
- Fixed sources to provide mode when using the O_CREAT flag in open(2).


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/freetalk/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Feb 2008 23:09:14 -0000	1.1
+++ .cvsignore	14 Feb 2008 16:57:05 -0000	1.2
@@ -0,0 +1 @@
+freetalk-3.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/freetalk/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Feb 2008 23:09:14 -0000	1.1
+++ sources	14 Feb 2008 16:57:05 -0000	1.2
@@ -0,0 +1 @@
+6002575edb6f4932165743883cecd4c5  freetalk-3.0.tar.gz




More information about the fedora-extras-commits mailing list