]> git.pld-linux.org Git - packages/control-center.git/blobdiff - control-center.spec
- updated to version 2.1.6
[packages/control-center.git] / control-center.spec
index 8713b2b6a23e0cf7eb09226bc25ba615cca4fbd2..b84bc9f812914852664678c3b8f8a5a3b32e7277 100644 (file)
@@ -2,58 +2,49 @@ 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.4.0.4
+Version:       2.1.6
 Release:       1
 Epoch:         1
 License:       GPL
 Group:         X11/Applications
-Group(de):     X11/Applikationen
-Group(es):     X11/Aplicaciones
-Group(fr):     X11/Applications
-Group(pl):     X11/Aplikacje
-Group(pt_BR):  X11/Aplicações
-Group(pt):     X11/Aplicações
-Group(ru):     X11/ðÒÉÌÏÖÅÎÉÑ
-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
+Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
+Patch0:                %{name}-fontconfig.patch
 URL:           http://www.gnome.org/
 Icon:          control-center.gif
-BuildRequires: GConf-devel
-BuildRequires: ORBit-devel >= 0.5.6
+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 >= 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.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: oaf-devel
-BuildRequires: zlib-devel
-PreReq:                /sbin/ldconfig
+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
 
-%define                _prefix         /usr/X11R6
-%define                _sysconfdir     /etc/X11/GNOME
-%define                _omf_dest_dir   %(scrollkeeper-config --omfdir)
-
 %description
 A Configuration tool for easily setting up your GNOME environment.
 GNOME is the GNU Network Object Model Environment. That's a fancy name
@@ -75,97 +66,59 @@ proste, wydajne i 
 O control-center é uma ferramenta para facilmente configurar seu
 ambiente 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
-Group:         X11/Development/Libraries
-Group(de):     X11/Entwicklung/Bibliotheken
-Group(es):     X11/Desarrollo/Bibliotecas
-Group(fr):     X11/Development/Librairies
-Group(pl):     X11/Programowanie/Biblioteki
-Group(pt_BR):  X11/Desenvolvimento/Bibliotecas
-Group(ru):     X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires:      %{name} = %{version}
-
-%description devel
-Capplet development stuff.
-
-%description -l es devel
-Archivos para desarrollo con el control-center del GNOME
+%description -l ru
+ðÁËÅÔ control-center ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ, ÐÏÚ×ÏÌÑÀÝÉÅ ÎÁÓÔÒÁÉ×ÁÔØ ÓÒÅÄÕ
+GNOME ×ÁÛÅÊ ÓÉÓÔÅÍÙ (ÔÁËÉÅ ×ÅÝÉ ËÁË ÆÏΠÒÁÂÏÞÅÇÏ ÓÔÏÌÁ É ÔÅÍÙ,
+ÐÒÏÇÒÁÍÍÁ ÓÏÈÒÁÎÅÎÉÑ ÜËÒÁÎÁ, ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍÎÙÅ Ú×ÕËÉ,
+ÐÏ×ÅÄÅÎÉÅ ÍÙÛÉ É ÄÒ.)
 
-%description -l pl
-Rzeczy potrzebne do kompilacji.
+üÔÏÔ ÐÁËÅÔ ÎÕÖÅÎ, ÅÓÌÉ ×Ù ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÅ ÓÒÅÄÕ GNOME.
 
-%description -l pt_BR devel
-Se você estiver interessado em desenvolver painéis para o centro de
-controle do GNOME este pacote será necessário.
+%description -l uk
+ðÁËÅÔ control-center Í¦ÓÔÉÔØ ÕÔÉ̦ÔÉ, Ñ˦ ÄÏÚ×ÏÌÑÀÔØ ÎÁÓÔÒÏÀ×ÁÔÉ
+ÓÅÒÅÄÏ×ÉÝÅ GNOME ×ÁÛϧ ÓÉÓÔÅÍÉ (ÔÁ˦ ÒÅÞ¦ ÑË ÆÏΠÒÏÂÏÞÏÇÏ ÓÔÏÌÕ ÔÁ
+ÔÅÍÉ, ÐÒÏÇÒÁÍÁ ÚÂÅÒÅÖÅÎÎÑ ÅËÒÁÎÕ, ×¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ, ÓÉÓÔÅÍΦ Ú×ÕËÉ,
+ÐÏ×ÅĦÎËÁ ÍÉÛ¦ ÔÁ ¦Î.)
 
