10139N/A#
10139N/A# # spec file for package SUNWgnome-im-client
10139N/A#
13658N/A# includes module(s): pidgin, pidgin-otr, libotr
10139N/A#
20890N/A# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
20129N/A%define owner jouby
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10710N/A%use pidgin = pidgin.spec
13658N/A%use libotr = libotr.spec
10710N/A%use pidginotr = pidgin-otr.spec
10139N/A
10139N/AName: SUNWgnome-im-client
18688N/AIPS_package_name: communication/im/pidgin
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Internet
10139N/ASummary: GNOME multi-protocol instant messaging client
20056N/AVersion: %{pidgin.version}
11947N/ASource: %{name}-manpages-0.1.tar.gz
19078N/A#Patch1: pidgin-12-libpurple-py26.diff
10139N/ASUNW_BaseDir: %{_basedir}
12680N/ASUNW_Copyright: %{name}.copyright
19078N/ALicense: GNU General Public License v2
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
20890N/ARequires: library/desktop/gtk2
20890N/ARequires: library/gnome/gnome-libs
20890N/ARequires: runtime/python-26
20890N/ARequires: shell/bash
20890N/ARequires: system/library/dbus
20890N/ARequires: library/desktop/evolution-data-server
20890N/ARequires: library/gnome/gnome-component
20890N/ARequires: library/gnutls
20890N/ARequires: system/library/math
20829N/ARequires: runtime/perl-512
20890N/ARequires: service/gnome/desktop-cache
20890N/ARequires: library/audio/gstreamer
20890N/ARequires: system/network/avahi
20890N/ARequires: database/sqlite-3
20829N/ARequires: library/nspr
20829N/ARequires: library/security/nss
20890N/ARequires: library/desktop/gtkspell
20890N/ARequires: library/libidn
20892N/ARequires: library/gnome/gnome-keyring
20890N/ABuildRequires: library/desktop/gtk2
20890N/ABuildRequires: runtime/python-26
20890N/ABuildRequires: system/library/dbus
20890N/ABuildRequires: library/desktop/evolution-data-server
20890N/ABuildRequires: library/gnome/gnome-component
20890N/ABuildRequires: library/gnome/gnome-libs
20890N/ABuildRequires: library/gnutls
20890N/ABuildRequires: library/audio/gstreamer
20890N/ABuildRequires: system/network/avahi
20890N/ABuildRequires: database/sqlite-3
20890N/ABuildRequires: library/desktop/gtkspell
20890N/ABuildRequires: library/gnome/gnome-keyring
20347N/ABuildRequires: x11/library/libxscrnsaver
10139N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A
10139N/A%package devel
10139N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10710N/A%pidgin.prep -d %name-%version
13658N/A%libotr.prep -d %name-%version
10710N/A%pidginotr.prep -d %name-%version
11947N/Acd %{_builddir}/%name-%version
11947N/Agzcat %SOURCE0 | tar xf -
10139N/A
17868N/A#date:2009-12-4 owner:elaine type:bug :explicitly use python2.6 in purple-remote and pruple-url-handler
19078N/A#%patch1 -p0
10139N/A%build
17061N/A%{!?perl_installarchlib: %define perl_installarchlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)}
17061N/A%{!?perl_installvendorlib: %define perl_installvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
17195N/Aexport PKG_CONFIG_PATH=../pidgin-%{pidgin.version}/libpurple:../pidgin-%{pidgin.version}:%{_pkg_config_path}
10139N/Aexport CFLAGS="%optflags -DHAVE_ALLOCA_H"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport LDFLAGS="%_ldflags"
10710N/A%pidgin.build -d %name-%version
13658N/A%libotr.build -d %name-%version
13658N/Aexport ACLOCAL_FLAGS="-I %{_builddir}/%name-%version/libotr-%{libotr.version}"
13658N/Aexport CFLAGS="$CFLAGS -I %{_builddir}/%name-%version/libotr-%{libotr.version}/my_build_tmp"
13658N/Aexport RPM_OPT_FLAGS="$CFLAGS"
13658N/Aexport LDFLAGS="$LDFLAGS -L%{_builddir}/%name-%version/libotr-%{libotr.version}/src/.libs -lotr"
13658N/Aexport LIBOTR_BLD_DIR=%{_builddir}/%name-%version/libotr-%{libotr.version}
10710N/A%pidginotr.build -d %name-%version
10139N/A
10139N/A%install
10710N/A%pidgin.install -d %name-%version
13658N/A%libotr.install -d %name-%version
10710N/A%pidginotr.install -d %name-%version
10139N/A
13658N/A# Delete .a and .la files.
13658N/Arm $RPM_BUILD_ROOT%{_libdir}/*.a
13658N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
13658N/Arm $RPM_BUILD_ROOT%{_libdir}/pidgin/*.la
20829N/Arm -r $RPM_BUILD_ROOT%{_libdir}/perl5
10139N/A
11947N/A# install man page
11947N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
11947N/Acd %{_builddir}/%name-%version/sun-manpages
11947N/Amake install DESTDIR=$RPM_BUILD_ROOT
11947N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
16307N/A%restart_fmri desktop-mime-cache gconf-cache
10139N/A
10139N/A%postun
16307N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/*.so*
10710N/A%{_libdir}/pidgin/*.so*
10710N/A%{_libdir}/purple-2/*.so*
20041N/A%attr(0755, root, bin) %{_libdir}/pidgin/perl/Pidgin.pm
20041N/A%attr(0755, root, bin) %{_libdir}/purple-2/perl/Purple.pm
20041N/A%attr(0755, root, bin) %{_libdir}/pidgin/perl/auto/Pidgin
20041N/A%attr(0755, root, bin) %{_libdir}/purple-2/perl/auto/Purple
20041N/A#%attr(0755, root, bin) %{perl_installarchlib}/perllocal.pod
20829N/A#%dir %attr (0755, root, bin) %{perl_installvendorlib}
10139N/A%dir %attr (0755, root, sys) %{_datadir}
17945N/A%{_datadir}/purple/
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
10139N/A%{_datadir}/pixmaps/*
10139N/A%{_datadir}/sounds
10714N/A%dir %attr (-, root, other) %{_datadir}/icons
10714N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor
10714N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
10714N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
12042N/A%{_datadir}/icons/hicolor/16x16/apps/pidgin.*
11103N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
11103N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
12042N/A%{_datadir}/icons/hicolor/22x22/apps/pidgin.*
10714N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
10714N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
12042N/A%{_datadir}/icons/hicolor/24x24/apps/pidgin.*
10714N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
10714N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
12042N/A%{_datadir}/icons/hicolor/32x32/apps/pidgin.*
10714N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
10714N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
12042N/A%{_datadir}/icons/hicolor/48x48/apps/pidgin.*
17061N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
17061N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
17061N/A%{_datadir}/icons/hicolor/scalable/apps/pidgin.*
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/man1
13735N/A%dir %attr(0755, root, bin) %{_mandir}/man3
10139N/A%{_mandir}/man1/*
13735N/A%{_mandir}/man3/*
14399N/A%doc pidgin-%{pidgin.version}/COPYRIGHT
14399N/A%doc(bzip2) pidgin-%{pidgin.version}/COPYING
14399N/A%doc pidgin-%{pidgin.version}/ChangeLog
14399N/A%doc pidgin-%{pidgin.version}/README
14399N/A%doc(bzip2) pidgin-otr-%{pidginotr.version}/COPYING
14399N/A%doc pidgin-otr-%{pidginotr.version}/ChangeLog
14399N/A%doc pidgin-otr-%{pidginotr.version}/README
14399N/A%doc pidgin-otr-%{pidginotr.version}/NEWS
14399N/A%doc pidgin-otr-%{pidginotr.version}/AUTHORS
14399N/A%doc(bzip2) libotr-%{libotr.version}/COPYING
14399N/A%doc(bzip2) libotr-%{libotr.version}/COPYING.LIB
14399N/A%doc libotr-%{libotr.version}/ChangeLog
14399N/A%doc libotr-%{libotr.version}/README
14399N/A%doc libotr-%{libotr.version}/NEWS
14399N/A%doc libotr-%{libotr.version}/AUTHORS
18481N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A
10139N/A%files root
10522N/A%defattr(-, root, sys)
10139N/A%attr(0755, root, sys) %dir %{_sysconfdir}
10710N/A%{_sysconfdir}/gconf/schemas/purple.schemas
10139N/A
10139N/A%files devel
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10139N/A%dir %attr (0755, root, bin) %{_includedir}
10710N/A%{_includedir}/pidgin
10710N/A%{_includedir}/libpurple
10139N/A%{_includedir}/libotr
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/aclocal
10139N/A%{_datadir}/aclocal/*
10139N/A
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A
10139N/A%changelog
20890N/A* Mon Feb 13 2012 - padraig.obriain@oracle.com
20890N/A- Update Requires and BuildRequires to be IPS package names.
20829N/A* Mon Aug 29 2011 - yanjing.guo@oracle.com
20829N/A- remove the perl empty directory
19078N/A* Mon Nov 08 2010 - brian.lu@oracle.com
19078N/A- Add 'License' tag
18391N/A* Fri Mar 05 2010 - brian.lu@sun.com
18391N/A- Fix bug d.o.o 14897
18187N/A* Tue Jan 26 2009 - jeff.cai@sun.com
18187N/A- Add dependency on SUNWlibgnome-keyring
17945N/A* Tue Dec 17 2009 - brian.lu@sun.com
17945N/A- Fix bug CR6908695
17868N/A* Fri Dec 04 2009 - yuntong.jin@sun.com
17868N/A- explicitly use python2.6 in purple-url-handler&purple-remote
17497N/A* Wed Oct 14 2009 - brian.lu@sun.com
17497N/A- Add dependency SUNWgnome-idn (CR6886486)
17195N/A* Tue Sep 01 2009 - dave.lin@sun.com
17195N/A- Removed "../pidgin-%{pidgin.version}/pidgin" in PKG_CONFIG_PATH.
17172N/A* Mon Aug 31 2009 - dave.lin@sun.com
17172N/A- Add "../pidgin-%{pidgin.version}/pidgin" in PKG_CONFIG_PATH
16348N/A* Fri Apr 10 2009 - elaine.xiong@sun.com
16348N/A- correct gtkspell-devel build dependency.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
16104N/A* Wed Mar 11 2009 - elaine.xiong@sun.com
16104N/A- Change ownership to elaine.
13735N/A* Fri Aug 01 2008 - christian.kelly@sun.com
13735N/A- Correct %files: add in man3 entries
13658N/A* Thu Jul 23 2008 - damien.carbery@sun.com
13658N/A- Move libotr from pidgin-otr.spec to libotr.spec. This makes is easier to
13658N/A track for ARC and Legal reviews.
13072N/A* Wed May 21 2008 - damien.carbery@sun.com
13072N/A- Add Build/Requires SUNWsqlite3, SUNWpr and SUNWtls to fix #6703993.
12557N/A* Fri Mar 07 2008 - rick.ju@sun.com
12557N/A- add SUNWavahi-bridge-dsd dependency
12112N/A* Thu Jan 3 2008 - laca@sun.com
12112N/A- use gconf-install.script instead of an inline script
12042N/A* Thu Dec 06 2007 - rick.ju@sun.com
12042N/A- %files changed to bump to pidgin 2.3.0
11947N/A* Tue Nov 16 2007 - rick.ju@sun.com
11947N/A- Use SGML man page instead of the one from community
11868N/A* Tue Nov 06 2007 - rick.ju@sun.com
11868N/A- Add ../pidgin-%{pidgin.version}/libpurple to PKG_CONFIG_PATH so that
11868N/A pidgin-otr can find the libpurple libraries during build.
11847N/A* Fri Nov 02 2007 - rick.ju@sun.com
11847N/A remove SUNWavahi-bridge-dsd dependency
11847N/A* Wed Oct 10 2007 - damien.carbery@sun.com
11375N/A- Update Build/Requires after running check-deps.pl script.
11311N/A* Fri Sep 28 2007 - laca@sun.com
11311N/A- delete some unnecessary env variables
11103N/A* Wed Aug 22 2007 - damien.carbery@sun.com
11103N/A- Update %files for new pidgin tarball.
10714N/A* Fri Jun 01 2007 - damien.carbery@sun.com
10714N/A- Set %attr for %{datadir}/icons dirs.
10710N/A* Tue May 30 2007 - rick.ju@sun.com
10710N/A- bump to pidgin 2.0.1
10522N/A* Tue Apr 24 2007 - laca@sun.com
10522N/A- s/0755/-/ in defattr so that files are not made all executable
10139N/A* Fri Feb 9 2007 - damien.carbery@sun.com
10139N/A- After a review, remove code that made unnecessary copy of $RPM_BUILD_ROOT
10139N/A before installing second module in this spec file.
10139N/A* Wed Feb 7 2007 - rick.ju@sun.com
10139N/A- Fixed an install issue (copy $RPM_BUILD_ROOT before %gaimotr.install.
10139N/A* Mon Feb 5 2007 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWgnome-media/-devel after check-deps.pl run.
10139N/A* Wed Jan 17 2007 - rick.ju@sun.com
10139N/A- Add gaim-otr.spec.
10139N/A* Fri May 12 2006 - damien.carbery@sun.com
10139N/A- Updates for new tarball. Add 'root' package for the gaim.schemas file (and
10139N/A %post/%preun scripts too). Remove %{_datadir}/doc from %files as nothing is
10139N/A installed there now.
10139N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
10139N/A- New Manpage tarball
10139N/A* Fri Jul 14 2006 - laca@sun.com
10139N/A- update %post/%postun/etc scripts to support diskless client setup,
10139N/A part of 6448317
10139N/A* Thu Jun 29 2006 - laca@sun.com
10139N/A- update postrun scripts
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Fri May 12 2006 - damien.carbery@sun.com
10139N/A- Small update to dependency list after check-deps.pl run.
10139N/A* Thu May 11 2006 - brian.cameron@sun.com
10139N/A- Move gaim-client-example to demo directory.
10139N/A* Thu May 11 2006 - halton.huo@sun.com
10139N/A- Merge -share pkg(s) into the base pkg(s).
10139N/A* Wed May 10 2006 - brian.cameron@sun.com
10139N/A- Now package gaim-notifications-example demo program.
10139N/A* Mon Feb 20 2006 - damien.carbery@sun.com
10139N/A- Complete update of Build/Requires after running check-deps.pl script.
10139N/A* Thu Feb 16 2006 - damien.carbery@sun.com
10139N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Wed Jan 18 2006 - damien.carbery@sun.com
10139N/A- Add devel files from 2.0.0beta1 tarball.
10139N/A* Sat Dec 3 2005 - laca@sun.com
10139N/A- add %post script that runs update-desktop-database
10139N/A* Tue Nov 29 2005 - laca@sun.com
10139N/A- remove javahelp stuff
10139N/A* Thu Sep 15 2005 - laca@sun.com
10139N/A- Define devel subpkg
10139N/A* Fri Nov 12 2004 - kazuhiko.maekawa@sun.com
10139N/A- Added workaround fix for 6193354
10139N/A* Wed Nov 3 2004 - damien.carbery@sun.com
10139N/A- Add BuildRequires of SUNWgnome-javahelp-convert to get
10139N/A javahelp-convert-install.
10139N/A* Tue Oct 05 2004 - matt.keenan@sun.com
10139N/A- Added localized help files to l10n %files section
10139N/A* Sat Oct 02 2004 - laca@sun.com
10139N/A- added %pkgbuild_postprocess
10139N/A* Thu Sep 23 2004 - damien.carbery@sun.com
10139N/A- Add BuildRequires of SUNWgnome-libs to get scrollkeeper-preinstall.
10139N/A* Mon Sep 06 2004 - matt.keenan@sun.com
10139N/A- Added javahelp to %files share
10139N/A* Fri Sep 03 2004 - damien.carbery@sun.com
10139N/A- Changes to support docs tarball added to gaim.spec.
10139N/A* Mon Aug 23 2004 - laca@sun.com
10139N/A- s/SUNWpl5u/SUNWperl584usr/
10139N/A* Mon Jul 12 2004 - damien.carbery@sun.com
10139N/A- Unset perms for /usr/share/pixmaps and /usr/share/applications.
10139N/A* Sat Jul 10 2004 - damien.carbery@sun.com
10139N/A- Set perms for /usr/share/pixmaps and /usr/share/applications.
10139N/A* Tue Jun 22 2004 - shirley.woo@sun.com
10139N/A- changed install location to /usr/lib and /usr/bin
10139N/A* Wed Jun 2 2004 - takao.fujiwara@sun.com
10139N/A- Added %{_datadir}/locale to install l10n messages
10139N/A* Wed Mar 24 2004 - brian.cameron@sun.com
10139N/A- Added SGML man page integration
10139N/A* Tue Mar 23 2004 - <laca@sun.com>
10139N/A- add -DHAVE_ALLOCA_H to CFLAGS
10139N/A* Fri Mar 05 2004 - <laca@sun.com>
10139N/A- define PERL5LIB
10139N/A* Wed Mar 03 2004 - <laca@sun.com>
10139N/A- remove unnecessary env vars
10139N/A- fix %files share
10139N/A* Mon Mar 01 2004 - <laca@sun.com>
10139N/A- set CFLAGS, LDFLAGS
16401N/A
19250N/A
19567N/A