gaim.spec
author dermotm
Sun, 30 May 2004 17:39:52 +0000
changeset 2958 3655558ced77
parent 2777 0ef35ba6d287
child 3017 68f6ccbf144e
permissions -rw-r--r--
Incremented release numbers for build 11

#
# Copyright (c) 2003 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
Name:		gaim
Version:	0.76
Release:	12
License:	GPL
Group:		Applications/Internet
Distribution:	Cinnabar
Vendor:		Sun Microsystems, Inc.
Summary:	multiprotocol instant messaging client
Source:		http://heanet.dl.sourceforge.net/sourceforge/gaim/%{name}-%{version}.tar.bz2
Source1: gaim-l10n-po-1.1.tar.bz2
Patch1:         gaim-01-g11n-menu-entry.diff
Patch2:         gaim-02-remove-unwanted-protocols.diff
Patch3:         gaim-03-perl-common-argc.diff
Patch4:         gaim-04-uint_max.diff
Patch5:         gaim-05-po-mkinstalldirs.diff
Patch6:         gaim-06-gettext.diff
Patch7:         gaim-07-g11n-potfiles.diff
Patch8:         gaim-08-vulnerabilities-patch.diff
Patch9:         gaim-09-void-return.diff
URL:		http://gaim.sourceforge.net/
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
Docdir:		%{_defaultdocdir}/gaim
Autoreqprov:	on

BuildRequires:	gtk2-devel
BuildRequires:	glib2-devel

%description
Gaim allows you to chat over the Internet using a variety of
messaging protocols, including AIM, ICQ, IRC, Yahoo!, 
MSN Messenger and Jabber.
These protocols are implemented using a modular, easy to use
design.

%prep
%setup -q
/usr/bin/bzcat -dc %SOURCE1|tar xf -
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1

%build
%ifos solaris
glib-gettextize -f
%endif
libtoolize --force
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros -I .
autoheader
automake -a -c -f
autoconf

CFLAGS="$RPM_OPT_FLAGS -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS" \
LD_LIBRARY_PATH="%{_libdir}:$LD_LIBRARY_PATH"
./configure --prefix=%{_prefix} --mandir=%{_mandir}

make

%install
if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi;
make DESTDIR=$RPM_BUILD_ROOT install

%files
%defattr(-, root, root)
%doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS
%doc doc/FAQ README ChangeLog HACKING
%attr(755, root, root) %{_libdir}/gaim/*.so
%attr(755, root, root) %{_libdir}/libgaim-remote.so.*
%{_bindir}/*
%{_mandir}/man1/*
%{_datadir}/locale/*/*/*
%{_datadir}/pixmaps/*
%{_datadir}/sounds/gaim/*
%{_datadir}/applications/*
#%{_includedir}/gaim-remote/* - should we deliver this ?

%clean
rm -r $RPM_BUILD_ROOT

%changelog
* Wed May 12 2004 - [email protected]
- Updated l10n content to gaim-l10n-po-1.1.tar.bz2

* Sun May 02 2004 - [email protected]
- add patch #9 (void-return) for a void function returning a value

* Tue Apr 27 2004 - [email protected]
- Bumped new tarball 0.76 version and updated spec file 
  accordingly.

* Mon Apr 05 2004 - [email protected]
- ifos'ify glib-gettexttize, to stop nameless .mo files being 
  generated on cinnabar/linux.

* Sun Apr 04 2004 - [email protected]
- add glib-gettextize to make the build work with Solaris msgfmt

* Wed Mar 31 2004 - [email protected]
- replace tar jxf with the more solaris friendly
  bzcat piped through tar

* Mon Mar 29 2004 - [email protected]
- Adding gaim-l10n-po-1.0.tar.bz2 l10n content

* Mon Mar 08 2004 - [email protected]
- Fixes all vulnerabilities reproted in the bug report.

* Thu Mar 04 2004 - [email protected]
- Removed gaim-01-menu-entry.diff
- Added gaim-01-g11n-menu-entry.diff to fix 4957377
- Added gaim-08-g11n-potfiles.diff

* Wed Mar 03 2004 - <[email protected]>
- fix Solaris build by forcing the use of the glib gettext test macro

* Fri Feb 20 2004 - <[email protected]>
- Distro to Cinnabar, fixed patch gaim-06-po-mkinstalldirs.diff

* Thu Feb 19 2004 - <[email protected]>
- Update to 0.75.

* Fri Oct 31 2003 - <[email protected]>
- Remove the Sun Supported keyword from the menu
  patch.

* Mon Oct 20 2003 - <[email protected]>
- update to 0.70 and removed potfiles patch

* Thu Aug 14 2003 - <[email protected]>
- remove *.a, *.la

* Tue Aug 05 2003 [email protected]
- Added POTFILES.in patch again (updated)

* Fri Aug 01 2003 [email protected]
- removed unwanted protocols

* Fri Aug 01 2003 [email protected]
- why was there no changelog for this before? well 
  new tarball, bumped release, reset release, added lbgaim-remote.so.*