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 | %define prefix /usr |
---|
6 | |
---|
7 | Summary: The GNOME control center. |
---|
8 | Name: control-center |
---|
9 | Version: %ver |
---|
10 | Release: %rel |
---|
11 | Copyright: LGPL |
---|
12 | Group: System Environment/Libraries |
---|
13 | Source: ftp://ftp.gnome.org/pub/control-center-%{ver}.tar.gz |
---|
14 | |
---|
15 | BuildRoot: /var/tmp/control-center-%{PACKAGE_VERSION}-root |
---|
16 | Obsoletes: gnome |
---|
17 | |
---|
18 | URL: http://www.gnome.org |
---|
19 | Docdir: %{prefix}/doc |
---|
20 | |
---|
21 | |
---|
22 | Requires: xscreensaver >= 3.00 |
---|
23 | Requires: gnome-libs >= 1.0.0 |
---|
24 | Requires: ORBit >= 0.4.0 |
---|
25 | |
---|
26 | %description |
---|
27 | Control-center is a configuration tool for easily |
---|
28 | setting up your GNOME environment. |
---|
29 | |
---|
30 | GNOME is the GNU Network Object Model Environment. That's |
---|
31 | a fancy name, but really GNOME is a nice GUI desktop |
---|
32 | environment. |
---|
33 | |
---|
34 | It's a powerful, easy to configure environment which |
---|
35 | helps to make your computer easy to use. |
---|
36 | |
---|
37 | %package devel |
---|
38 | Summary: GNOME control-center development files. |
---|
39 | Group: System Environment/Libraries |
---|
40 | Requires: control-center |
---|
41 | |
---|
42 | %description devel |
---|
43 | If you're interested in developing panels for the GNOME |
---|
44 | control center, you'll want to install this package. |
---|
45 | |
---|
46 | Control-center-devel helps you create the 'capplets' |
---|
47 | which are used in the control center. |
---|
48 | |
---|
49 | %changelog |
---|
50 | * Sat Feb 27 1999 Gregory McLean <gregm@comstar.net> |
---|
51 | - version 1.0.0 |
---|
52 | - updated the requirements to match the current released versions of packages. |
---|
53 | - Added an alpha specfic rule as libtool don't understand _all_ alpha models. |
---|
54 | |
---|
55 | * Mon Feb 15 1999 Michael Fulbright <drmike@redhat.com> |
---|
56 | - version 0.99.8.1 |
---|
57 | - added etc/CORBA/servers/* to file list |
---|
58 | |
---|
59 | * Fri Feb 12 1999 Michael Fulbright <drmike@redhat.com> |
---|
60 | - update to 0.99.8 |
---|
61 | - added /usr/lib/cappletConf.sh |
---|
62 | |
---|
63 | * Mon Feb 08 1999 The Rasterman <raster@redhat.com> |
---|
64 | - update to 0.99.5.1 |
---|
65 | |
---|
66 | * Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com> |
---|
67 | - update to 0.99.5 |
---|
68 | |
---|
69 | * Mon Jan 20 1999 Michael Fulbright <drmike@redhat.com> |
---|
70 | - update to 0.99.3.1 |
---|
71 | |
---|
72 | * Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com> |
---|
73 | - update to 0.99.3 |
---|
74 | - seems like patch for non-standard xscreensaver placement was already in |
---|
75 | prestine sources(?) |
---|
76 | |
---|
77 | * Wed Jan 06 1999 Jonathan Blandford <jrb@redhat.com> |
---|
78 | - updated to 0.99.1 |
---|
79 | - temporary hack patch to get path to work to non-standard placement |
---|
80 | of xscreensaver binaries in RH 5.2 |
---|
81 | |
---|
82 | * Wed Dec 16 1998 Jonathan Blandford <jrb@redhat.com> |
---|
83 | - Created for the new control-center branch |
---|
84 | |
---|
85 | |
---|
86 | %prep |
---|
87 | %setup |
---|
88 | |
---|
89 | %build |
---|
90 | # libtool can't deal with all the alpha variations but and alpha is an alpha |
---|
91 | # in this context. |
---|
92 | %ifarch alpha |
---|
93 | CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix |
---|
94 | %else |
---|
95 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir=/etc |
---|
96 | %endif |
---|
97 | if [ ! -z "$SMP" ]; then |
---|
98 | make -j$SMP MAKE="make -j$SMP" |
---|
99 | else |
---|
100 | make |
---|
101 | fi |
---|
102 | |
---|
103 | %install |
---|
104 | rm -rf $RPM_BUILD_ROOT |
---|
105 | mkdir -p $RPM_BUILD_ROOT/etc |
---|
106 | make sysconfdir=$RPM_BUILD_ROOT/etc prefix=$RPM_BUILD_ROOT%{prefix} install |
---|
107 | |
---|
108 | %clean |
---|
109 | rm -rf $RPM_BUILD_ROOT |
---|
110 | |
---|
111 | %post -p /sbin/ldconfig |
---|
112 | |
---|
113 | %postun -p /sbin/ldconfig |
---|
114 | |
---|
115 | %files |
---|
116 | %defattr(-, root, root) |
---|
117 | |
---|
118 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
119 | %{prefix}/bin/* |
---|
120 | %{prefix}/lib/lib*.so.* |
---|
121 | /etc/CORBA/servers/* |
---|
122 | %{prefix}/share/control-center |
---|
123 | %{prefix}/share/pixmaps/* |
---|
124 | %{prefix}/share/locale/*/*/* |
---|
125 | %{prefix}/share/gnome/apps/Settings/* |
---|
126 | %{prefix}/share/gnome/wm-properties/* |
---|
127 | |
---|
128 | %files devel |
---|
129 | %defattr(-, root, root) |
---|
130 | |
---|
131 | %{prefix}/lib/lib*.so |
---|
132 | %{prefix}/lib/*a |
---|
133 | %{prefix}/lib/*Conf.sh |
---|
134 | %{prefix}/share/idl |
---|
135 | %{prefix}/include/* |
---|