author | migi |
Thu, 23 Dec 2010 17:02:42 +0000 | |
branch | gnome-2-30 |
changeset 21193 | 92a354984159 |
parent 20781 | 90e64e18fe1d |
child 21395 | 041dce1b104f |
permissions | -rw-r--r-- |
12633 | 1 |
# |
2 |
# spec file for package SUNWdesktop-cache |
|
3 |
# |
|
4 |
# includes module(s): desktop-cache |
|
5 |
# |
|
16434 | 6 |
%define owner erwannc |
12633 | 7 |
|
8 |
%include Solaris.inc |
|
9 |
||
17893 | 10 |
%define OSR Developed in open, OSR not needed:n/a |
16425 | 11 |
|
12633 | 12 |
Name: SUNWdesktop-cache |
17937
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
13 |
IPS_package_name: service/gnome/desktop-cache |
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
14 |
Meta(info.classification): %{classification_prefix}:System/Services |
20065
8cf85d0a1d82
Synced relicense/rebranding changes from internal repo.
davelam
parents:
18099
diff
changeset
|
15 |
License: cr_Oracle |
15787 | 16 |
Version: 0.2.2 |
17851 | 17 |
Vendor: Sun Microsystems, Inc. |
12633 | 18 |
Summary: desktop-cache is a set of SMF services used to update the various GNOME desktop caches. |
15604 | 19 |
Source: http://dlc.sun.com/osol/jds/downloads/extras/desktop-cache/desktop-cache-smf-services-%{version}.tar.bz2 |
12633 | 20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
21 |
Docdir: %{_defaultdocdir}/doc |
|
15742 | 22 |
SUNW_BaseDir: %{_basedir} |
23 |
SUNW_Copyright: %{name}.copyright |
|
24 |
%include default-depend.inc |
|
20427 | 25 |
%include gnome-consolidation.inc |
20090 | 26 |
|
27 |
#find_newer is currently using python2.4 |
|
15840 | 28 |
Requires: SUNWPython |
20090 | 29 |
Requires: SUNWuiu8 |
15742 | 30 |
|
31 |
%package root |
|
32 |
Summary: %{summary} - / filesystem |
|
12633 | 33 |
SUNW_BaseDir: / |
34 |
%include default-depend.inc |
|
20427 | 35 |
%include gnome-consolidation.inc |
12633 | 36 |
|
37 |
%prep |
|
38 |
%setup -q -n desktop-cache-smf-services-%version |
|
39 |
||
40 |
%build |
|
41 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
42 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
43 |
CPUS=1 |
|
44 |
fi |
|
45 |
||
46 |
./configure --libdir=/lib \ |
|
15552 | 47 |
--datadir=/usr/share \ |
12633 | 48 |
--sysconfdir=/var |
49 |
make -j $CPUS |
|
50 |
||
51 |
%install |
|
52 |
rm -rf $RPM_BUILD_ROOT |
|
53 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
54 |
||
55 |
%clean |
|
56 |
rm -rf $RPM_BUILD_ROOT |
|
57 |
||
58 |
%files |
|
13639 | 59 |
%doc README AUTHORS |
60 |
%doc(bzip2) COPYING NEWS ChangeLog |
|
13663 | 61 |
%dir %attr (0755, root, sys) %{_datadir} |
13639 | 62 |
%dir %attr (0755, root, other) %{_datadir}/doc |
15742 | 63 |
%defattr (-, root, bin) |
64 |
%{_datadir}/desktop-cache |
|
65 |
||
66 |
%files root |
|
12633 | 67 |
%attr (-, root, sys) %class (manifest) /var/svc/manifest |
68 |
%defattr (-, root, bin) |
|
69 |
%dir %attr (0755, root, bin) /lib |
|
70 |
/lib/svc |
|
71 |
%defattr (-, root, sys) |
|
72 |
||
15742 | 73 |
|
12633 | 74 |
%changelog |
20065
8cf85d0a1d82
Synced relicense/rebranding changes from internal repo.
davelam
parents:
18099
diff
changeset
|
75 |
* Tue Aug 17 2010 - [email protected] |
8cf85d0a1d82
Synced relicense/rebranding changes from internal repo.
davelam
parents:
18099
diff
changeset
|
76 |
- Adjusted License tag to cr_Oracle for build 146a |
18099 | 77 |
* Tue Jun 08 2010 - [email protected] |
78 |
- Updated BuildRequires to fit SourceJuicer. |
|
15840 | 79 |
* Wed Jun 3 2009 - [email protected] |
80 |
- add Python dependency for find_newer |
|
15787 | 81 |
* Thu May 21 2009 - [email protected] |
82 |
- bump to 0.2.2 |
|
15692 | 83 |
* Wed Apr 29 2009 - [email protected] |
84 |
- bump to 0.2.1 |
|
85 |
- delete gnome-vfs and gconf dependencies to break circular dep |
|
15552 | 86 |
* Thu Apr 2 2009 - [email protected] |
87 |
- bump to 0.2.0 |
|
15473 | 88 |
* Mon Mar 23 2009 - [email protected] |
89 |
- Since /lib/svc/method/gconf-cache (SUNWdesktop-cache) requires |
|
90 |
/usr/bin/gconftool-2 which is found in SUNWgnome-config, add the |
|
91 |
dependency. |
|
92 |
- Since /lib/svc/method/icon-cache (SUNWdesktop-cache) requires |
|
93 |
/usr/bin/gtk-update-icon-cache which is found in SUNWgnome-base-libs, |
|
94 |
add the dependency. |
|
95 |
- Since /lib/svc/method/mime-types-cache (SUNWdesktop-cache) requires |
|
96 |
/usr/bin/update-mime-database which is found in SUNWgnome-vfs, add |
|
97 |
the dependency. |
|
15006 | 98 |
* Wed Feb 02 2009 - [email protected] |
99 |
- uprev tarball to 0.1.6 which contain fix to d.o.o #2399 |
|
100 |
tarball version 0.1.4 and 0.1.5 are bad fixes. |
|
13639 | 101 |
* Wed Sep 17 2008 - [email protected] |
102 |
- uprev tarball to 0.1.2 to incldue CDDL COPYING file. add %doc to %files. |
|
103 |
Leave Laca's patch untouched to avoid having to roll another tarball when |
|
104 |
bug is fixed. |
|
12739 | 105 |
* Sat Jun 28 2008 - [email protected] |
106 |
- add patch stability.diff that updates the stability classification |
|
107 |
in the manifests until smf's dtd is updated to the new interface |
|
108 |
taxonomy. |
|
12738 | 109 |
* Fri Jun 27 2008 - [email protected] |
110 |
- bump to 0.1.1 |
|
12633 | 111 |
* Thu Jun 5 2008 - [email protected] |
112 |
- fix %files and delete unnecessary autotools to speed up build |
|
113 |
* Tue Jun 3 2008 - [email protected] |
|
114 |
- Initial spec |
|
115 |
||
20464 | 116 |
|
20781 | 117 |