Summary: GNOME control center
+Summary(es): El centro de controle del GNOME
Summary(pl): Centrum kontroli GNOME
+Summary(pt_BR): O Centro de Controle do GNOME
+Summary(uk): ãÅÎÔÒ ËÅÒÕ×ÁÎÎÑ GNOME
+Summary(ru): ãÅÎÔÒ ÕÐÒÁ×ÌÅÎÉÑ GNOME
Name: control-center
-Version: 1.0.5
-Release: 2
-Copyright: LGPL
-Group: X11/Libraries
-Group(pl): X11/Biblioteki
-Source: ftp://ftp.gnome.org/pub/GNOME/source/%{name}-%{version}.tar.gz
-Patch0: control-center-DESTDIR.patch
+Version: 2.1.6
+Release: 1
+Epoch: 1
+License: GPL
+Group: X11/Applications
+Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
+Patch0: %{name}-fontconfig.patch
URL: http://www.gnome.org/
-Requires: gtk+ = 1.2.1
-Requires: xscreensaver >= 2.34
-BuildRoot: /tmp/%{name}-%{version}-root
+Icon: control-center.gif
+BuildRequires: GConf2-devel >= 1.2.1
+BuildRequires: ORBit2-devel >= 2.5.0
+BuildRequires: audiofile >= 0.2.3-3
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: esound-devel
+BuildRequires: findutils
+BuildRequires: gettext-devel
+BuildRequires: gnome-desktop-devel >= 2.1.90
+BuildRequires: gnome-vfs2-devel >= 2.1.6
+BuildRequires: gtk+2-devel >= 2.2.0
+BuildRequires: intltool >= 0.25
+BuildRequires: libbonobo-devel >= 2.1.1
+BuildRequires: libbonoboui-devel >= 2.1.2
+BuildRequires: libglade2-devel >= 2.0.0
+BuildRequires: libgnome-devel >= 2.1.90
+BuildRequires: libgnomeui-devel >= 2.1.90
+BuildRequires: libxml2-devel >= 2.5.1
+BuildRequires: libtool
+BuildRequires: scrollkeeper >= 0.3.11
+BuildRequires: startup-notification-devel
+BuildRequires: metacity-devel
+BuildRequires: Xft-devel >= 2.1
+Requires: gnome-vfs2 >= 2.1.6
+PreReq: scrollkeeper
+PreReq: /sbin/ldconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: gnome
%description
A Configuration tool for easily setting up your GNOME environment.
+GNOME is the GNU Network Object Model Environment. That's a fancy name
+but really GNOME is a nice GUI desktop environment. It makes using
+your computer easy, powerful, and easy to configure.
-GNOME is the GNU Network Object Model Environment. That's a fancy name but
-really GNOME is a nice GUI desktop environment. It makes using your computer
-easy, powerful, and easy to configure.
+%description -l es
+El control-center es una herramienta para una configuración facilitada
+el entorno GNOME.
%description -l pl
-Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME.
+Narzêdzie do ³atwej konfiguracji twojego ¶rodowiska GNOME. GNOME to
+Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
+Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci
+jest to mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest
+proste, wydajne i ³atwe w konfiguracji.
-GNOME to Obiektowe ¦rodowisko Sieciowe na licencji GNU (GNU Network Object
-Model Environment). Nazwa jest do¶æ dziwaczna, ale w rzeczywisto¶ci jest to
-mi³e ¶rodowisko pracy. Powoduje, ¿e u¿ywanie komputera jest proste, wydajne
-i ³atwe w konfiguracji.
+%description -l pt_BR
+O control-center é uma ferramenta para facilmente configurar seu
+ambiente GNOME.
+
+%description -l ru
+ðÁËÅÔ control-center ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ, ÐÏÚ×ÏÌÑÀÝÉÅ ÎÁÓÔÒÁÉ×ÁÔØ ÓÒÅÄÕ
+GNOME ×ÁÛÅÊ ÓÉÓÔÅÍÙ (ÔÁËÉÅ ×ÅÝÉ ËÁË ÆÏÎ ÒÁÂÏÞÅÇÏ ÓÔÏÌÁ É ÔÅÍÙ,
+ÐÒÏÇÒÁÍÍÁ ÓÏÈÒÁÎÅÎÉÑ ÜËÒÁÎÁ, ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍÎÙÅ Ú×ÕËÉ,
+ÐÏ×ÅÄÅÎÉÅ ÍÙÛÉ É ÄÒ.)
+
+üÔÏÔ ÐÁËÅÔ ÎÕÖÅÎ, ÅÓÌÉ ×Ù ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÅ ÓÒÅÄÕ GNOME.
+
+%description -l uk
+ðÁËÅÔ control-center ͦÓÔÉÔØ ÕÔÉ̦ÔÉ, Ñ˦ ÄÏÚ×ÏÌÑÀÔØ ÎÁÓÔÒÏÀ×ÁÔÉ
+ÓÅÒÅÄÏ×ÉÝÅ GNOME ×ÁÛϧ ÓÉÓÔÅÍÉ (ÔÁ˦ ÒÅÞ¦ ÑË ÆÏÎ ÒÏÂÏÞÏÇÏ ÓÔÏÌÕ ÔÁ
+ÔÅÍÉ, ÐÒÏÇÒÁÍÁ ÚÂÅÒÅÖÅÎÎÑ ÅËÒÁÎÕ, צËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍΦ Ú×ÕËÉ,
+ÐÏ×ÅĦÎËÁ ÍÉÛ¦ ÔÁ ¦Î.)
+
+ãÅÊ ÐÁËÅÔ ÐÏÔÒ¦ÂÎÉÊ, ÑËÝÏ ×É ×ÓÔÁÎÏ×ÌÀ¤ÔÅ ÓÅÒÅÄÏ×ÉÝÅ GNOME.
%package devel
-Summary: GNOME control-center includes
-Summary(pl): Pliki nag³ówkowe centrum kontroli GNOME
-Group: X11/Libraries
-Group(pl): X11/Biblioteki
+Summary: GNOME Control-Center includes
+Summary(pl): Pliki nag³ówkowe bibliotek GNOME Control-Center
+Group: X11/Development/Libraries
Requires: %{name} = %{version}
%description devel
-Capplet development stuff.
+GNOME Control-Center header files.
-%description -l pl
-Rzeczy potrzebne do kompilacji.
+%description devel -l pl
+Pliki nag³ówkowe bibliotek GNOME Control-Center
%package static
-Summary: GNOME control-center static libraries
-Summary(pl): Statyczne biblioteki dla centrum kontroli GNOME
-Group: X11/Libraries
-Group(pl): X11/Biblioteki
-Requires: %{name}-devel = %{version}
+Summary: GNOME Control-Center static libraries
+Summary(pl): Statyczne biblioteki GNOME Control-Center
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}
-%description static
-GNOME control-center static libraries.
-
-%description -l pl
-Statyczne biblioteki dla centrum kontroli GNOME
+%description static
+GNOME Control-Centerp static libraries.
+
+%description static -l pl
+Statyczne biblioteki GNOME Control-Center.
%prep
%setup -q
%patch0 -p1
%build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
- --prefix=/usr/X11R6 \
- --sysconfdir=/etc
+glib-gettextize --copy --force
+intltoolize --copy --force
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure --disable-schemas-install
+
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
-
-strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf AUTHORS ChangeLog NEWS README
+%find_lang %{name} --with-gnome --all-name
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+%gconf_schema_install
-%files
+%postun
+/sbin/ldconfig
+
+%files -f %{name}.lang
%defattr(644,root,root,755)
-/etc/CORBA/servers/*
-%attr(755,root,root) /usr/X11R6/bin/*
-%attr(755,root,root) /usr/X11R6/lib/lib*.so.*.*
-
-/usr/X11R6/share/control-center
-/usr/X11R6/share/gnome/
-/usr/X11R6/share/pixmaps/*
-
-%lang(cs) /usr/X11R6/share/locale/cs/LC_MESSAGES/control-center.mo
-%lang(da) /usr/X11R6/share/locale/da/LC_MESSAGES/control-center.mo
-%lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/control-center.mo
-%lang(es) /usr/X11R6/share/locale/es/LC_MESSAGES/control-center.mo
-%lang(fi) /usr/X11R6/share/locale/fi/LC_MESSAGES/control-center.mo
-%lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/control-center.mo
-%lang(ga) /usr/X11R6/share/locale/ga/LC_MESSAGES/control-center.mo
-%lang(hu) /usr/X11R6/share/locale/hu/LC_MESSAGES/control-center.mo
-%lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/control-center.mo
-%lang(ja) /usr/X11R6/share/locale/ja/LC_MESSAGES/control-center.mo
-%lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/control-center.mo
-%lang(no) /usr/X11R6/share/locale/no/LC_MESSAGES/control-center.mo
-%lang(pl) /usr/X11R6/share/locale/pl/LC_MESSAGES/control-center.mo
-%lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/control-center.mo
-%lang(ru) /usr/X11R6/share/locale/ru/LC_MESSAGES/control-center.mo
-%lang(sv) /usr/X11R6/share/locale/sv/LC_MESSAGES/control-center.mo
+%doc AUTHORS ChangeLog NEWS README
+%{_sysconfdir}/gconf/schemas/*
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_libdir}/bonobo/servers/*
+%{_libdir}/window-manager-settings/*.so
+%{_datadir}/applications/*
+%{_datadir}/control-center-2.0/capplets/*
+%{_datadir}/control-center-2.0/icons
+%{_datadir}/control-center-2.0/interfaces
+%{_datadir}/control-center-2.0/pixmaps
+%{_datadir}/gnome/cursor-fonts
+%{_datadir}/gnome/vfolders/*
+%{_datadir}/gnome-2.0/ui/*
+%{_datadir}/idl/*
+%{_pixmapsdir}/gnomecc-2
+%{_pixmapsdir}/*.png
%files devel
-%defattr(644,root,root,755)
-%doc *gz
-%attr(755,root,root) /usr/X11R6/lib/lib*.so
-/usr/X11R6/share/idl/*
-/usr/X11R6/include/*
-%attr(755,root,root) /usr/X11R6/lib/*.sh
-
-%files static
-%attr(644,root,root) /usr/X11R6/lib/lib*.a
-
-%changelog
-* Thu Mar 25 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.0.4-1]
-- updated spec for latest version.
-
-* Tue Jan 26 1999 Micha³ Kuratczyk <kurkens@polbox.com>
- [0.99-2]
-- added pl translations
-
-* Wed Jan 06 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [0.99-1]
-- added -q %setup parameter,
-- added LDFLAGS="-s" to ./configure enviroment,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- added static subpackage,
-- added full %attr description in %files,
-- added %lang macros for
- /usr/X11R6/share/locale/*/LC_MESSAGES/control-center.mo files,
-- added stripping shared libraries.
-
-* Wed Dec 16 1998 Jonathan Blandford <jrb@redhat.com>
-- Created for the new control-center branch
+%defattr(644,root,root,755)
+%{_includedir}/gnome-window-settings-2.0
+%attr(755,root,root) %{_libdir}/lib*.??
+%{_pkgconfigdir}/*.pc
+%{_libdir}/window-manager-settings/*.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
+%{_libdir}/window-manager-settings/*.a