1 # 2 # spec file for package SUNWxchat 3 # 4 # includes module(s): xchat 5 # 6 # Copyright 2009 Sun Microsystems, Inc. 7 # This file and all modifications and additions to the pristine 8 # package are under the same license as the package itself. 9 # 10 %define owner laca 11 # 12 %include Solaris.inc 13 %use xchat = xchat.spec 14 15 Name: SUNWxchat 16 Summary: XChat IRC Client 17 Version: %{xchat.version} 18 SUNW_BaseDir: %{_basedir} 19 SUNW_Copyright: %{name}.copyright 20 BuildRoot: %{_tmppath}/%{name}-%{version}-build 21 %include default-depend.inc 22 BuildRequires: SUNWgtk2-devel 23 BuildRequires: SUNWgnome-libs-devel 24 BuildRequires: SUNWPython 25 Requires: SUNWgtk2 26 Requires: SUNWPython 27 Requires: SUNWperl584core 28 Requires: SUNWopenssl-libraries 29 BuildRequires: SUNWopenssl-include 30 Requires: SUNWlibsexy 31 BuildRequires: SUNWlibsexy-devel 32 Requires: SUNWgnome-spell 33 Requires: SUNWgnome-libs 34 Requires: SUNWdbus 35 Requires: SUNWdesktop-cache 36 Requires: %name-root 37 BuildRequires: SUNWdbus-devel 38 39 %package root 40 Summary: %{summary} - / filesystem 41 SUNW_BaseDir: / 42 %include default-depend.inc 43 44 %if %build_l10n 45 %package l10n 46 Summary: %{summary} - l10n files 47 SUNW_BaseDir: %{_basedir} 48 %include default-depend.inc 49 Requires: %{name} 50 %endif 51 52 %prep 53 mkdir -p %name-%version 54 %xchat.prep -d %name-%version 55 56 %build 57 %xchat.build -d %name-%version 58 59 %install 60 %xchat.install -d %name-%version 61 62 %clean 63 rm -rf $RPM_BUILD_ROOT 64 65 %post 66 %restart_fmri gconf-cache desktop-mime-cache 67 68 %files 69 %defattr (-, root, bin) 70 %dir %attr (0755, root, bin) %{_bindir} 71 %{_bindir}/* 72 %dir %attr (0755, root, bin) %{_libdir} 73 %{_libdir}/* 74 %dir %attr (0755, root, sys) %{_datadir} 75 %dir %attr (0755, root, other) %{_datadir}/applications 76 %{_datadir}/applications/* 77 %dir %attr (0755, root, other) %{_datadir}/pixmaps 78 %{_datadir}/pixmaps/* 79 %{_datadir}/dbus-1/services/org.xchat.* 80 81 %files root 82 %defattr (-, root, sys) 83 %attr (0755, root, sys) %dir %{_sysconfdir} 84 %{_sysconfdir}/gconf/schemas/apps_xchat_url_handler.schemas 85 86 %if %build_l10n 87 %files l10n 88 %defattr (-, root, bin) 89 %dir %attr (0755, root, sys) %{_datadir} 90 %attr (-, root, other) %{_datadir}/locale 91 %endif 92 93 %changelog 94 * Fri Apr 3 2009 - laca@sun.com 95 - use desktop-cache instead of postrun 96 * Fri Jul 25 2008 - damien.carbery@sun.com 97 - Add Build/Requires SUNWgnome-base-libs/-devel. 98 * Fri Jul 25 2008 - laca@sun.com 99 - add missing deps 100 * Thu Jul 24 2008 - laca@sun.com 101 - create SUNWxchat.spec from SFExchat.spec and move to spec-files-other 102 * Thu Jun 12 2008 - brian.cameron@sun.com 103 - Bump to 2.8.6. 104 * Mon Oct 22 2007 - brian.cameron@sun.com 105 - Remove patch xchat-03-dbus-LDADD.diff since it is not longer needed. 106 * Wed Oct 17 2007 - laca@sun.com 107 - add /usr/gnu to CFLAGS/LDFLAGS 108 * Thu Aug 02 2007 - Brian Cameron <brian.cameron@sun.com> 109 - Bump to 2.8.4. 110 * Tue May 29 2007 - Thomas Wagner 111 - bump to 2.8.2 112 - /usr/bin/msgfmt errors, use /opt/sfw/bin/msgfmt 113 - reworked patch for 2.8.2 114 * Sun Jan 7 2007 - laca@sun.com 115 - bump to 2.8.0, merge patches, update %files 116 * Mon Jul 31 2006 - glynn.foster@sun.com 117 - bump to 2.6.6 118 * Mon Jun 12 2006 - laca@sun.com 119 - bump to 2.6.4 120 - rename to SFExchat 121 - add -l10n pkg 122 - change to root:bin to follow other JDS pkgs. 123 - add patch that fixes the proxy in 2.6.4 124 * Fri Jun 2 2006 - laca@sun.com 125 - use post/postun scripts to install schemas into the merged gconf files 126 - merge -share pkg into base 127 * Thu Apr 20 2006 - damien.carbery@sun.com 128 - Bump to 2.6.2. 129 * Mon Mar 20 2006 - brian.cameron@sun.com 130 - Remove unneeded intltoolize call. 131 * Thu Jan 26 2006 - brian.cameron@sun.com 132 - Update to 2.6.1 133 * Wed Dec 07 2005 - brian.cameron@sun.com 134 - Update to 2.6.0 135 * Wed Oct 12 2005 - laca@sun.com 136 - update to 2.4.5; fix 137 * Thu Jan 06 2004 - Brian.Cameron@sun.com 138 - created 139 140