author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 7577 | 3cd0040e8532 |
child 7854 | aa235f9730f7 |
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 |
|
6684 | 13 |
Version: 1.4.2 |
5518 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
16 |
Vendor: Sun Microsystems, Inc. |
|
17 |
Summary: Backends for the GNOME System Tools |
|
6684 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/system-tools-backends/1.4/%{name}-%{version}.tar.bz2 |
6955 | 19 |
Patch1: system-tools-backends-01-boot.diff |
20 |
Patch2: system-tools-backends-02-common.diff |
|
21 |
Patch3: system-tools-backends-03-disks.diff |
|
22 |
Patch4: system-tools-backends-04-network.diff |
|
23 |
Patch5: system-tools-backends-05-services.diff |
|
24 |
Patch6: system-tools-backends-06-shares.diff |
|
25 |
Patch7: system-tools-backends-07-time.diff |
|
26 |
Patch8: system-tools-backends-08-users.diff |
|
7577
3cd0040e8532
Patch for boot-conf on Solaris, location of grub binary
mattk
parents:
6955
diff
changeset
|
27 |
Patch9: system-tools-backends-09-grub-path.diff |
5518 | 28 |
URL: http://www.gnome.org |
29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
30 |
Docdir: %{_defaultdocdir}/%{name} |
|
31 |
Autoreqprov: on |
|
32 |
||
33 |
%define glib2_version 2.3.0 |
|
34 |
||
35 |
Requires: glib2 >= %{glib2_version} |
|
36 |
BuildRequires: glib2-devel >= %{glib2_version} |
|
37 |
BuildRequires: intltool |
|
38 |
||
39 |
%description |
|
40 |
The System Tools Backends are a set of cross-platform scripts for Linux and |
|
41 |
other Unix systems. The backends provide an standard XML interface for |
|
42 |
modifying the configuration regarless of the distribution that's being used. |
|
43 |
||
44 |
%prep |
|
45 |
%setup -q |
|
6955 | 46 |
%patch1 -p1 |
47 |
%patch2 -p1 |
|
48 |
%patch3 -p1 |
|
49 |
%patch4 -p1 |
|
50 |
%patch5 -p1 |
|
51 |
%patch6 -p1 |
|
52 |
%patch7 -p1 |
|
53 |
%patch8 -p1 |
|
7577
3cd0040e8532
Patch for boot-conf on Solaris, location of grub binary
mattk
parents:
6955
diff
changeset
|
54 |
%patch9 -p1 |
5518 | 55 |
|
56 |
||
57 |
%build |
|
58 |
%ifos linux |
|
59 |
if [ -x /usr/bin/getconf ]; then |
|
60 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
61 |
fi |
|
62 |
%else |
|
63 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
64 |
%endif |
|
65 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
66 |
CPUS=1 |
|
67 |
fi |
|
68 |
||
69 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
70 |
./configure \ |
|
71 |
--prefix=%{_prefix} \ |
|
72 |
--sysconfdir=%{_sysconfdir} \ |
|
73 |
--mandir=%{_mandir} |
|
74 |
make -j $CPUS |
|
75 |
||
76 |
%install |
|
77 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
78 |
||
79 |
%clean |
|
80 |
rm -rf $RPM_BUILD_ROOT |
|
81 |
||
82 |
%files |
|
83 |
%defattr (-, root, root) |
|
84 |
%{_libdir}/pkgconfig/ |
|
85 |
%{_datadir}/setup-tool-backends/ |
|
86 |
%{_datadir}/aclocal/ |
|
87 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
88 |
||
89 |
%changelog |
|
7577
3cd0040e8532
Patch for boot-conf on Solaris, location of grub binary
mattk
parents:
6955
diff
changeset
|
90 |
* Wed Jul 05 2006 - [email protected] |
3cd0040e8532
Patch for boot-conf on Solaris, location of grub binary
mattk
parents:
6955
diff
changeset
|
91 |
- Add patch for location of sungrub for boot-conf to work. |
3cd0040e8532
Patch for boot-conf on Solaris, location of grub binary
mattk
parents:
6955
diff
changeset
|
92 |
|
6955 | 93 |
* Thu Mar 16 2006 - [email protected] |
94 |
- Move patches here from Solaris package spec file. |
|
95 |
||
6684 | 96 |
* Sun Jan 29 2006 - [email protected] |
97 |
- Bump to 1.4.2 |
|
98 |
||
6016
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5548
diff
changeset
|
99 |
* Tue Sep 27 2005 - [email protected] |
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5548
diff
changeset
|
100 |
- Bump to 1.3.92. |
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5548
diff
changeset
|
101 |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
102 |
* Mon Aug 16 2005 - [email protected] |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
103 |
- Bump to 1.3.2. |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
104 |
|
5518 | 105 |
* Tue May 24 2005 - [email protected] |
106 |
- Initial spec |