1 | %define __spec_install_post /usr/lib/rpm/brp-compress |
---|
2 | Summary: The gnome desktop programs for the GNOME GUI desktop environment. |
---|
3 | Name: gnome-desktop |
---|
4 | Version: @VERSION@ |
---|
5 | Release: 1 |
---|
6 | License: LGPL |
---|
7 | Group: System Environment/Base |
---|
8 | Source: %{name}-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | URL: http://www.gnome.org |
---|
11 | BuildRequires: pkgconfig >= 0.8 |
---|
12 | Requires: gtk2 >= @GTK_REQUIRED@ |
---|
13 | Requires: libgnomeui >= @LIBGNOMEUI_REQUIRED@ |
---|
14 | Requires: gnome-vfs2 >= @GNOME_VFS_MODULE_REQUIRED@ |
---|
15 | Requires: libgnomecanvas >= @LIBGNOMECANVAS_REQUIRED@ |
---|
16 | BuildRequires: gtk2-devel >= @GTK_REQUIRED@ |
---|
17 | BuildRequires: libgnomeui-devel >= @LIBGNOMEUI_REQUIRED@ |
---|
18 | BuildRequires: gnome-vfs2-devel >= @GNOME_VFS_MODULE_REQUIRED@ |
---|
19 | BuildRequires: libgnomecanvas-devel >= @LIBGNOMECANVAS_REQUIRED@ |
---|
20 | |
---|
21 | |
---|
22 | %description |
---|
23 | GNOME (GNU Network Object Model Environment) is a user-friendly |
---|
24 | set of applications and desktop tools to be used in conjunction with a |
---|
25 | window manager for the X Window System. GNOME is similar in purpose and |
---|
26 | scope to CDE and KDE, but GNOME is based completely on free |
---|
27 | software. The gnome-core package includes the basic programs and |
---|
28 | libraries that are needed to install GNOME. |
---|
29 | |
---|
30 | GNOME Desktop provides the core icons and libraries for the gnome |
---|
31 | desktop. |
---|
32 | |
---|
33 | %package devel |
---|
34 | Summary: GNOME desktop core libraries, includes, and more. |
---|
35 | Group: Development/Libraries |
---|
36 | Requires: %name = %version |
---|
37 | Requires: pkgconfig >= 0.8 |
---|
38 | Requires: gtk2 >= @GTK_REQUIRED@ |
---|
39 | Requires: gtk2-devel >= @GTK_REQUIRED@ |
---|
40 | Requires: libgnomeui >= @LIBGNOMEUI_REQUIRED@ |
---|
41 | Requires: libgnomeui-devel >= @LIBGNOMEUI_REQUIRED@ |
---|
42 | Requires: gnome-vfs2 >= @GNOME_VFS_MODULE_REQUIRED@ |
---|
43 | Requires: gnome-vfs2-devel >= @GNOME_VFS_MODULE_REQUIRED@ |
---|
44 | Requires: libgnomecanvas >= @LIBGNOMECANVAS_REQUIRED@ |
---|
45 | Requires: libgnomecanvas-devel >= @LIBGNOMECANVAS_REQUIRED@ |
---|
46 | |
---|
47 | |
---|
48 | %description devel |
---|
49 | Panel libraries and header files for creating GNOME panels. |
---|
50 | |
---|
51 | %prep |
---|
52 | %setup -q |
---|
53 | |
---|
54 | %build |
---|
55 | %configure |
---|
56 | make %{?_smp_mflags} |
---|
57 | |
---|
58 | |
---|
59 | %install |
---|
60 | rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | |
---|
63 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
64 | |
---|
65 | %makeinstall |
---|
66 | |
---|
67 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
68 | |
---|
69 | %find_lang %{name}-2.0 |
---|
70 | |
---|
71 | %clean |
---|
72 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
73 | |
---|
74 | %post |
---|
75 | /sbin/ldconfig |
---|
76 | |
---|
77 | %postun |
---|
78 | /sbin/ldconfig |
---|
79 | |
---|
80 | %files -f %{name}-2.0.lang |
---|
81 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
82 | %defattr (-, root, root) |
---|
83 | %{_bindir}/* |
---|
84 | %{_mandir}/man1/* |
---|
85 | %{_libdir}/*.so.* |
---|
86 | %{_datadir}/gnome/help/* |
---|
87 | %{_datadir}/gnome/vfolders |
---|
88 | %{_datadir}/gnome-about/* |
---|
89 | %{_datadir}/pixmaps/* |
---|
90 | %{_mandir}/man1/* |
---|
91 | %dir %{_datadir}/gnome |
---|
92 | |
---|
93 | %files devel |
---|
94 | %{_includedir}/gnome-desktop-2.0 |
---|
95 | %{_libdir}/*a |
---|
96 | %{_libdir}/*so |
---|
97 | %{_libdir}/pkgconfig/* |
---|
98 | |
---|
99 | |
---|
100 | %changelog |
---|
101 | * Tue Mar 05 2002 Chris Chabot <chabotc@reviewboard.com> |
---|
102 | - Fixed remaining formating issues |
---|
103 | - converted to .spec.in |
---|
104 | |
---|
105 | * Sun Feb 15 2002 Chris Chabot <chabotc@reviewboard.com> |
---|
106 | - initial spec file for gnome-desktop |
---|