]> git.pld-linux.org Git - packages/control-center.git/blobdiff - control-center.spec
- more applnk fixes,
[packages/control-center.git] / control-center.spec
index bc7f486ebe65c29b4ff99b054f4a1923efef2a85..dca5219fcb95812ef9b3f7abefb83c79402448df 100644 (file)
 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.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:       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/
-Requires:      gtk+ = 1.2.1
-Requires:      xscreensaver >= 2.34
-BuildRoot:     /tmp/%{name}-%{version}-root
+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.
+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.
 
 %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/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
+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
+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 \
-       --sysconfdir=/etc
+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}
 
-strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
+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
 
 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
+%post
+/sbin/ldconfig
+/usr/bin/scrollkeeper-update
+
+%postun
+/sbin/ldconfig
+/usr/bin/scrollkeeper-update
 
-%files
+%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
+%{_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)
-%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
+%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
-* 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)
+%{_libdir}/lib*.a
This page took 0.048866 seconds and 4 git commands to generate.