1 | # Note that this is NOT a relocatable package |
---|
2 | %define ver @VERSION@ |
---|
3 | %define RELEASE 1 |
---|
4 | %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} |
---|
5 | |
---|
6 | Summary: GNOME utility programs |
---|
7 | Name: gnome-utils |
---|
8 | Version: %ver |
---|
9 | Release: %rel |
---|
10 | Copyright: LGPL |
---|
11 | Group: Applications/System |
---|
12 | Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-utils-%{ver}.tar.gz |
---|
13 | BuildRoot: /var/tmp/gnome-utils-%{PACKAGE_VERSION}-root |
---|
14 | URL: http://www.gnome.org |
---|
15 | Requires: gnome-libs >= 1.0.59 |
---|
16 | BuildRequires: gnome-libs-devel >= 1.0.59, ORBit, gnome-core-devel |
---|
17 | BuildRequires: gtk+-devel >= 1.2.0, guile, e2fsprogs, e2fsprogs-devel |
---|
18 | BuildRequires: libgtop >= 1.0.0, libxml, libglade >= 0.11 |
---|
19 | Epoch: 1 |
---|
20 | |
---|
21 | %description |
---|
22 | GNOME (GNU Network Object Model Environment) is a user-friendly set of |
---|
23 | applications and desktop tools to be used in conjunction with a window |
---|
24 | manager for the X Window System. GNOME is similar in purpose and scope |
---|
25 | to CDE and KDE, but GNOME is based completely on free software. |
---|
26 | |
---|
27 | This package will install some GNOME utilities, such as the |
---|
28 | calculator, search tool, and system information overview tool. |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q |
---|
32 | |
---|
33 | %build |
---|
34 | %ifarch alpha |
---|
35 | MYARCH_FLAGS=--host=alpha-redhat-linux |
---|
36 | %endif |
---|
37 | |
---|
38 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ |
---|
39 | --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} \ |
---|
40 | --bindir=%{_bindir} $MYARCH_FLAGS --enable-console-helper \ |
---|
41 | --with-pam-prefix=/etc |
---|
42 | |
---|
43 | if [ "$SMP" != "" ]; then |
---|
44 | make MAKE="make -j$SMP" |
---|
45 | else |
---|
46 | make |
---|
47 | fi |
---|
48 | |
---|
49 | %install |
---|
50 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
51 | |
---|
52 | make prefix=$RPM_BUILD_ROOT%{_prefix} \ |
---|
53 | sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \ |
---|
54 | bindir=$RPM_BUILD_ROOT%{_bindir} \ |
---|
55 | sbindir=$RPM_BUILD_ROOT%{_sbindir} \ |
---|
56 | datadir=$RPM_BUILD_ROOT%{_datadir} \ |
---|
57 | PAM_PREFIX=$RPM_BUILD_ROOT/etc \ |
---|
58 | install |
---|
59 | |
---|
60 | %clean |
---|
61 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
62 | |
---|
63 | %files |
---|
64 | %config /etc/pam.d/* |
---|
65 | %config /etc/security/console.apps/* |
---|
66 | %{_bindir}/* |
---|
67 | %{_sbindir}/* |
---|
68 | %{_sysconfdir}/CORBA/servers/* |
---|
69 | %{_datadir}/applets/*/* |
---|
70 | %{_datadir}/application-registry/* |
---|
71 | %{_datadir}/gcolorsel |
---|
72 | %{_datadir}/gnome-utils |
---|
73 | %{_datadir}/gnome/apps/*/* |
---|
74 | %{_datadir}/locale/*/*/* |
---|
75 | %{_datadir}/gnome/help/*/* |
---|
76 | %{_datadir}/gtt |
---|
77 | %{_datadir}/idl/* |
---|
78 | %{_datadir}/logview |
---|
79 | %{_datadir}/mime-info/* |
---|
80 | %{_datadir}/omf/* |
---|
81 | %{_datadir}/pixmaps/* |
---|
82 | %{_datadir}/stripchart |
---|
83 | |
---|
84 | %doc AUTHORS COPYING ChangeLog NEWS README THANKS |
---|
85 | |
---|
86 | %post |
---|
87 | if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi |
---|
88 | |
---|
89 | %postun |
---|
90 | if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi |
---|
91 | |
---|
92 | |
---|
93 | %changelog |
---|
94 | * Thu Mar 29 2001 <dan@eazel.com> |
---|
95 | - scrollkeeper stuff |
---|
96 | |
---|
97 | * Wed Mar 14 2001 <jirka@5z.com> |
---|
98 | - Fixes to the damn %files thing |
---|
99 | |
---|
100 | * Mon Mar 12 2001 <gleblanc@peecee.linuxweasel.com> |
---|
101 | - macro fixes, removal of hard-coded paths. removed automatic %files |
---|
102 | generation as we don't understand how that works. some other |
---|
103 | beautifying work. |
---|
104 | |
---|
105 | * Wed Sep 08 1999 Elliot Lee <sopwith@redhat.com> |
---|
106 | - Updates from RHL package... |
---|
107 | |
---|
108 | * Wed Sep 23 1998 Michael Fulbright <msf@redhat.com> |
---|
109 | - Upgraded to 0.30 |
---|
110 | |
---|
111 | * Mon Apr 6 1998 Marc Ewing <marc@redhat.com> |
---|
112 | - Integrate into gnome-utils CVS source tree |
---|