]> git.pld-linux.org Git - packages/control-center.git/blobdiff - control-center.spec
- updated to 2.2.0.1
[packages/control-center.git] / control-center.spec
index fef0794333e84740696b4407882fc923d495cbc7..48f5318c84696a8ff2508ba4f076685922ca4a84 100644 (file)
-Summary:     GNOME control center
-Name:        control-center
-Version:     0.99
-Release:     1
-Copyright:   LGPL
-Group:       X11/Libraries
-Source:      ftp://ftp.gnome.org/pub/GNOME/source/%{name}-%{version}.tar.gz
-Patch0:      control-center-DESTDIR.patch
-Requires:    xscreensaver >= 2.34
-Requires:    gnome-core = 0.99.2, ORBit = 0.3.91
-URL:         http://www.gnome.org/
-BuildRoot:   /tmp/%{name}-%{version}-root
-Obsoletes:   gnome
+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:       2.2.0.1
+Release:       1
+Epoch:         1
+License:       GPL
+Group:         X11/Applications
+Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.2/%{name}-%{version}.tar.bz2
+Patch0:                %{name}-fontconfig.patch
+URL:           http://www.gnome.org/
+Icon:          control-center.gif
+BuildRequires: GConf2-devel >= 2.2.0
+BuildRequires: ORBit2-devel >= 2.6.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.2.0
+BuildRequires: gnome-vfs2-devel >= 2.2.0
+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.2.0
+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. 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
-Group:       X11/Libraries
-Requires:    %{name} = %{version}
+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 devel -l pl
+Pliki nag³ówkowe bibliotek GNOME Control-Center
 
 %package static
-Summary:     GNOME control-center static libraries
-Group:       X11/Libraries
-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 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
+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
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT 
 
-strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
+%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
+
+%postun
+/sbin/ldconfig
 
-%files
-%defattr(644, root, root, 755)
+%files -f %{name}.lang
+%defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755, root, root) /usr/X11R6/bin/*
-%attr(755, root, root) /usr/X11R6/lib/lib*.so.*.*
-/usr/X11R6/share/control-center
-/usr/X11R6/share/apps/System/*
-/usr/X11R6/share/pixmaps/*
-
-%lang(ca)    /usr/X11R6/share/locale/ca/LC_MESSAGES/control-center.mo
-%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(es_DO) /usr/X11R6/share/locale/es_DO/LC_MESSAGES/control-center.mo
-#%lang(es_GT) /usr/X11R6/share/locale/es_GT/LC_MESSAGES/control-center.mo
-#%lang(es_HN) /usr/X11R6/share/locale/es_HN/LC_MESSAGES/control-center.mo
-#%lang(es_MX) /usr/X11R6/share/locale/es_MX/LC_MESSAGES/control-center.mo
-#%lang(es_PA) /usr/X11R6/share/locale/es_PA/LC_MESSAGES/control-center.mo
-#%lang(es_PE) /usr/X11R6/share/locale/es_PE/LC_MESSAGES/control-center.mo
-#%lang(es_SV) /usr/X11R6/share/locale/es_SV/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
+%{_sysconfdir}/gconf/schemas/*
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_libdir}/bonobo/servers/*
+%attr(755,root,root) %{_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)
-%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
-* 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
+%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_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.062306 seconds and 4 git commands to generate.