1 Summary: The core programs for the GNOME GUI desktop environment.
6 Group: X11/Applications
7 Source0: ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2
8 Patch0: %{name}-am.patch
9 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10 URL: http://www.gnome.org/
11 BuildRequires: pkgconfig
12 BuildRequires: ORBit2-devel
13 BuildRequires: gtk+2-devel
14 BuildRequires: libgnomeui-devel
15 BuildRequires: libwnck-devel
16 BuildRequires: gnome-desktop-devel
17 BuildRequires: libglade2-devel
18 BuildRequires: gnome-vfs2-devel
20 %define _prefix /usr/X11R6
21 %define _mandir %{_prefix}/man
22 %define _sysconfdir /etc/X11/GNOME2
23 %define _omf_dest_dir %(scrollkeeper-config --omfdir)
26 GNOME (GNU Network Object Model Environment) is a user-friendly set of
27 applications and desktop tools to be used in conjunction with a window
28 manager for the X Window System. GNOME is similar in purpose and scope
29 to CDE and KDE, but GNOME is based completely on free software. The
30 gnome-core package includes the basic programs and libraries that are
31 needed to install GNOME.
33 The GNOME panel packages provides the gnome panel, menu's and some
34 basic applets for the panel.
37 Summary: GNOME panel libraries, includes, and more.
38 Group: Development/Libraries
39 Requires: %{name} = %{version}
42 Panel libraries and header files for creating GNOME panels.
45 Summary: GNOME panel libraries, includes, and more.
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-devel
50 Panel libraries and header files for creating GNOME panels.
57 intltoolize --copy --force
58 libtoolize --copy --force
59 gettextize --copy --force
63 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
64 CPPFLAGS="`pkg-config libpng12 --cflags`"
66 %configure CPPFLAGS="$CPPFLAGS" \
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT \
76 omf_dest_dir=%{_omf_dest_dir}/%{name} \
77 pkgconfigdir=%{_pkgconfigdir}
79 gzip -9nf AUTHORS ChangeLog NEWS README
81 %find_lang %{name} --with-gnome --all-name
84 rm -rf $RPM_BUILD_ROOT
88 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
89 for SCHEMAS in clock.schemas fish.schemas mailcheck.schemas pager.schemas panel-global-config.schemas panel-per-panel-config.schemas tasklist.schemas; do
90 /usr/X11R6/bin/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$SCHEMAS > /dev/null 2>&1
95 /usr/bin/scrollkeeper-update
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
100 %config %{_sysconfdir}/gconf/schemas/*
101 %config %{_sysconfdir}/sound/events/*
102 %attr(755,root,root) %{_bindir}/*
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*
104 %{_libdir}/bonobo/servers/*
105 %{_datadir}/applications/*
106 %{_datadir}/control-center-2.0/capplets/*
108 %{_datadir}/gnome/panel
109 %{_datadir}/gnome-2.0
110 %{_datadir}/gnome-panel
111 %{_datadir}/gtk-doc/html/panel-applet
112 %{_datadir}/idl/gnome-panel-2.0
113 %{_datadir}/pixmaps/fish
114 %{_datadir}/pixmaps/mailcheck
115 %{_datadir}/pixmaps/*.png
116 %{_omf_dest_dir}/%{name}
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/lib*.??
122 %{_includedir}/panel-2.0
123 %{_pkgconfigdir}/*.pc
126 %defattr(644,root,root,755)