specs/SUNWdesktop-cache.spec
author migi
Thu, 23 Dec 2010 17:02:42 +0000
branchgnome-2-30
changeset 21193 92a354984159
parent 20781 90e64e18fe1d
child 21395 041dce1b104f
permissions -rw-r--r--
2010-12-23 Michal Pryc <[email protected]> * specs/SUNWgamin.spec: * specs/SUNWgnome-keyring.spec: * specs/SUNWgnome-gedit-plugins.spec: * specs/SUNWfsexam.spec: * specs/SUNWgnome-display-mgr.spec: * specs/SUNWlibical.spec: * specs/SUNWopenproj.spec: * specs/SUNWlibgee.spec: * specs/SUNWslocate.spec: * specs/SUNWopensolaris-backgrounds.spec: * specs/SUNWgnonlin.spec: * specs/SUNWdialog.spec: * specs/SUNWvala.spec: * specs/SUNWpython-setuptools.spec: * specs/SUNWlibproxy-mozjs.spec: * specs/SUNWdesktop-cache.spec: * specs/SUNWlibproxy-gnome.spec: * specs/SUNWgnome-base-libs.spec: * specs/SUNWpython26-setuptools.spec: * specs/SUNWavant.spec: * specs/SUNWlibsexy.spec: * specs/SUNWlibgweather.spec: * specs/SUNWlibgdata.spec: * specs/SUNWxdg-sound-theme.spec: * specs/SUNWlibchamplain.spec: * specs/SUNWjokosher.spec: * specs/SUNWmyspell-dictionary-l10n.spec: Adjusted to fit Source Juicer. Fixes 17183.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     1
#
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     2
# spec file for package SUNWdesktop-cache
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     3
#
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     4
# includes module(s): desktop-cache
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     5
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16425
diff changeset
     6
%define owner erwannc
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     7
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     8
%include Solaris.inc
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     9
17893
36619080451b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17851
diff changeset
    10
%define OSR Developed in open, OSR not needed:n/a
16425
d6ed2a48e85f 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15840
diff changeset
    11
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    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
d7f5c72a0ba9 2009-05-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15742
diff changeset
    16
Version:      0.2.2
17851
2a9662e48aca 2010-04-16 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    17
Vendor:       Sun Microsystems, Inc.
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    18
Summary:      desktop-cache is a set of SMF services used to update the various GNOME desktop caches.
15604
6a19d6b3c205 fix download url
laca
parents: 15553
diff changeset
    19
Source:       http://dlc.sun.com/osol/jds/downloads/extras/desktop-cache/desktop-cache-smf-services-%{version}.tar.bz2
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    20
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    21
Docdir:	      %{_defaultdocdir}/doc
15742
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    22
SUNW_BaseDir: %{_basedir}
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    23
SUNW_Copyright: %{name}.copyright
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    24
%include default-depend.inc
20427
8d936b2ec938 2010-11-30 Christian Kelly <[email protected]>
chrisk
parents: 20090
diff changeset
    25
%include gnome-consolidation.inc
20090
437564f99ab5 2010-09-20 Michal Pryc <[email protected]>
migi
parents: 20065
diff changeset
    26
437564f99ab5 2010-09-20 Michal Pryc <[email protected]>
migi
parents: 20065
diff changeset
    27
#find_newer is currently using python2.4
15840
e063d1895261 2009-06-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15787
diff changeset
    28
Requires: SUNWPython
20090
437564f99ab5 2010-09-20 Michal Pryc <[email protected]>
migi
parents: 20065
diff changeset
    29
Requires: SUNWuiu8
15742
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    30
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    31
%package root
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    32
Summary:      %{summary} - / filesystem
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    33
SUNW_BaseDir: /
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    34
%include default-depend.inc
20427
8d936b2ec938 2010-11-30 Christian Kelly <[email protected]>
chrisk
parents: 20090
diff changeset
    35
%include gnome-consolidation.inc
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    36
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    37
%prep
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    38
%setup -q -n desktop-cache-smf-services-%version
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    39
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    40
%build
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    41
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    42
if test "x$CPUS" = "x" -o $CPUS = 0; then
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    43
  CPUS=1
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    44
fi
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    45
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    46
./configure --libdir=/lib \
15552
de8fb6f636ad 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15473
diff changeset
    47
            --datadir=/usr/share \
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    48
	    --sysconfdir=/var
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    49
make -j $CPUS
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    50
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    51
%install
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    52
rm -rf $RPM_BUILD_ROOT
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    53
make DESTDIR=$RPM_BUILD_ROOT install
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    54
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    55
%clean 
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    56
rm -rf $RPM_BUILD_ROOT
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    57
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    58
%files 
13639
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    59
%doc README AUTHORS
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    60
%doc(bzip2) COPYING NEWS ChangeLog
13663
b4d3124959ef 2008-09-18 Ghee Teo <[email protected]>
gheet
parents: 13639
diff changeset
    61
