author | hh150184 |
Tue, 24 Jan 2006 11:56:37 +0000 | |
branch | gnome-2-12 |
changeset 19207 | b59a653a3329 |
parent 6016 | b54189f766bc |
child 6628 | 013528515881 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package gnome-system-tools |
|
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 |
Name: gnome-system-tools |
|
10 |
License: GPL |
|
11 |
Group: System/GUI/GNOME |
|
6016
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5529
diff
changeset
|
12 |
Version: 1.3.92 |
5518 | 13 |
Release: 1 |
14 |
Distribution: Java Desktop System |
|
15 |
Vendor: Sun Microsystems, Inc. |
|
16 |
Summary: GNOME System Tools |
|
5529
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
17 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.3/%{name}-%{version}.tar.bz2 |
5518 | 18 |
URL: http://www.gnome.org |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
Docdir: %{_defaultdocdir}/%{name} |
|
21 |
Autoreqprov: on |
|
22 |
Prereq: GConf |
|
23 |
||
24 |
%define libgnomeui_version 2.9.0 |
|
25 |
%define GConf_version 2.2.0 |
|
26 |
%define system_tools_backends_version 1.2.0 |
|
27 |
%define nautilus_version 2.9.3 |
|
28 |
||
29 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
30 |
Requires: GConf >= %{GConf_version} |
|
31 |
Requires: system-tools-backends >= %{system_tools_backends_version} |
|
32 |
Requires: nautilus >= %{nautilus_version} |
|
33 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
34 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
35 |
BuildRequires: system-tools-backends >= %{system_tools_backends_version} |
|
36 |
BuildRequires: nautilus-devel >= %{nautilus_version} |
|
37 |
BuildRequires: intltool |
|
38 |
||
39 |
%description |
|
40 |
These tools are intended to simplify the tasks of configuring a Unix system |
|
41 |
for workstations. They are not intended for configuring Unix servers. |
|
42 |
||
43 |
Configuring different Unix systems is different; every Unix system has |
|
44 |
different ways of being administrated. The GNOME System Tools aspire to |
|
45 |
unify these systems. |
|
46 |
||
47 |
Each one of the GNOME System Tools is split in two parts: a backend (which |
|
48 |
is typically written in Perl) and a user interface frontend (which is |
|
49 |
typically written in C or Python). |
|
50 |
||
51 |
The backends are written in a way that should allow us to quickly adapt |
|
52 |
them to various different flavors of Unix; the backend probes your system |
|
53 |
and parses the existing system files. When the user has finished editing |
|
54 |
the system settings, the configuration is written back as patches to the |
|
55 |
system files. |
|
56 |
||
57 |
This means that the GNOME System Tools use whatever configuration files are |
|
58 |
available on your system, and you can still edit those files by hand or |
|
59 |
with other configuration tools without conflicts or data loss. |
|
60 |
||
61 |
%prep |
|
62 |
%setup -q |
|
63 |
||
64 |
||
65 |
%build |
|
66 |
%ifos linux |
|
67 |
if [ -x /usr/bin/getconf ]; then |
|
68 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
69 |
fi |
|
70 |
%else |
|
71 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
72 |
%endif |
|
73 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
74 |
CPUS=1 |
|
75 |
fi |
|
76 |
||
77 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
78 |
./configure \ |
|
79 |
--prefix=%{_prefix} \ |
|
80 |
--sysconfdir=%{_sysconfdir} \ |
|
81 |
--mandir=%{_mandir} |
|
82 |
make -j $CPUS |
|
83 |
||
84 |
%install |
|
85 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
86 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
87 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
88 |
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/libnautilus-gst-shares.la |
|
89 |
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/libnautilus-gst-shares.a |
|
90 |
||
91 |
%clean |
|
92 |
rm -rf $RPM_BUILD_ROOT |
|
93 |
||
94 |
%post |
|
95 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
96 |
SCHEMAS="gnome-system-tools.schemas" |
|
97 |
for S in $SCHEMAS; do |
|
98 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
99 |
done |
|
100 |
||
101 |
%files |
|
102 |
%defattr (-, root, root) |
|
103 |
%{_bindir}/* |
|
104 |
%{_libdir}/nautilus/extensions-1.0/libnautilus-gst-shares.so |
|
105 |
%{_libdir}/pkgconfig/ |
|
106 |
%{_datadir}/applications/ |
|
107 |
%{_datadir}/gnome-system-tools/ |
|
108 |
%{_datadir}/gnome/help/ |
|
109 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
110 |
%{_datadir}/omf/ |
|
111 |
%{_sysconfdir}/gconf/schemas/* |
|
112 |
||
113 |
%changelog |
|
6016
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5529
diff
changeset
|
114 |
* Tue Sep 27 2005 - [email protected] |
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5529
diff
changeset
|
115 |
- Bump to 1.3.92. |
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5529
diff
changeset
|
116 |
|
5529
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
117 |
* Mon Aug 15 2005 - [email protected] |
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
118 |
- Bump to 1.3.2. |
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
119 |
|
5518 | 120 |
* Tue May 24 2005 - [email protected] |
121 |
- Initial spec |