view gaim.spec.in @ 6630:889279abb909

[gaim-migrate @ 7154] I thought about the problem with the yahoo profile languages. I haven't yet a solution, which solves the whole problem. But I think, I have a good idea, how to deal with non-English profiles in the meantime before this solution comes. non-English profiles are empty white pages in the moment (without my patch). The original patch already shows a link and a message for adult profiles. My patch makes the same for non-English languages. How it works: - at first it checks, if the page is in English (it looks for the words "Last Updated:", I think this is good, because every English profile has these words) - if the page is not in English, it finds the profile name in the title (which is always English) - it prints a message and a link which points to the profile page of the user Luke, can you please look at the patch and especially to my comments and messages. Please correct my English, if something doesn't sound good. I think, the patch can be included in gaim-0.68. It should not have any side effects." at very least it has fewwer side effects. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 26 Aug 2003 01:44:22 +0000
parents 0e60f9b2e6eb
children 6cfa0af6a1fc
line wrap: on
line source

Summary:    A Gtk+ based multiprotocol instant messaging client
Name:       @PACKAGE@
Version:    @VERSION@
Release:    1
Epoch:      1
License:    GPL
Group:      Applications/Internet
Vendor:     Pimpin' Penguins
Url:        http://gaim.sourceforge.net/
Source:     %{name}-%{version}.tar.gz
Packager:   Rob Flynn <rob@marko.net>
BuildRoot:  %{_tmppath}/%{name}-%{version}-root
%if "%{_vendor}" != "MandrakeSoft"
Requires:   gtk2 >= 2.0.0
BuildRequires: libao-devel, gtk2-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig
%else
Requires:   gtk+2.0 >= 2.0.0
BuildRequires: libao-devel, libgtk+2.0_0-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig
%endif

%package devel
Summary: Development headers, documentation, and libraries for Gaim.
Group: Applications/Internet

%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 load the plugin for it.

Gaim supports many common features of other clients, as well as many 
unique features, such as perl scripting and C plugins.

Gaim is NOT affiliated with or endorsed by AOL.

%description devel

The gaim-devel package contains the header files, developer
documentation, and libraries required for development of gaim scripts
and plugins.

%prep
%setup

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
                                    --bindir=%{_bindir} \
                                    --datadir=%{_datadir} \
                                    --includedir=%{_includedir} \
                                    --libdir=%{_libdir} \
                                    --mandir=%{_mandir} \
                                    --sysconfdir=%{_sysconfdir}
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

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)

%doc doc/the_penguin.txt doc/CREDITS doc/FAQ NEWS COPYING AUTHORS
%doc README ChangeLog
%doc %{_mandir}/man1/*

%dir %{_libdir}/gaim
%attr(755, root, root) %{_libdir}/gaim/*
%attr(755, root, root) %{_libdir}/libgaim-remote.so.*
%{_bindir}/*
%{_datadir}/locale/*/*/*
%{_datadir}/pixmaps/*
%dir %{_datadir}/sounds/gaim
%{_datadir}/sounds/gaim/*
%{_datadir}/applications/*

%files devel

%doc plugins/SIGNALS plugins/HOWTO plugins/PERL-HOWTO 
%doc HACKING PROGRAMMING_NOTES

%attr(755, root, root) %{_libdir}/libgaim-remote.la
%dir %{_includedir}/gaim-remote
%{_includedir}/gaim-remote/*.h

%changelog
* 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.