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