indiana/SUNWdesktop-cache.spec
author hawklu
Mon, 17 Nov 2008 03:35:17 +0000
branchopensolaris-2008-11
changeset 14389 2b15c067f4e1
parent 14383 a34d882ec3a7
child 14188 25d9b16f9a0e
child 14397 b453dcb7ddbd
child 14981 01afd5c2d6cd
permissions -rw-r--r--
base-specs/firefox.spec: bump to 3.0.4
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
14383
a34d882ec3a7 2008-11-07 Erwann Chenede - <[email protected]>
erwannc
parents: 13663
diff changeset
    13
Version:      0.1.3
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
12740
143125e5f9e2 add patch comment
laca
parents: 12739
diff changeset
    16
# owner:laca type:bug bugster:6720504 date:2008-06-28
12739
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
    17
Patch1:       desktop-cache-01-stability.diff
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    18
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    19
Docdir:	      %{_defaultdocdir}/doc
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    20
SUNW_BaseDir: /
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    21
SUNW_Copyright: %{name}.copyright
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
%include default-depend.inc
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    24
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    25
%prep
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    26
%setup -q -n desktop-cache-smf-services-%version
12739
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
    27
%patch1 -p1
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    28
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    29
%build
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    30
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    31
if test "x$CPUS" = "x" -o $CPUS = 0; then
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    32
  CPUS=1
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    33
fi
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    34
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    35
./configure --libdir=/lib \
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    36
	    --sysconfdir=/var
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    37
make -j $CPUS
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    38
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    39
%install
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    40
rm -rf $RPM_BUILD_ROOT
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    41
make DESTDIR=$RPM_BUILD_ROOT install
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
%clean 
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    44
rm -rf $RPM_BUILD_ROOT
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
%files 
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    47
# don't use %_localstatedir here, because this is an absolute path
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    48
# 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
    49
# package's %_localstatedir is redefined
13639
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    50
%doc README AUTHORS
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    51
%doc(bzip2) COPYING NEWS ChangeLog
13663
b4d3124959ef 2008-09-18 Ghee Teo <[email protected]>
gheet
parents: 13639
diff changeset
    52
%dir %attr (0755, root, sys) %{_datadir}
13639
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    53
%dir %attr (0755, root, other) %{_datadir}/doc
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    54
%defattr (-, root, sys)
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    55
%attr (-, root, sys) %class (manifest) /var/svc/manifest
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    56
%defattr (-, root, bin)
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    57
%dir %attr (0755, root, bin) /lib
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    58
/lib/svc
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    59
%defattr (-, root, sys)
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    60
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    61
%changelog
13639
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    62
* Wed Sep 17 2008 - [email protected]
fa51f3d02f45 2008-09-17 Ghee Teo <[email protected]>
gheet
parents: 12740
diff changeset
    63
- 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
    64
  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
    65
  bug is fixed.
12739
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
    66
* Sat Jun 28 2008 - [email protected]
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
    67
- add patch stability.diff that updates the stability classification
69eb51bda368 2008-06-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12738
diff changeset
    68
  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
    69
  taxonomy.
12738
baf223e458e5 2008-06-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12635
diff changeset
    70
* Fri Jun 27 2008 - [email protected]
baf223e458e5 2008-06-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12635
diff changeset
    71
- bump to 0.1.1
12633
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    72
* Thu Jun 5 2008 - [email protected]
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    73
- fix %files and delete unnecessary autotools to speed up build
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    74
* Tue Jun 3 2008 - [email protected]
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    75
- Initial spec
3f4304c77d39 2008-06-11 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    76