-O control-center-devel lhe a ajuda na criação de 'capplets', que são
-usados no centro de controle.
+ãÅÊ ÐÁËÅÔ ÐÏÔÒ¦ÂÎÉÊ, ÑËÝÏ ×É ×ÓÔÁÎÏ×ÌÀ¤ÔÅ ÓÅÒÅÄÏ×ÉÝÅ GNOME.
 
-%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
+%package devel
+Summary:       GNOME Control-Center includes
+Summary(pl):   Pliki nag³ówkowe bibliotek GNOME Control-Center
 Group:         X11/Development/Libraries
-Group(de):     X11/Entwicklung/Bibliotheken
-Group(es):     X11/Desarrollo/Bibliotecas
-Group(fr):     X11/Development/Librairies
-Group(pl):     X11/Programowanie/Biblioteki
-Group(pt_BR):  X11/Desenvolvimento/Bibliotecas
-Group(ru):     X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires:      %{name}-devel = %{version}
-
-%description static
-GNOME control-center static libraries.
-
-%description -l es static
-El control-center es una herramienta para una configuración facilitada
-el entorno GNOME.
+Requires:      %{name} = %{version}
 
-Archivos para desarrollo con el control-center del GNOME Archivos
-estáticos del control-center del gnome.
+%description devel
+GNOME Control-Center header files.
 
-%description -l pl
-Statyczne biblioteki dla centrum kontroli GNOME.
+%description devel -l pl
+Pliki nag³ówkowe bibliotek GNOME Control-Center
 
-%description -l pt_BR static
-O control-center-devel lhe a ajuda na criação de 'capplets', que são
-usados no centro de controle.
+%package static
+Summary:       GNOME Control-Center static libraries
+Summary(pl):   Statyczne biblioteki GNOME Control-Center
+Group:          X11/Development/Libraries                                       
+Requires:       %{name} = %{version}  
 
-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                                                             
+GNOME Control-Centerp static libraries.                                                
+                                                                                
+%description static -l pl                                                       
+Statyczne biblioteki GNOME Control-Center.   
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -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
-libtoolize --copy --force
-gettextize --copy --force
-rm -f macros/xml-i18n-tools.m4 # have it in xml-i18n-tools
-aclocal -I macros
-autoconf
-automake -a -c
-%configure 
+glib-gettextize --copy --force
+intltoolize --copy --force
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure --disable-schemas-install
 
 %{__make}
 
@@ -173,51 +126,48 @@ automake -a -c
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
+       DESTDIR=$RPM_BUILD_ROOT 
 
-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
-       
-find $RPM_BUILD_ROOT%{_applnkdir} -name .directory | xargs rm -f
-
-gzip -9nf AUTHORS ChangeLog NEWS README
-
-%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
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%{_sysconfdir}/CORBA/servers/*
+%doc AUTHORS ChangeLog NEWS README
+%{_sysconfdir}/gconf/schemas/*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
-
-%{_datadir}/control-center
-%{_applnkdir}/Settings/GNOME
-%{_omf_dest_dir}/omf/%{name}
-%dir %{_datadir}/gnome/wm-properties
-%{_pixmapsdir}/*
+%{_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) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
-%attr(755,root,root) %{_libdir}/*.sh
-%{_includedir}/*
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%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
This page took 0.319978 seconds and 4 git commands to generate.