Summary(uk): ãÅÎÔÒ ËÅÒÕ×ÁÎÎÑ GNOME
Summary(ru): ãÅÎÔÒ ÕÐÒÁ×ÌÅÎÉÑ GNOME
Name: control-center
-Version: 1.4.0.5
+Version: 2.4.0
Release: 4
Epoch: 1
License: GPL
Group: X11/Applications
-Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center/%{name}-%{version}.tar.gz
-Patch0: %{name}-macros.patch
-Patch1: %{name}-applnk.patch
-Patch2: %{name}-wm-properties_path.patch
-Patch3: %{name}-esdrelease.patch
-Patch4: %{name}-pldrelease.patch
-Patch5: %{name}-am_conditional.patch
-Patch6: %{name}-uipropertiesmenu.patch
-Patch7: %{name}-setroothint.patch
-Patch8: %{name}-no_mans.patch
-Patch9: %{name}-omf.patch
+Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
+# Source0-md5: 44115d3174d2f603f34a336ada562bae
+Patch0: %{name}-fontconfig.patch
+Patch1: %{name}-am17.patch
+Patch2: %{name}-link.patch
+Patch3: %{name}-randr.patch
+Patch4: %{name}-def-apps-capplet.patch
+Patch5: %{name}-gnome-terminal.patch
+Patch6: %{name}-wm_properties-dir.patch
URL: http://www.gnome.org/
Icon: control-center.gif
-BuildRequires: GConf-devel
-BuildRequires: ORBit-devel >= 0.5.6
+BuildRequires: GConf2-devel >= 2.3.3
+BuildRequires: ORBit2-devel >= 2.8.0
+BuildRequires: audiofile >= 0.2.3-3
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
-BuildRequires: esound-devel >= 0.2.5
+BuildRequires: esound-devel
BuildRequires: findutils
-BuildRequires: gdk-pixbuf-devel >= 0.7.0
BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel >= 1.2.12-3
-BuildRequires: gnome-vfs-devel >= 0.9
-BuildRequires: gtk+-devel >= 1.1.16
-BuildRequires: imlib-devel >= 1.8.2
-BuildRequires: intltool
+BuildRequires: gnome-desktop-devel >= 2.3.90
+BuildRequires: gnome-vfs2-devel >= 2.4.0
+BuildRequires: gtk+2-devel >= 2.2.3
+BuildRequires: intltool >= 0.25
+BuildRequires: libbonobo-devel >= 2.4.0
+BuildRequires: libbonoboui-devel >= 2.4.0
+BuildRequires: libglade2-devel >= 2.0.1
+BuildRequires: libgnome-devel >= 2.4.0
+BuildRequires: libgnomeui-devel >= 2.4.0
+BuildRequires: libxml2-devel >= 2.5.10
BuildRequires: libtool
-BuildRequires: oaf-devel
-BuildRequires: zlib-devel
-BuildRequires: libxml-devel
-Requires(post,postun): /sbin/ldconfig
-Requires(post,postun): scrollkeeper
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: metacity-devel >= 2.5.1
+BuildRequires: nautilus-devel >= 2.3.90
+BuildRequires: scrollkeeper >= 0.3.12
+BuildRequires: startup-notification-devel
+BuildRequires: xft-devel >= 2.1.1
+PreReq: /sbin/ldconfig
+PreReq: scrollkeeper
+Requires(post): GConf2
+Requires: gnome-vfs2 >= 2.4.0
+Obsoletes: fontilus
Obsoletes: gnome
-
-%define _prefix /usr/X11R6
-%define _sysconfdir /etc/X11/GNOME
-%define _omf_dest_dir %(scrollkeeper-config --omfdir)
+Obsoletes: themus
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
A Configuration tool for easily setting up your GNOME environment.
ãÅÊ ÐÁËÅÔ ÐÏÔÒ¦ÂÎÉÊ, ÑËÝÏ ×É ×ÓÔÁÎÏ×ÌÀ¤ÔÅ ÓÅÒÅÄÏ×ÉÝÅ GNOME.
%package devel
-Summary: GNOME control-center includes
-Summary(es): Archivos para desarrollo con el control-center del GNOME
-Summary(pl): Pliki nag³ówkowe centrum kontroli GNOME
-Summary(pt_BR): Arquivos para desenvolvimento com o control-center do GNOME
-Summary(ru): óÒÅÄÁ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ ÄÌÑ ãÅÎÔÒÁ õÐÒÁ×ÌÅÎÉÑ GNOME
-Summary(uk): óÅÒÅÄÏ×ÉÝÅ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ ÄÌÑ ãÅÎÔÒÕ ëÅÒÕ×ÁÎÎÑ GNOME
+Summary: GNOME Control-Center header files
+Summary(pl): Pliki nag³ówkowe bibliotek GNOME Control-Center
Group: X11/Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{epoch}:%{version}
%description devel
-Capplet development stuff.
-
-%description devel -l es
-Archivos para desarrollo con el control-center del GNOME
-
-%description -l pl
-Rzeczy potrzebne do kompilacji.
+GNOME Control-Center header files.
-%description devel -l pt_BR
-Se você estiver interessado em desenvolver painéis para o centro de
-controle do GNOME este pacote será necessário.
-
-O control-center-devel lhe a ajuda na criação de 'capplets', que são
-usados no centro de controle.
-
-%description devel -l ru
-ðÁËÅÔ control-center-devel ÓÏÄÅÒÖÉÔ ÓÒÅÄÕ, ÎÅÏÂÈÏÄÉÍÕÀ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
-ÍÏÄÕÌÅÊ (`capplets'), ÉÓÐÏÌØÚÕÅÍÙÈ × ãÅÎÔÒÅ õÐÒÁ×ÌÅÎÉÑ GNOME.
-
-åÓÌÉ ×Ù ÔÏÌØËÏ ÉÓÐÏÌØÚÕÅÔÅ ÒÁÂÏÞÉÊ ÓÔÏÌ GNOME, ÎÏ ÎÅ ÒÁÚÒÁÂÁÔÙ×ÁÅÔÅ
-ÐÒÏÇÒÁÍÍ, ÔÏ ×ÁÍ ÎÅ ÎÕÖÎÏ ÕÓÔÁÎÁ×ÌÉ×ÁÔØ ÜÔÏÔ ÐÁËÅÔ.
-
-%description devel -l uk
-ðÁËÅÔ control-center-devel ͦÓÔÉÔØ ÓÅÒÅÄÏ×ÉÝÅ, ÎÅÏÂȦÄÎÅ ÄÌÑ ÒÏÚÒÏÂËÉ
-ÍÏÄÕÌ¦× (`capplets'), Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ × ãÅÎÔÒ¦ ëÅÒÕ×ÁÎÎÑ GNOME.
-
-ñËÝÏ ×É ÌÉÛÅ ×ÉËÏÒÉÓÔÏ×Õ¤ÔÅ ÒÏÂÏÞÉÊ ÓÔ¦Ì GNOME, ÁÌÅ ÎÅ ÒÏÚÒÏÂÌѤÔÅ
-ÐÒÏÇÒÁÍ, ÔÏ ×ÁÍ ÎÅ ÐÏÔÒ¦ÂÎÏ ×ÓÔÁÎÏ×ÌÀ×ÁÔÉ ÃÅÊ ÐÁËÅÔ.
+%description devel -l pl
+Pliki nag³ówkowe bibliotek GNOME Control-Center
%package static
-Summary: GNOME control-center static libraries
-Summary(es): Archivos estáticos para desarrollo con el control-center del GNOME
-Summary(pl): Statyczne biblioteki dla centrum kontroli GNOME
-Summary(pt_BR): Arquivos estáticos para desenvolvimento com o control-center
-Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ ãÅÎÔÒÁ õÐÒÁ×ÌÅÎÉÑ GNOME
-Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ ãÅÎÔÒÕ ëÅÒÕ×ÁÎÎÑ GNOME
+Summary: GNOME Control-Center static libraries
+Summary(pl): Statyczne biblioteki GNOME Control-Center
Group: X11/Development/Libraries
-Requires: %{name}-devel = %{version}
+Requires: %{name}-devel = %{epoch}:%{version}
%description static
-GNOME control-center static libraries.
+GNOME Control-Center static libraries.
-%description static -l es
-El control-center es una herramienta para una configuración facilitada
-el entorno GNOME.
-
-Archivos para desarrollo con el control-center del GNOME Archivos
-estáticos del control-center del gnome.
-
-%description -l pl
-Statyczne biblioteki dla centrum kontroli GNOME.
-
-%description static -l pt_BR
-O control-center-devel lhe a ajuda na criação de 'capplets', que são
-usados no centro de controle.
-
-Se você estiver interessado em desenvolver painéis para o centro de
-controle do GNOME este pacote será necessário. Nota: este pacote
-contém somente os arquivos estáticos.
-
-%description static -l ru
-ðÁËÅÔ control-center-static ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
-ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ (`capplets'), ÉÓÐÏÌØÚÕÅÍÙÈ × ãÅÎÔÒÅ õÐÒÁ×ÌÅÎÉÑ
-GNOME.
-
-%description static -l uk
-ðÁËÅÔ control-center-static ͦÓÔÉÔØ ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ
-ÍÏÄÕÌ¦× (`capplets'), Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ × ãÅÎÔÒ¦ ëÅÒÕ×ÁÎÎÑ GNOME.
+%description static -l pl
+Statyczne biblioteki GNOME Control-Center.
%prep
%setup -q
%patch4 -p1
%patch5 -p1
%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
%build
-sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
-mv -f configure.in.tmp configure.in
-rm -f missing
-xml-i18n-toolize --copy --force
+glib-gettextize --copy --force
+intltoolize --copy --force
%{__libtoolize}
-%{__gettextize}
-rm -f macros/xml-i18n-tools.m4 # have it in xml-i18n-tools
-%{__aclocal} -I macros
+%{__aclocal}
+%{__autoheader}
%{__autoconf}
%{__automake}
-%configure
+%configure \
+ --disable-schemas-install
%{__make}
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- omf_dest_dir=%{_omf_dest_dir}/%{name}
-
-rm -f $RPM_BUILD_ROOT%{_datadir}/control-center/Desktop/screensaver-properties.desktop \
- $RPM_BUILD_ROOT%{_applnkdir}/Settings/Desktop/screensaver-properties.desktop \
- $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/Desktop/screensaver-properties.desktop
+ DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT%{_applnkdir} -name .directory | xargs rm -f
+# no static modules - shut up check-files
+rm -f $RPM_BUILD_ROOT%{_libdir}/window-manager-settings/*.{a,la}
+rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.{a,la}
+rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.{a,la}
-%find_lang %{name} --with-gnome
+%find_lang %{name} --with-gnome --all-name
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
-/usr/bin/scrollkeeper-update
+%gconf_schema_install
-%postun
-/sbin/ldconfig
-/usr/bin/scrollkeeper-update
+%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%{_sysconfdir}/CORBA/servers/*
+%{_sysconfdir}/gconf/schemas/*
+%{_sysconfdir}/gnome-vfs-2.0/modules/*
%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/fontilus-context-menu
%attr(755,root,root) %{_libdir}/lib*.so.*.*
-
+%attr(755,root,root) %{_libdir}/bonobo/*.so
+%attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/lib*.so
+%attr(755,root,root) %{_libdir}/window-manager-settings/*.so
+%dir %{_libdir}/window-manager-settings
+%{_libdir}/bonobo/servers/*
+%{_datadir}/application-registry/*
+%{_datadir}/control-center-2.0
%{_datadir}/control-center
-%{_applnkdir}/Settings/GNOME
-%{_omf_dest_dir}/%{name}
-%dir %{_datadir}/gnome/wm-properties
-%{_pixmapsdir}/*
+%{_datadir}/gnome/cursor-fonts
+%{_datadir}/gnome/vfolders/*
+%{_datadir}/gnome-2.0/ui/*
%{_datadir}/idl/*
+%{_datadir}/mime-info/*
+%{_pixmapsdir}/gnomecc-2
+%{_pixmapsdir}/*.png
+%{_desktopdir}/*
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
-%attr(755,root,root) %{_libdir}/*.sh
-%{_includedir}/*
+%{_libdir}/lib*.la
+%{_includedir}/gnome-window-settings-2.0
+%{_pkgconfigdir}/*.pc
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/*.a