base-specs/opensolaris-backgrounds.spec
author convert-repo
Tue, 28 Sep 2010 11:41:29 +0000
changeset 20122 34a34bffcb68
parent 17881 1eaaaad29d9a
child 20065 8cf85d0a1d82
child 20370 f2c879959270
permissions -rw-r--r--
update tags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11491
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     1
#
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     2
# spec file for package opensolaris-backgrounds
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     3
#
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     4
# Copyright 2008 Sun Microsystems, Inc.
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     6
# package are under the same license as the package itself.
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16024
diff changeset
     8
%define owner erwannc
17881
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17370
diff changeset
     9
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17370
diff changeset
    10
%define OSR developed in the open, no OSR needed:n/a
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17370
diff changeset
    11
11491
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    12
Name:			opensolaris-backgrounds
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    13
License:		GPL
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    14
Group:			System/GUI/GNOME
17370
ad136b051fe2 2010-01-17 Erwann Chenede - <[email protected]>
erwannc
parents: 16434
diff changeset
    15
Version:		0.8
11491
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    16
Release:		1
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    17
Distribution:		Java Desktop System
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    18
Vendor:			Sun Microsystems, Inc.
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    19
Summary:		Selection of backgrounds for the OpenSolaris desktop
16024
9f9881c61472 Fix download link.
yippi
parents: 15497
diff changeset
    20
Source:			http://dlc.sun.com/osol/jds/downloads/extras/opensolaris-branding/%{name}-%{version}.tar.bz2
11491
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    21
URL:			http://www.opensolaris.org
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    22
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    23
BuildArchitectures:     noarch
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    24
Docdir:			%{_defaultdocdir}/%{name}
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    25
Autoreqprov:		on
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    26
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    27
Requires:	glib2
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    28
BuildRequires:  intltool
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    29
BuildRequires:  glib2
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    30
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    31
%description
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    32
Selection of backgrounds for the OpenSolaris desktop.
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    33
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    34
%prep
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    35
%setup -q
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    36
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    37
%build
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    38
%ifos linux
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    39
if [ -x /usr/bin/getconf ]; then
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    40
  CPUS=`getconf _NPROCESSORS_ONLN`
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    41
fi
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    42
%else
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    43
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    44
%endif
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    45
if test "x$CPUS" = "x" -o $CPUS = 0; then
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    46
  CPUS=1
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    47
fi
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    48
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    49
CFLAGS="$RPM_OPT_FLAGS" \
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    50
  ./configure \
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    51
	--prefix=%{_prefix} \
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    52
	--sysconfdir=%{_sysconfdir} \
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    53
	--mandir=%{_mandir}
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    54
make -j $CPUS
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    55
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    56
%install
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    57
make -i install DESTDIR=$RPM_BUILD_ROOT
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    58
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    59
%clean
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    60
rm -rf $RPM_BUILD_ROOT
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    61
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    62
%files
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    63
%defattr (-, root, root)
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    64
%{_datadir}/gnome-background-properties
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    65
%{_datadir}/pixmaps/backgrounds/
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    66
%{_datadir}/locale/*/LC_MESSAGES/*.mo
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    67
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    68
%changelog
13327
e8eb71c35357 2008-08-29 Wang Xin <[email protected]>
jedy
parents: 12626
diff changeset
    69
* Fir Aug 29 2008 - [email protected]
e8eb71c35357 2008-08-29 Wang Xin <[email protected]>
jedy
parents: 12626
diff changeset
    70
- Bump to 0.4.
11491
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    71
* Mon Jan 21 2008 - [email protected]
a18850f120cf 2008-01-21 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    72
- Initial version