1 # 2 # spec file for package eel 3 # 4 # Copyright (c) 2005 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 # Owner:stephen 9 Name: eel 10 License: LGPL 11 Group: System/Libraries/GNOME 12 Version: 2.16.1 13 Release: 1 14 Distribution: Java Desktop System 15 Vendor: Sun Microsystems, Inc. 16 Summary: Eazel Extensions Library 17 Source: http://ftp.gnome.org/pub/GNOME/sources/eel/2.16/eel-%{version}.tar.bz2 18 URL: http://www.gnome.org 19 #owner:stephen date:2005-05-13 type:bug bugster:6184582 20 Patch1: eel-01-multibyte-bookmark-menu.diff 21 BuildRoot: %{_tmppath}/%{name}-%{version}-build 22 Docdir: %{_defaultdocdir}/doc 23 Autoreqprov: on 24 Prereq: /sbin/ldconfig 25 26 %define libgnomeui_version 2.6.0 27 %define librsvg_version 2.5.0 28 %define libxml2_version 2.6.7 29 %define gnome_vfs_version 2.6.0 30 %define gail_version 1.6.3 31 %define GConf_version 2.6.1 32 %define gnome_desktop_version 2.1.4 33 34 BuildRequires: libgnomeui-devel >= %{libgnomeui_version} 35 BuildRequires: librsvg-devel >= %{librsvg_version} 36 BuildRequires: gail-devel >= %{gail_version} 37 BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} 38 Requires: libgnomeui >= %{libgnomeui_version} 39 Requires: librsvg >= %{librsvg_version} 40 Requires: gail >= %{gail_version} 41 Requires: gnome-desktop >= %{gnome_desktop_version} 42 43 %description 44 This library extends the Gtk+ library with some useful routines for 45 applications like Nautilus. 46 47 %package devel 48 Summary: Eazel Extensions Development Library 49 Group: Development/Libraries/GNOME 50 Requires: %{name} = %{version} 51 Requires: libxml2-devel >= %{libxml2_version} 52 Requires: gnome-vfs-devel >= %{gnome_vfs_version} 53 Requires: GConf-devel >= %{GConf_version} 54 55 %description devel 56 This library extends the Gtk+ library with some useful routines for 57 applications like Nautilus. 58 59 %prep 60 %setup -q 61 %patch1 -p1 62 63 %build 64 %ifos linux 65 if [ -x /usr/bin/getconf ]; then 66 CPUS=`getconf _NPROCESSORS_ONLN` 67 fi 68 %else 69 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` 70 %endif 71 if test "x$CPUS" = "x" -o $CPUS = 0; then 72 CPUS=1 73 fi 74 75 CFLAGS="$RPM_OPT_FLAGS" \ 76 ./configure --prefix=%{_prefix} \ 77 --sysconfdir=%{_sysconfdir} 78 make -j $CPUS 79 80 %install 81 make DESTDIR=$RPM_BUILD_ROOT install 82 #Copy zh_HK from zh_TW 83 #Fixes bug 4930405 84 install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES 85 install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ 86 rm $RPM_BUILD_ROOT%{_libdir}/*.la 87 88 %clean 89 rm -rf $RPM_BUILD_ROOT 90 91 %post 92 /sbin/ldconfig 93 94 %postun 95 /sbin/ldconfig 96 97 %files 98 %defattr (-, root, root) 99 %{_libdir}/*.so.* 100 %{_datadir}/locale/*/LC_MESSAGES/*.mo 101 102 %files devel 103 %defattr (-, root, root) 104 %{_libdir}/*.so 105 %{_libdir}/pkgconfig/*.pc 106 %{_includedir}/eel-2 107 108 %changelog 109 * Wed Nov 08 2006 - damien.carbery@sun.com 110 - Bump to 2.16.1. 111 * Mon Sep 04 2006 - damien.carbery@sun.com 112 - Bump to 2.16.0. 113 - Remove upstream patch, 02-assertion. Renumber remainder. 114 * Tue Aug 08 2006 - padraig.obriain@sun.com 115 - Bump to 2.15.91. 116 * Wed Jul 26 2006 - damien.carbery@sun.com 117 - Bump to 2.15.90. 118 * Web Jul 20 2006 - dermot.mccluskey@sun.com 119 - Bump to 2.15.4. 120 * Tue Apr 11 2006 - damien.carbery@sun.com 121 - Bump to 2.14.1. 122 * Mon Mar 13 2006 - damien.carbery@sun.com 123 - Bump to 2.14.0. 124 - Remove upstream patch, 04-a11y-330995. 125 * Tue Feb 28 2006 - damien.carbery@sun.com 126 - Bump to 2.13.92. 127 - Add upstream patch, 04-a11y-330995. Fixes 330995. 128 * Mon Feb 13 2006 - damien.carbery@sun.com 129 - Bump to 2.13.91. 130 * Tue Jan 31 2006 - damien.carbery@sun.com 131 - Bump to 2.13.90. 132 * Tue Jan 17 2006 - glynn.foster@sun.com 133 - Bump to 2.13.4 134 * Tue Jan 03 2006 - damien.carbery@sun.com 135 - Bump to 2.13.3. 136 * Tue Nov 29 2005 - damien.carbery@sun.com 137 - Bump to 2.12.2. 138 * Tue Oct 11 2005 - damien.carbery@sun.com 139 - Bump to 2.12.1 140 * Sat Sep 17 2005 - glynn.foster@sun.com 141 - Bump to 2.12.0 142 * Mon Sep 05 2005 - damien.carbery@sun.com 143 - Bump to 2.11.92. 144 * Tue Aug 23 2005 - damien.carbery@sun.com 145 - Add gnome-desktop build and install dependencies. 146 * Mon Aug 15 2005 - damien.carbery@sun.com 147 - Bump to 2.11.91. 148 * Wed Aug 03 2005 - laca@sun.com 149 - remove upstream patch cancel-rename.diff 150 * Fri May 13 2005 - balamurali.viswanathan@wipro.com 151 - Bump to 2.10.1 152 * Fri May 13 2005 - vijaykumar.patwari@wipro.com 153 - Added patch eel-05-cancel-rename.diff, this patch does not allow 154 timeout dialog to pop up if gnome-auth-mananger dialog is visible. 155 Fixex bug#6264644. 156 * Wed Mar 23 2005 - muktha.narayan@wipro.com 157 - Added patch eel-04-gok-crash.diff to fix nautilus crash when 158 folder is opened with gok. Fixes bug #6234837. 159 * Tue Feb 15 2005 - hidetoshi.tajima@sun.com 160 - Added patch eel-03-popup-menu-i18n.diff to translate "Select All" 161 and "Input Methods" messages in nautilus. Fixes bug #5072488. 162 * Tue Jan 25 2005 - muktha.narayan@wipro.com 163 - Added patch eel-02-assertion.diff to fix assertion failure 164 messages in nautilus. Fixes bug #4899270. 165 * Mon Dec 08 2004 - suresh.chandrasekharan@sun.com 166 - Added patch #01 to fix the cutoff of long multibyte directory 167 bookmarks. Fixes bug #6184582. Applied to linux trunk only. 168 * Thu Jul 08 2004 - damien.donlon@sun.com 169 - Updated l10n content to eel-l10n-po-1.2.tar.bz2 170 * Wed Jul 07 2004 - niall.power@sun.com 171 - ported to rpm4 172 * Wed Jul 07 2004 - dermot.mccluskey@sun.com 173 - added "-j $CPUS" to make to speed up builds 174 * Wed May 12 2004 - damien.donlon@sun.com 175 - Updated l10n content to eel-l10n-po-1.1.tar.bz2 176 * Fri May 07 2004 - <matt.keenan@sun.com> 177 - Bump to 2.6.1 178 * Thu Apr 15 2004 - <glynn.foster@sun.com> 179 - Bump to 2.6.0 180 * Mon Mar 29 2004 - damien.donlon@sun.com 181 - Updated l10n content to eel-l10n-po-1.0.tar.bz2 182 * Tue Mar 16 2004 - <glynn.foster@sun.com> 183 - Bump to 2.5.91 184 * Wed Mar 10 2004 - <niall.power@sun.com> 185 - Bump to version 2.5.90 and update dependency pkg versions to something 186 a bit more recent. 187 - Remove patches, they are merged into the lastest version. 188 * Wed Feb 18 2004 - <matt.keenan@sun.com> 189 - Updated l10n tarball to 0.8 190 * Tue Feb 17 2004 - <stephen.browne@sun.com> 191 - new tarball, removed patch #3 192 * Thu Feb 12 2004 - <niall.power@sun.com> 193 - added patches 01, 02 and 03: compilation fixes, add a -uninstalled-pc file, 194 fix errors in Makefile.am 195 - autotoolize the build stage 196 * Wed Jan 07 2004 - <niall.power@sun.com> 197 - Updated to 2.5.4 198 * Tue Dec 16 2003 - <glynn.foster@sun.com> 199 - Updated to 2.5.3 200 * Mon Oct 13 2003 - <stephen.browne@sun.com> 201 - Updated to 2.4 202 * Thu Aug 14 2003 - <laca@sun.com> 203 - remove *.a, *.la 204 * Wed Jul 09 2003 - <michael.twomey@sun.com> 205 - add in sun po files 206 * Thu Jul 03 2003 - Niall.Power@sun.com 207 - version 2.2.4 208 * Thu May 01 2003 - Niall.Power@sun.com 209 - initial Sun release. 210