author | hh150184 |
Tue, 24 Jan 2006 11:56:37 +0000 | |
branch | gnome-2-12 |
changeset 19207 | b59a653a3329 |
parent 6016 | b54189f766bc |
child 6684 | 45823e136c53 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package system-tools-backends |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
||
9 |
||
10 |
Name: system-tools-backends |
|
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
6016
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5548
diff
changeset
|
13 |
Version: 1.3.92 |
5518 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
16 |
Vendor: Sun Microsystems, Inc. |
|
17 |
Summary: Backends for the GNOME System Tools |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/system-tools-backends/1.3/%{name}-%{version}.tar.bz2 |
5518 | 19 |
URL: http://www.gnome.org |
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
21 |
Docdir: %{_defaultdocdir}/%{name} |
|
22 |
Autoreqprov: on |
|
23 |
||
24 |
%define glib2_version 2.3.0 |
|
25 |
||
26 |
Requires: glib2 >= %{glib2_version} |
|
27 |
BuildRequires: glib2-devel >= %{glib2_version} |
|
28 |
BuildRequires: intltool |
|
29 |
||
30 |
%description |
|
31 |
The System Tools Backends are a set of cross-platform scripts for Linux and |
|
32 |
other Unix systems. The backends provide an standard XML interface for |
|
33 |
modifying the configuration regarless of the distribution that's being used. |
|
34 |
||
35 |
%prep |
|
36 |
%setup -q |
|
37 |
||
38 |
||
39 |
%build |
|
40 |
%ifos linux |
|
41 |
if [ -x /usr/bin/getconf ]; then |
|
42 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
43 |
fi |
|
44 |
%else |
|
45 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
46 |
%endif |
|
47 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
48 |
CPUS=1 |
|
49 |
fi |
|
50 |
||
51 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
52 |
./configure \ |
|
53 |
--prefix=%{_prefix} \ |
|
54 |
--sysconfdir=%{_sysconfdir} \ |
|
55 |
--mandir=%{_mandir} |
|
56 |
make -j $CPUS |
|
57 |
||
58 |
%install |
|
59 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
60 |
||
61 |
%clean |
|
62 |
rm -rf $RPM_BUILD_ROOT |
|
63 |
||
64 |
%files |
|
65 |
%defattr (-, root, root) |
|
66 |
%{_libdir}/pkgconfig/ |
|
67 |
%{_datadir}/setup-tool-backends/ |
|
68 |
%{_datadir}/aclocal/ |
|
69 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
70 |
||
71 |
%changelog |
|
6016
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5548
diff
changeset
|
72 |
* Tue Sep 27 2005 - [email protected] |
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5548
diff
changeset
|
73 |
- Bump to 1.3.92. |
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5548
diff
changeset
|
74 |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
75 |
* Mon Aug 16 2005 - [email protected] |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
76 |
- Bump to 1.3.2. |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
77 |
|
5518 | 78 |
* Tue May 24 2005 - [email protected] |
79 |
- Initial spec |