9397
|
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 |
#
|
17071
|
8 |
%define owner niall
|
9397
|
9 |
#
|
16429
|
10 |
|
17852
|
11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a
|
16429
|
12 |
|
9397
|
13 |
Name: system-tools-backends
|
|
14 |
License: GPL
|
|
15 |
Group: System/GUI/GNOME
|
|
16 |
# WARNING: Do NOT bump version as other dependencies (e.g DBUS) need work first.
|
|
17 |
Version: 1.4.2
|
|
18 |
Release: 1
|
|
19 |
Distribution: Java Desktop System
|
17865
|
20 |
Vendor: Gnome Community
|
9397
|
21 |
Summary: Backends for the GNOME System Tools
|
|
22 |
Source: http://ftp.gnome.org/pub/GNOME/sources/system-tools-backends/1.4/%{name}-%{version}.tar.bz2
|
|
23 |
# date:2006-03-15 owner:padraig type:feature
|
|
24 |
Patch1: system-tools-backends-01-boot.diff
|
|
25 |
# date:2006-03-16 owner:padraig type:feature
|
|
26 |
Patch2: system-tools-backends-02-common.diff
|
|
27 |
# date:2006-03-16 owner:padraig type:feature
|
|
28 |
Patch3: system-tools-backends-03-disks.diff
|
|
29 |
# date:2006-03-16 owner:padraig type:feature
|
|
30 |
Patch4: system-tools-backends-04-network.diff
|
|
31 |
# date:2006-03-16 owner:padraig type:feature
|
|
32 |
Patch5: system-tools-backends-05-services.diff
|
|
33 |
# date:2006-03-16 owner:padraig type:feature
|
|
34 |
Patch6: system-tools-backends-06-shares.diff
|
|
35 |
# date:2006-03-16 owner:padraig type:feature
|
|
36 |
Patch7: system-tools-backends-07-time.diff
|
|
37 |
# date:2006-03-16 owner:padraig type:feature
|
|
38 |
Patch8: system-tools-backends-08-users.diff
|
|
39 |
# date:2006-07-05 owner:mattman type:feature
|
|
40 |
Patch9: system-tools-backends-09-grub-path.diff
|
15624
|
41 |
# date:2009-04-01 owner:hem type:bug doo:7554
|
|
42 |
Patch10: system-tools-backends-10-group-name-change.diff
|
9397
|
43 |
URL: http://www.gnome.org
|
|
44 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
45 |
Docdir: %{_defaultdocdir}/%{name}
|
|
46 |
Autoreqprov: on
|
|
47 |
|
|
48 |
%define glib2_version 2.3.0
|
|
49 |
|
|
50 |
Requires: glib2 >= %{glib2_version}
|
|
51 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
52 |
BuildRequires: intltool
|
|
53 |
|
|
54 |
%description
|
|
55 |
The System Tools Backends are a set of cross-platform scripts for Linux and
|
|
56 |
other Unix systems. The backends provide an standard XML interface for
|
|
57 |
modifying the configuration regarless of the distribution that's being used.
|
|
58 |
|
|
59 |
%prep
|
|
60 |
%setup -q
|
|
61 |
%patch1 -p1
|
|
62 |
%patch2 -p1
|
|
63 |
%patch3 -p1
|
|
64 |
%patch4 -p1
|
|
65 |
%patch5 -p1
|
|
66 |
%patch6 -p1
|
|
67 |
%patch7 -p1
|
|
68 |
%patch8 -p1
|
|
69 |
%patch9 -p1
|
15624
|
70 |
%patch10 -p1
|
9397
|
71 |
|
|
72 |
|
|
73 |
%build
|
|
74 |
%ifos linux
|
|
75 |
if [ -x /usr/bin/getconf ]; then
|
|
76 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
77 |
fi
|
|
78 |
%else
|
|
79 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
80 |
%endif
|
|
81 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
82 |
CPUS=1
|
|
83 |
fi
|
|
84 |
|
|
85 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
86 |
./configure \
|
|
87 |
--prefix=%{_prefix} \
|
|
88 |
--sysconfdir=%{_sysconfdir} \
|
|
89 |
--mandir=%{_mandir}
|
|
90 |
make -j $CPUS
|
|
91 |
|
|
92 |
%install
|
|
93 |
make -i install DESTDIR=$RPM_BUILD_ROOT
|
|
94 |
|
|
95 |
%clean
|
|
96 |
rm -rf $RPM_BUILD_ROOT
|
|
97 |
|
|
98 |
%files
|
|
99 |
%defattr (-, root, root)
|
|
100 |
%{_libdir}/pkgconfig/
|
|
101 |
%{_datadir}/setup-tool-backends/
|
|
102 |
%{_datadir}/aclocal/
|
|
103 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
104 |
|
|
105 |
%changelog
|
15624
|
106 |
* Wed Apr 15 2009 - [email protected]
|
|
107 |
- Add 10-group-name-change.diff to correct users-admin
|
|
108 |
behaviour when group name is being changed.
|
|
109 |
|
9397
|
110 |
* Wed Aug 30 2006 - [email protected]
|
|
111 |
- Remove boot stuff, no longer supporting it.
|
|
112 |
|
|
113 |
* Wed Jul 05 2006 - [email protected]
|
|
114 |
- Add patch for location of sungrub for boot-conf to work.
|
|
115 |
|
|
116 |
* Thu Mar 16 2006 - [email protected]
|
|
117 |
- Move patches here from Solaris package spec file.
|
|
118 |
|
|
119 |
* Sun Jan 29 2006 - [email protected]
|
|
120 |
- Bump to 1.4.2
|
|
121 |
|
|
122 |
* Tue Sep 27 2005 - [email protected]
|
|
123 |
- Bump to 1.3.92.
|
|
124 |
|
|
125 |
* Mon Aug 16 2005 - [email protected]
|
|
126 |
- Bump to 1.3.2.
|
|
127 |
|
|
128 |
* Tue May 24 2005 - [email protected]
|
|
129 |
- Initial spec
|