]> git.pld-linux.org Git - packages/control-center.git/blobdiff - control-center.spec
- more applnk fixes,
[packages/control-center.git] / control-center.spec
index fef0794333e84740696b4407882fc923d495cbc7..dca5219fcb95812ef9b3f7abefb83c79402448df 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
+Name:          control-center
+Version:       1.4.0.3
+Release:       1
+Epoch:         1
+License:       GPL
+Group:         X11/Applications
+Group(de):     X11/Applikationen
+Group(es):     X11/Aplicaciones
+Group(pl):     X11/Aplikacje
+Group(pt_BR):  X11/Aplicações
+Group(pt):     X11/Aplicações
+Source0:       ftp://ftp.gnome.org/pub/GNOME/stable/sources/control-center/%{name}-%{version}.tar.gz
+Patch0:                %{name}-macros.patch
+Patch1:                %{name}-gettext.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
+URL:           http://www.gnome.org/
+Icon:          control-center.gif
+BuildRequires: GConf-devel
+BuildRequires: ORBit-devel >= 0.5.6
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: esound-devel >= 0.2.5
+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: libtool
+BuildRequires: oaf-devel
+BuildRequires: zlib-devel
+PreReq:                /sbin/ldconfig
+PreReq:                scrollkeeper
+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
+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.
 
 %package devel
-Summary:     GNOME control-center includes
-Group:       X11/Libraries
-Requires:    %{name} = %{version}
+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/Libraries
+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 pl
+Rzeczy potrzebne do kompilacji.
+
+%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.
+
+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
-Group:       X11/Libraries
-Requires:    %{name}-devel = %{version}
+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
+Group:         X11/Development/Libraries
+Group(de):     X11/Entwicklung/Libraries
+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.
+
+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 -l pt_BR static
+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.
+
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p0
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr/X11R6
+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 
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make DESTDIR=$RPM_BUILD_ROOT install
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/UIOptions
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       omf_dest_dir=%{_omf_dest_dir}/omf/%{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
+       
+find $RPM_BUILD_ROOT%{_applnkdir} -name .directory | xargs rm -f
+find $RPM_BUILD_ROOT%{_datadir}/gnome/apps -name .directory | xargs rm -f
 
-strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
+gzip -9nf AUTHORS ChangeLog NEWS README
+
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%files
-%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
+%post
+/sbin/ldconfig
+/usr/bin/scrollkeeper-update
+
+%postun
+/sbin/ldconfig
+/usr/bin/scrollkeeper-update
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%{_sysconfdir}/CORBA/servers/*
+%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
+%{_datadir}/gnome/apps
+%{_pixmapsdir}/*
+%{_datadir}/idl/*
 
 %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
+%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
-%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)
+%{_libdir}/lib*.a
This page took 0.078937 seconds and 4 git commands to generate.