|
发表于 2004-2-19 23:15:53
|
显示全部楼层
HOHO TL10D的mozilla1.5已经带有MSN登录的SSL库,所以一切都很简单。QQ可以MSN可以用
如果你要自己动手的话,首先请确定安装了rpm-build 这个包,然后将gaim-0.64-libqqpatched.tar.gz拷贝到/var/src/rpm/SOURCE下,将gaim.spec放置于/var/src/rpm/SPECS下,然后
cd /var/src/rpm/SPECS
执行
rpm -ba gaim.spec
一切搞定的话就在/var/src/rpm/RPMS/i586下生成针对你系统的包,在/var/src/rpm/SRPMS/下生成src.rpm
一切就这么简单
http://download.linuxsir.cn/dato/gaim-0.76cvs-qq-0.2-1.i586.rpm
http://download.linuxsir.cn/dato/gaim.spec
4ba0acae47edbe84100466f5de2aaf84 gaim-0.76cvs-qq-0.2-1.i586.rpm
已知问题,默认情况下turbolinux的KDE系统菜单里的选项位于/usr/share/applnk/Internet下,但是10D我已经确定将gaim.desktop安装于此,却不能加载显示,谁知道告诉我一解决方案,谢谢
%define name gaim-0.76cvs-qq
%define version 0.2
%define rel 1
%define prefix /usr
%define sysconfdir /etc
Summary: A Gtk+ based multiprotocol instant messaging client
Name: %{name}
Version: %{version}
Release: %{rel}
Epoch: 1
License: GPL
Group: Applications/Internet
URL: http://gaim.sourceforge.net/
Packager: %{packager}
Source: %{name}-%{version}-final-src.tbz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: gtk2 >= 2.0.0, audiofile, libao
BuildRequires: libao-devel, gtk2-devel, libtool, audiofile-devel
%description
Gaim allows you to talk to anyone using a variety of messaging
protocols, including AIM (Oscar and TOC), ICQ, IRC, Yahoo!,
MSN Messenger, Jabber, Gadu-Gadu, Napster, and Zephyr. These
protocols are implemented using a modular, easy to use design.
To use a protocol, just add an account using the account editor.
Gaim supports many common features of other clients, as well as many
unique features, such as perl scripting, TCL scripting and C plugins.
Gaim is NOT affiliated with or endorsed by America Online, Inc.,
Microsoft Corporation, Yahoo! Inc., or ICQ Inc.
%prep
%setup -q -n %{name}-%{version}-final-src
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
--bindir=%{_bindir} \
--datadir=%{_datadir} \
--includedir=%{_includedir} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir} \
--with-perl-lib=%{buildroot}%{_prefix}
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} \
datadir=%{buildroot}%{_datadir} includedir=%{buildroot}%{_includedir} \
libdir=%{buildroot}%{_libdir} mandir=%{buildroot}%{_mandir} \
sysconfdir=%{buildroot}%{_sysconfdir} \
install
install -d $RPM_BUILD_ROOT%{_datadir}/applnk/Internet
install -m 644 gaim.desktop $RPM_BUILD_ROOT%{_datadir}/applnk/Internet
install -d $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Internet/
install -m 644 gaim.desktop $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Internet
#rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/*/*/perllocal.pod
%clean
#rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS COPYRIGHT
%doc README ChangeLog
%doc %{_mandir}/man1/*
#%doc %{_mandir}/man3*/*
%dir %{_libdir}/gaim
%attr(755, root, root) %{_libdir}/gaim/*
%attr(755, root, root) %{_libdir}/libgaim-remote.so.*
#%attr(755, root, root) %{_libdir}/perl5
%{_bindir}/*
%{_datadir}/locale/*/*/*
%{_datadir}/pixmaps/*
%dir %{_datadir}/sounds/gaim
%{_datadir}/sounds/gaim/*
%{_datadir}/applications/*
%{_datadir}/applnk/Internet/gaim.desktop
%{_datadir}/gnome/apps/Internet/gaim.desktop
#%files devel
#%doc plugins/HOWTO
#%doc HACKING PROGRAMMING_NOTES
#%attr(755, root, root) %{_libdir}/libgaim-remote.la
#%dir %{_includedir}/gaim-remote
#%{_includedir}/gaim-remote/*.h
%changelog
* Thu Jan 15 2004 Ethan Blanton <eblanton@cs.ohiou.edu>
- Removed the manual strip command, as it seems to be unwarranted if
the necessary programs are properly installed. (For me, this was
elfutils.)
* Sun Jul 20 2003 Bjoern Voigt <bjoern@cs.tu-berlin.de>
- Added pkgconfig build dependency.
- if "%{_vendor}" != "MandrakeSoft" now also works with rpm 3.x.
- Added Gaim-specific directories to list of Gaim's files.
* Wed Jul 16 2003 Ethan Blanton <eblanton@cs.ohiou.edu>
- Complete spec file rewrite to take advantage of "new" RPM features
and make things prettier.
- Use system-supplied %%{_prefix}, %%{_datadir}, etc. rather than
attempt to define our own. |
|