SUNWgnome-im-client.spec revision 18688
10139N/A#
10139N/A# # spec file for package SUNWgnome-im-client
10139N/A#
10139N/A# includes module(s): pidgin, pidgin-otr, libotr
10139N/A#
16307N/A# Copyright 2009 Sun Microsystems, Inc.
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#
17185N/A%define owner elaine
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%use pidgin = pidgin.spec
10139N/A%use libotr = libotr.spec
10139N/A%use pidginotr = pidgin-otr.spec
18688N/A
18688N/AName: SUNWgnome-im-client
10139N/AIPS_package_name: communication/im/pidgin
10139N/AMeta(info.classification): %{classification_prefix}:Applications/Internet
11933N/ASummary: GNOME multi-protocol instant messaging client
10139N/AVersion: %{default_pkg_version}
12750N/ASource: %{name}-manpages-0.1.tar.gz
19099N/APatch1: pidgin-12-libpurple-py26.diff
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
20857N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16401N/A
10139N/A%include default-depend.inc
10139N/ARequires: SUNWgtk2
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWPython26
10139N/ARequires: SUNWbash
10139N/ARequires: SUNWdbus
10139N/ARequires: SUNWevolution-data-server
19142N/ARequires: SUNWgnome-component
19142N/ARequires: SUNWgnome-libs
16401N/ARequires: SUNWgnutls
10139N/ARequires: SUNWlibms
10139N/ARequires: SUNWperl584core
10139N/ARequires: SUNWdesktop-cache
10139N/ARequires: SUNWgnome-media
10139N/ARequires: SUNWavahi-bridge-dsd
10139N/ARequires: SUNWsqlite3
10139N/ARequires: SUNWpr
10139N/ARequires: SUNWtls
10139N/ARequires: SUNWgtkspell
10139N/ARequires: SUNWgnu-idn
16307N/ARequires: SUNWPython26
19142N/ARequires: SUNWlibgnome-keyring
19142N/ARequires: %{name}-root
16307N/ABuildRequires: SUNWgtk2-devel
10139N/ABuildRequires: SUNWPython26-devel
10139N/ABuildRequires: SUNWdbus-devel
10139N/ABuildRequires: SUNWevolution-data-server-devel
10139N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
20857N/ABuildRequires: SUNWgnutls-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-media-devel
10139N/ABuildRequires: SUNWavahi-bridge-dsd-devel
10139N/ABuildRequires: SUNWsqlite3
10139N/ABuildRequires: SUNWpr
10139N/ABuildRequires: SUNWtls
10139N/ABuildRequires: SUNWgtkspell-devel
10139N/ABuildRequires: SUNWlibgnome-keyring-devel
10139N/A
11933N/A%package root
11933N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A
10139N/A%package devel
10658N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/ARequires: %name
10139N/ARequires: SUNWgtk2
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
11933N/ASummary: %{summary} - l10n files
11933N/ASUNW_BaseDir: %{_basedir}
11933N/A%include default-depend.inc
10139N/ARequires: %{name}
11091N/A%endif
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%pidgin.prep -d %name-%version
10139N/A%libotr.prep -d %name-%version
10139N/A%pidginotr.prep -d %name-%version
16307N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
16307N/A#date:2009-12-4 owner:elaine type:bug :explicitly use python2.6 in purple-remote and pruple-url-handler
10139N/A%patch1 -p0
10139N/A%build
10139N/A%{!?perl_installarchlib: %define perl_installarchlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)}
10139N/A%{!?perl_installvendorlib: %define perl_installvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
10139N/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"
10139N/Aecho BrianXX %{perl_installarchlib}
10139N/A%pidgin.build -d %name-%version
10139N/A%libotr.build -d %name-%version
10139N/Aexport ACLOCAL_FLAGS="-I %{_builddir}/%name-%version/libotr-%{libotr.version}"
14293N/Aexport CFLAGS="$CFLAGS -I %{_builddir}/%name-%version/libotr-%{libotr.version}/my_build_tmp"
14293N/Aexport RPM_OPT_FLAGS="$CFLAGS"
14293N/Aexport LDFLAGS="$LDFLAGS -L%{_builddir}/%name-%version/libotr-%{libotr.version}/src/.libs -lotr"
14293N/Aexport LIBOTR_BLD_DIR=%{_builddir}/%name-%version/libotr-%{libotr.version}
14293N/A%pidginotr.build -d %name-%version
10139N/A
10139N/A%install
10139N/A%pidgin.install -d %name-%version
10139N/A%libotr.install -d %name-%version
10139N/A%pidginotr.install -d %name-%version
10139N/A
10522N/A# Delete .a and .la files.
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/*.a
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/pidgin/*.la
10139N/A
10139N/A%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10139N/A%endif
16307N/A
16307N/A# install man page
14316N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
14316N/Acd %{_builddir}/%name-%version/sun-manpages
12750N/Amake install DESTDIR=$RPM_BUILD_ROOT
12750N/A
12112N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
12112N/A
11314N/A%clean
11314N/Arm -rf $RPM_BUILD_ROOT
11314N/A
11091N/A%post
11091N/A%restart_fmri desktop-mime-cache gconf-cache
11091N/A
10658N/A%postun
10522N/A%restart_fmri desktop-mime-cache
10522N/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*
10139N/A%{_libdir}/pidgin/*.so*
10139N/A%{_libdir}/purple-2/*.so*
10139N/A%attr(755, root, bin) %{_libdir}/pidgin/perl/Pidgin.pm
10139N/A%attr(755, root, bin) %{_libdir}/purple-2/perl/Purple.pm
10139N/A%attr(755, root, bin) %{_libdir}/pidgin/perl/auto/Pidgin
10139N/A%attr(755, root, bin) %{_libdir}/purple-2/perl/auto/Purple
10139N/A#%attr(755, root, bin) %{perl_installarchlib}/perllocal.pod
10139N/A%dir %attr (0755, root, bin) %{perl_installvendorlib}
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/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
10139N/A%dir %attr (-, root, other) %{_datadir}/icons
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
10139N/A%{_datadir}/icons/hicolor/16x16/apps/pidgin.*
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
10139N/A%{_datadir}/icons/hicolor/22x22/apps/pidgin.*
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
10139N/A%{_datadir}/icons/hicolor/24x24/apps/pidgin.*
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
10139N/A%{_datadir}/icons/hicolor/32x32/apps/pidgin.*
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
10139N/A%{_datadir}/icons/hicolor/48x48/apps/pidgin.*
16401N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
19206N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
19523N/A%{_datadir}/icons/hicolor/scalable/apps/pidgin.*
%dir %attr(0755, root, bin) %{_mandir}
%dir %attr(0755, root, bin) %{_mandir}/man1
%dir %attr(0755, root, bin) %{_mandir}/man3
%{_mandir}/man1/*
%{_mandir}/man3/*
%doc pidgin-%{pidgin.version}/COPYRIGHT
%doc(bzip2) pidgin-%{pidgin.version}/COPYING
%doc pidgin-%{pidgin.version}/ChangeLog
%doc pidgin-%{pidgin.version}/README
%doc(bzip2) pidgin-otr-%{pidginotr.version}/COPYING
%doc pidgin-otr-%{pidginotr.version}/ChangeLog
%doc pidgin-otr-%{pidginotr.version}/README
%doc pidgin-otr-%{pidginotr.version}/NEWS
%doc pidgin-otr-%{pidginotr.version}/AUTHORS
%doc(bzip2) libotr-%{libotr.version}/COPYING
%doc(bzip2) libotr-%{libotr.version}/COPYING.LIB
%doc libotr-%{libotr.version}/ChangeLog
%doc libotr-%{libotr.version}/README
%doc libotr-%{libotr.version}/NEWS
%doc libotr-%{libotr.version}/AUTHORS
%dir %attr (0755, root, other) %{_datadir}/doc
%files root
%defattr(-, root, sys)
%attr(0755, root, sys) %dir %{_sysconfdir}
%{_sysconfdir}/gconf/schemas/purple.schemas
%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/pidgin
%{_includedir}/libpurple
%{_includedir}/libotr
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/aclocal
%{_datadir}/aclocal/*
%if %build_l10n
%files l10n
%defattr (-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%attr (-, root, other) %{_datadir}/locale
%endif
%changelog
* Fri Mar 05 2010 - brian.lu@sun.com
- Fix bug d.o.o 14897
* Tue Jan 26 2009 - jeff.cai@sun.com
- Add dependency on SUNWlibgnome-keyring
* Tue Dec 17 2009 - brian.lu@sun.com
- Fix bug CR6908695
* Fri Dec 04 2009 - yuntong.jin@sun.com
- explicitly use python2.6 in purple-url-handler&purple-remote
* Wed Oct 14 2009 - brian.lu@sun.com
- Add dependency SUNWgnome-idn (CR6886486)
* Tue Sep 01 2009 - dave.lin@sun.com
- Removed "../pidgin-%{pidgin.version}/pidgin" in PKG_CONFIG_PATH.
* Mon Aug 31 2009 - dave.lin@sun.com
- Add "../pidgin-%{pidgin.version}/pidgin" in PKG_CONFIG_PATH
* Fri Apr 10 2009 - elaine.xiong@sun.com
- correct gtkspell-devel build dependency.
* Fri Apr 3 2009 - laca@sun.com
- use desktop-cache instead of postrun
* Wed Mar 11 2009 - elaine.xiong@sun.com
- Change ownership to elaine.
* Fri Aug 01 2008 - christian.kelly@sun.com
- Correct %files: add in man3 entries
* Thu Jul 23 2008 - damien.carbery@sun.com
- Move libotr from pidgin-otr.spec to libotr.spec. This makes is easier to
track for ARC and Legal reviews.
* Wed May 21 2008 - damien.carbery@sun.com
- Add Build/Requires SUNWsqlite3, SUNWpr and SUNWtls to fix #6703993.
* Fri Mar 07 2008 - rick.ju@sun.com
- add SUNWavahi-bridge-dsd dependency
* Thu Jan 3 2008 - laca@sun.com
- use gconf-install.script instead of an inline script
* Thu Dec 06 2007 - rick.ju@sun.com
- %files changed to bump to pidgin 2.3.0
* Tue Nov 16 2007 - rick.ju@sun.com
- Use SGML man page instead of the one from community
* Tue Nov 06 2007 - rick.ju@sun.com
- Add ../pidgin-%{pidgin.version}/libpurple to PKG_CONFIG_PATH so that
pidgin-otr can find the libpurple libraries during build.
* Fri Nov 02 2007 - rick.ju@sun.com
remove SUNWavahi-bridge-dsd dependency
* Wed Oct 10 2007 - damien.carbery@sun.com
- Update Build/Requires after running check-deps.pl script.
* Fri Sep 28 2007 - laca@sun.com
- delete some unnecessary env variables
* Wed Aug 22 2007 - damien.carbery@sun.com
- Update %files for new pidgin tarball.
* Fri Jun 01 2007 - damien.carbery@sun.com
- Set %attr for %{datadir}/icons dirs.
* Tue May 30 2007 - rick.ju@sun.com
- bump to pidgin 2.0.1
* Tue Apr 24 2007 - laca@sun.com
- s/0755/-/ in defattr so that files are not made all executable
* Fri Feb 9 2007 - damien.carbery@sun.com
- After a review, remove code that made unnecessary copy of $RPM_BUILD_ROOT
before installing second module in this spec file.
* Wed Feb 7 2007 - rick.ju@sun.com
- Fixed an install issue (copy $RPM_BUILD_ROOT before %gaimotr.install.
* Mon Feb 5 2007 - damien.carbery@sun.com
- Add Build/Requires SUNWgnome-media/-devel after check-deps.pl run.
* Wed Jan 17 2007 - rick.ju@sun.com
- Add gaim-otr.spec.
* Fri May 12 2006 - damien.carbery@sun.com
- Updates for new tarball. Add 'root' package for the gaim.schemas file (and
%post/%preun scripts too). Remove %{_datadir}/doc from %files as nothing is
installed there now.
* Mon Sep 04 2006 - Matt.Keenan@sun.com
- New Manpage tarball
* Fri Jul 14 2006 - laca@sun.com
- update %post/%postun/etc scripts to support diskless client setup,
part of 6448317
* Thu Jun 29 2006 - laca@sun.com
- update postrun scripts
* Sun Jun 11 2006 - laca@sun.com
- change group from other to bin/sys
* Fri May 12 2006 - damien.carbery@sun.com
- Small update to dependency list after check-deps.pl run.
* Thu May 11 2006 - brian.cameron@sun.com
- Move gaim-client-example to demo directory.
* Thu May 11 2006 - halton.huo@sun.com
- Merge -share pkg(s) into the base pkg(s).
* Wed May 10 2006 - brian.cameron@sun.com
- Now package gaim-notifications-example demo program.
* Mon Feb 20 2006 - damien.carbery@sun.com
- Complete update of Build/Requires after running check-deps.pl script.
* Thu Feb 16 2006 - damien.carbery@sun.com
- Update Build/Requires after running check-deps.pl script.
* Wed Jan 18 2006 - damien.carbery@sun.com
- Add devel files from 2.0.0beta1 tarball.
* Sat Dec 3 2005 - laca@sun.com
- add %post script that runs update-desktop-database
* Tue Nov 29 2005 - laca@sun.com
- remove javahelp stuff
* Thu Sep 15 2005 - laca@sun.com
- Define devel subpkg
* Fri Nov 12 2004 - kazuhiko.maekawa@sun.com
- Added workaround fix for 6193354
* Wed Nov 3 2004 - damien.carbery@sun.com
- Add BuildRequires of SUNWgnome-javahelp-convert to get
javahelp-convert-install.
* Tue Oct 05 2004 - matt.keenan@sun.com
- Added localized help files to l10n %files section
* Sat Oct 02 2004 - laca@sun.com
- added %pkgbuild_postprocess
* Thu Sep 23 2004 - damien.carbery@sun.com
- Add BuildRequires of SUNWgnome-libs to get scrollkeeper-preinstall.
* Mon Sep 06 2004 - matt.keenan@sun.com
- Added javahelp to %files share
* Fri Sep 03 2004 - damien.carbery@sun.com
- Changes to support docs tarball added to gaim.spec.
* Mon Aug 23 2004 - laca@sun.com
- s/SUNWpl5u/SUNWperl584usr/
* Mon Jul 12 2004 - damien.carbery@sun.com
- Unset perms for /usr/share/pixmaps and /usr/share/applications.
* Sat Jul 10 2004 - damien.carbery@sun.com
- Set perms for /usr/share/pixmaps and /usr/share/applications.
* Tue Jun 22 2004 - shirley.woo@sun.com
- changed install location to /usr/lib and /usr/bin
* Wed Jun 2 2004 - takao.fujiwara@sun.com
- Added %{_datadir}/locale to install l10n messages
* Wed Mar 24 2004 - brian.cameron@sun.com
- Added SGML man page integration
* Tue Mar 23 2004 - <laca@sun.com>
- add -DHAVE_ALLOCA_H to CFLAGS
* Fri Mar 05 2004 - <laca@sun.com>
- define PERL5LIB
* Wed Mar 03 2004 - <laca@sun.com>
- remove unnecessary env vars
- fix %files share
* Mon Mar 01 2004 - <laca@sun.com>
- set CFLAGS, LDFLAGS