1 # 2 # spec file for package SUNWdesktop-cache 3 # 4 # includes module(s): desktop-cache 5 # 6 %define owner erwannc 7 8 %include Solaris.inc 9 10 %define OSR Developed in open, OSR not needed:0 11 12 Name: SUNWdesktop-cache 13 License: Other 14 Group: System/Libraries 15 Version: 0.2.2 16 Summary: desktop-cache is a set of SMF services used to update the various GNOME desktop caches. 17 Source: http://dlc.sun.com/osol/jds/downloads/extras/desktop-cache/desktop-cache-smf-services-%{version}.tar.bz2 18 BuildRoot: %{_tmppath}/%{name}-%{version}-build 19 Docdir: %{_defaultdocdir}/doc 20 SUNW_BaseDir: %{_basedir} 21 SUNW_Copyright: %{name}.copyright 22 %include default-depend.inc 23 Requires: SUNWdesktop-cache-root 24 Requires: SUNWPython 25 26 %package root 27 Summary: %{summary} - / filesystem 28 SUNW_BaseDir: / 29 %include default-depend.inc 30 31 %prep 32 %setup -q -n desktop-cache-smf-services-%version 33 34 %build 35 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` 36 if test "x$CPUS" = "x" -o $CPUS = 0; then 37 CPUS=1 38 fi 39 40 ./configure --libdir=/lib \ 41 --datadir=/usr/share \ 42 --sysconfdir=/var 43 make -j $CPUS 44 45 %install 46 rm -rf $RPM_BUILD_ROOT 47 make DESTDIR=$RPM_BUILD_ROOT install 48 49 %clean 50 rm -rf $RPM_BUILD_ROOT 51 52 %files 53 %doc README AUTHORS 54 %doc(bzip2) COPYING NEWS ChangeLog 55 %dir %attr (0755, root, sys) %{_datadir} 56 %dir %attr (0755, root, other) %{_datadir}/doc 57 %defattr (-, root, bin) 58 %{_datadir}/desktop-cache 59 60 %files root 61 %attr (-, root, sys) %class (manifest) /var/svc/manifest 62 %defattr (-, root, bin) 63 %dir %attr (0755, root, bin) /lib 64 /lib/svc 65 %defattr (-, root, sys) 66 67 68 %changelog 69 * Wed Jun 3 2009 - laca@sun.com 70 - add Python dependency for find_newer 71 * Thu May 21 2009 - laca@sun.com 72 - bump to 0.2.2 73 * Wed Apr 29 2009 - laca@sun.com 74 - bump to 0.2.1 75 - delete gnome-vfs and gconf dependencies to break circular dep 76 * Thu Apr 2 2009 - laca@sun.com 77 - bump to 0.2.0 78 * Mon Mar 23 2009 - jeff.cai@sun.com 79 - Since /lib/svc/method/gconf-cache (SUNWdesktop-cache) requires 80 /usr/bin/gconftool-2 which is found in SUNWgnome-config, add the 81 dependency. 82 - Since /lib/svc/method/icon-cache (SUNWdesktop-cache) requires 83 /usr/bin/gtk-update-icon-cache which is found in SUNWgnome-base-libs, 84 add the dependency. 85 - Since /lib/svc/method/mime-types-cache (SUNWdesktop-cache) requires 86 /usr/bin/update-mime-database which is found in SUNWgnome-vfs, add 87 the dependency. 88 * Wed Feb 02 2009 - ghee.teo@sun.com 89 - uprev tarball to 0.1.6 which contain fix to d.o.o #2399 90 tarball version 0.1.4 and 0.1.5 are bad fixes. 91 * Wed Sep 17 2008 - ghee.teo@sun.com 92 - uprev tarball to 0.1.2 to incldue CDDL COPYING file. add %doc to %files. 93 Leave Laca's patch untouched to avoid having to roll another tarball when 94 bug is fixed. 95 * Sat Jun 28 2008 - laca (at] sun.com 96 - add patch stability.diff that updates the stability classification 97 in the manifests until smf's dtd is updated to the new interface 98 taxonomy. 99 * Fri Jun 27 2008 - laca@sun.com 100 - bump to 0.1.1 101 * Thu Jun 5 2008 - laca@sun.com 102 - fix %files and delete unnecessary autotools to speed up build 103 * Tue Jun 3 2008 - erwann.chenede@sun.com 104 - Initial spec 105 106