indiana/SUNWdesktop-cache.spec
author laca
Sun, 15 Mar 2009 22:05:45 +0000
changeset 15390 8e9fb040cc41
parent 15387 0f17cf1c9463
child 15473 22a349d94c8c
permissions -rw-r--r--
2009-03-16 Laszlo (Laca) Peter <[email protected]> * indiana/SUNWdesktop-cache.spec: fix the permissions on /usr
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
#
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     6
# Owner: erwannc
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
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    10
Name:         SUNWdesktop-cache
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    11
License:      Other
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    12
Group:        System/Libraries
15387
0f17cf1c9463 2009-03-13 Erwann Chenede - <[email protected]>
erwannc
parents: 15006
diff changeset
    13
Version:      0.1.7
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    14
Summary:      desktop-cache is a set of SMF services used to update the various GNOME desktop caches.
12635
6639f5ba6bd9 Update Source URL to point to DLC.
dcarbery
parents: 12633
diff changeset
    15
Source:       http://dlc.sun.com/osol/jds/downloads/extras/desktop-cache-smf-services-%{version}.tar.bz2
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    16
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    17
Docdir:	      %{_defaultdocdir}/doc
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    18
SUNW_BaseDir: /
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    19
SUNW_Copyright: %{name}.copyright
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    20
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    21
%include default-depend.inc
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    22
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    23
%prep
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    24
%setup -q -n desktop-cache-smf-services-%version
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    25
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    26
%build
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    27
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    28
if test "x$CPUS" = "x" -o $CPUS = 0; then
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    29
  CPUS=1
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    30
fi
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    31
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    32
./configure --libdir=/lib \
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    33
	    --sysconfdir=/var
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    34
make -j $CPUS
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    35
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    36
%install
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    37
rm -rf $RPM_BUILD_ROOT
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    38
make DESTDIR=$RPM_BUILD_ROOT install
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
%clean 
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    41
rm -rf $RPM_BUILD_ROOT
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    42
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    43
%files 
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    44
# don't use %_localstatedir here, because this is an absolute path
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    45
# defined by another package, so it has to be /var/svc even if this
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    46
# package's %_localstatedir is redefined
13639
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    47
%doc README AUTHORS
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    48
%doc(bzip2) COPYING NEWS ChangeLog
15390
8e9fb040cc41 2009-03-16 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15387
diff changeset
    49
%dir %attr (0755, root, sys) %{_prefix}
13663
b4d3124959ef 2008-09-18 Ghee Teo <[email protected]>
gheet
parents: 13639
diff changeset
    50
%dir %attr (0755, root, sys) %{_datadir}
13639
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    51
%dir %attr (0755, root, other) %{_datadir}/doc
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    52
%defattr (-, root, sys)
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    53
%attr (-, root, sys) %class (manifest) /var/svc/manifest
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    54
%defattr (-, root, bin)
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    55
%dir %attr (0755, root, bin) /lib
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    56
/lib/svc
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    57
%defattr (-, root, sys)
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    58
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    59
%changelog
15006
65c5b8dcf131 2009-02-03 Ghee Teo <[email protected]>
gheet
parents: 14993
diff changeset
    60
* Wed Feb 02 2009 - [email protected]
65c5b8dcf131 2009-02-03 Ghee Teo <[email protected]>
gheet
parents: 14993
diff changeset
    61
- 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
    62
  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
    63
* Wed Sep 17 2008 - [email protected]
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    64
- 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
    65
  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
    66
  bug is fixed.
12739
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
    67
* Sat Jun 28 2008 - [email protected]
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
    68
- add patch stability.diff that updates the stability classification
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
    69
  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
    70
  taxonomy.
12738
baf223e458e5 2008-06-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12635
diff changeset
    71
* Fri Jun 27 2008 - [email protected]
baf223e458e5 2008-06-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12635
diff changeset
    72
- bump to 0.1.1
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    73
* Thu Jun 5 2008 - [email protected]
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    74
- fix %files and delete unnecessary autotools to speed up build
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    75
* Tue Jun 3 2008 - [email protected]
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    76
- Initial spec
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    77