10679
|
1 |
#
|
10682
|
2 |
# spec file for package opensolaris-gdm-themes
|
10679
|
3 |
#
|
11505
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
10679
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner erwannc
|
13805
|
9 |
# bugdb: defect.opensolaris.org/bz
|
10679
|
10 |
#
|
|
11 |
Name: opensolaris-gdm-themes
|
|
12 |
License: LGPL
|
|
13 |
Group: System/GUI/GNOME
|
|
14 |
BuildArchitectures: noarch
|
15508
|
15 |
Version: 0.9
|
10679
|
16 |
Release: 1
|
|
17 |
Distribution: Java Desktop System
|
|
18 |
Vendor: Sun Microsystems, Inc.
|
|
19 |
Summary: OpenSolaris login manager theme
|
16027
|
20 |
Source: http://dlc.sun.com/osol/jds/downloads/extras/opensolaris-branding/%{name}-%{version}.tar.gz
|
10679
|
21 |
%if %build_l10n
|
|
22 |
Source1: l10n-configure.sh
|
|
23 |
%endif
|
13805
|
24 |
URL: http://www.opensolaris.org/os/project/jds/
|
10679
|
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
26 |
Docdir: %{_defaultdocdir}/%{name}
|
|
27 |
Autoreqprov: on
|
|
28 |
|
|
29 |
%define intltool_version 0.25
|
|
30 |
|
|
31 |
BuildRequires: intltool >= %{intltool_version}
|
|
32 |
|
|
33 |
%description
|
|
34 |
This package contains OpenSolaris login manager [GDM] themes
|
|
35 |
|
|
36 |
%prep
|
|
37 |
%setup -q -n %name-%version
|
|
38 |
%if %build_l10n
|
12168
|
39 |
touch po/LINGUAS
|
12012
|
40 |
sh -x %SOURCE1 --enable-sun-linguas
|
10679
|
41 |
%endif
|
|
42 |
|
|
43 |
%build
|
|
44 |
%ifos linux
|
|
45 |
if [ -x /usr/bin/getconf ]; then
|
|
46 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
47 |
fi
|
|
48 |
%else
|
|
49 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
50 |
%endif
|
|
51 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
52 |
CPUS=1
|
|
53 |
fi
|
|
54 |
|
|
55 |
intltoolize --copy --force --automake
|
12031
|
56 |
|
|
57 |
%if %build_l10n
|
|
58 |
bash -x %SOURCE1 --enable-copyright
|
|
59 |
%endif
|
|
60 |
|
10679
|
61 |
libtoolize --force
|
|
62 |
aclocal $ACLOCAL_FLAGS
|
|
63 |
automake -a -c -f
|
|
64 |
autoconf
|
|
65 |
|
|
66 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
67 |
./configure \
|
|
68 |
--prefix=%{_prefix} \
|
|
69 |
--sysconfdir=%{_sysconfdir} \
|
|
70 |
--localstatedir=/var/lib
|
|
71 |
make -j $CPUS
|
|
72 |
|
|
73 |
%install
|
|
74 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
75 |
|
|
76 |
%clean
|
|
77 |
rm -rf $RPM_BUILD_ROOT
|
|
78 |
|
|
79 |
%post
|
|
80 |
|
|
81 |
%files
|
|
82 |
%defattr (-, root, root)
|
|
83 |
%{_datadir}/gdm/themes/*
|
|
84 |
|
|
85 |
%changelog
|
13316
|
86 |
* Fri Aug 29 2008 - jedy.wang@suncom
|
|
87 |
- Bump to 0.6.
|
13297
|
88 |
* Wed Aug 27 2008 - jedy.wang@suncom
|
|
89 |
- Bump to 0.5.
|
12168
|
90 |
* Mon Apr 21 2008 - takao.fujiwara@suncom
|
|
91 |
- Add opensolaris-gdm-themes-01-g11n-passwd-len.diff to adjust password len.
|
|
92 |
- Add sun-gdm-themes-02-g11n-po.diff
|
|
93 |
Fixes opensolaris #1311.
|
11505
|
94 |
* Wed Jan 23 2007 - [email protected]
|
|
95 |
- Bump to 0.2
|
10682
|
96 |
* Sun Oct 21 2007 - [email protected]
|
10679
|
97 |
- Intial version of opensolaris-gdm-themes
|