%dir %attr (0755, root, sys) %{_datadir}
13639
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    62
%dir %attr (0755, root, other) %{_datadir}/doc
15742
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    63
%defattr (-, root, bin)
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    64
%{_datadir}/desktop-cache
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    65
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    66
%files root
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    67
%attr (-, root, sys) %class (manifest) /var/svc/manifest
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    68
%defattr (-, root, bin)
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    69
%dir %attr (0755, root, bin) /lib
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    70
/lib/svc
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    71
%defattr (-, root, sys)
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    72
15742
8eb2a2ee0f8d 2009-05-09 Dave Lin <[email protected]>
davelam
parents: 15692
diff changeset
    73
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    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
6142061e510a 2010-06-08 Michal Pryc <[email protected]>
migi
parents: 17937
diff changeset
    77
* Tue Jun 08 2010 - [email protected]
6142061e510a 2010-06-08 Michal Pryc <[email protected]>
migi
parents: 17937
diff changeset
    78
- Updated BuildRequires to fit SourceJuicer.
15840
e063d1895261 2009-06-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15787
diff changeset
    79
* Wed Jun  3 2009 - [email protected]
e063d1895261 2009-06-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15787
diff changeset
    80
- add Python dependency for find_newer
15787
d7f5c72a0ba9 2009-05-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15742
diff changeset
    81
* Thu May 21 2009 - [email protected]
d7f5c72a0ba9 2009-05-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15742
diff changeset
    82
- bump to 0.2.2
15692
8ddfce922c6a 2009-04-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15650
diff changeset
    83
* Wed Apr 29 2009 - [email protected]
8ddfce922c6a 2009-04-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15650
diff changeset
    84
- bump to 0.2.1
8ddfce922c6a 2009-04-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15650
diff changeset
    85
- delete gnome-vfs and gconf dependencies to break circular dep
15552
de8fb6f636ad 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15473
diff changeset
    86
* Thu Apr  2 2009 - [email protected]
de8fb6f636ad 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15473
diff changeset
    87
- bump to 0.2.0
15473
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15390
diff changeset
    88
* Mon Mar 23 2009 - [email protected]
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15390
diff changeset
    89
- Since /lib/svc/method/gconf-cache (SUNWdesktop-cache) requires
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15390
diff changeset
    90
  /usr/bin/gconftool-2 which is found in SUNWgnome-config, add the
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15390
diff changeset
    91
  dependency.
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15390
diff changeset
    92
- Since /lib/svc/method/icon-cache (SUNWdesktop-cache) requires
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15390
diff changeset
    93
  /usr/bin/gtk-update-icon-cache which is found in SUNWgnome-base-libs,
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15390
diff changeset
    94
  add the dependency.
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15390
diff changeset
    95
- Since /lib/svc/method/mime-types-cache (SUNWdesktop-cache) requires
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15390
diff changeset
    96
  /usr/bin/update-mime-database which is found in SUNWgnome-vfs, add
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15390
diff changeset
    97
  the dependency.
15006
65c5b8dcf131 2009-02-03 Ghee Teo <[email protected]>
gheet
parents: 14993
diff changeset
    98
* Wed Feb 02 2009 - [email protected]
65c5b8dcf131 2009-02-03 Ghee Teo <[email protected]>
gheet
parents: 14993
diff changeset
    99
- uprev tarball to 0.1.6 which contain fix to d.o.o #2399 
65c5b8dcf131 2009-02-03 Ghee Teo <[email protected]>
gheet
parents: 14993
diff changeset
   100
  tarball version 0.1.4 and 0.1.5 are bad fixes.
13639
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
   101
* Wed Sep 17 2008 - [email protected]
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
   102
- uprev tarball to 0.1.2 to incldue CDDL COPYING file. add %doc to %files.
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
   103
  Leave Laca's patch untouched to avoid having to roll another tarball when
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
   104
  bug is fixed.
12739
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
   105
* Sat Jun 28 2008 - [email protected]
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
   106
- add patch stability.diff that updates the stability classification
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
   107
  in the manifests until smf's dtd is updated to the new interface
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
   108
  taxonomy.
12738
baf223e458e5 2008-06-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12635
diff changeset
   109
* Fri Jun 27 2008 - [email protected]
baf223e458e5 2008-06-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12635
diff changeset
   110
- bump to 0.1.1
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   111
* Thu Jun 5 2008 - [email protected]
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   112
- fix %files and delete unnecessary autotools to speed up build
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   113
* Tue Jun 3 2008 - [email protected]
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   114
- Initial spec
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   115
20464
cf3e3d7f459b Touch specs/SUNWdesktop-cache.spec to test jucr
chrisk
parents: 20427
diff changeset
   116
20781
90e64e18fe1d Touch specs/SUNWdesktop-cache.spec to test jucr
chrisk
parents: 20464
diff changeset
   117