X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcontrol-panel.git;a=blobdiff_plain;f=control-panel.spec;h=2b8afd5bb2c90970211a6f7ebb6955a4ac647bd9;hp=3431c99a337a0988647bfea8828f8d37833aa988;hb=HEAD;hpb=e266bd0b650c9ba978b910c747ce2fc25d37fc98 diff --git a/control-panel.spec b/control-panel.spec index 3431c99..2b8afd5 100644 --- a/control-panel.spec +++ b/control-panel.spec @@ -1,111 +1,104 @@ -Summary: Red Hat Control Panel -Summary(de): Red-Hat-Kontrollfeld -Summary(fr): Panneau de contrôle de Red Hat -Summary(pl): Panel Kontrolny -Summary(tr): Red Hat Denetim Masasý -Name: control-panel -Version: 3.7 -Release: 8 -Copyright: GPL -Group: Utilities/System -Source: %{name}-%{version}.tar.gz -Patch0: control-panel-%{version}_gtk-1.1.patch -Patch1: control-panel-makefile.patch -BuildRoot: /tmp/%{name}-%{version}-root +Summary: Red Hat Control Panel +Summary(de.UTF-8): Red-Hat-Kontrollfeld +Summary(fr.UTF-8): Panneau de contrôle de Red Hat +Summary(pl.UTF-8): Panel Kontrolny +Summary(tr.UTF-8): Red Hat Denetim Masası +Summary(pt_BR.UTF-8): Painel de Controle Red Hat +Summary(es.UTF-8): Panel de Control Red Hat +Summary(ru.UTF-8): Утилита для запуска программ настройки системы для X +Summary(uk.UTF-8): Утиліта для запуску програм налагодження системи під X +Name: control-panel +Version: 3.18 +Release: 2 +License: GPL +Group: Applications/System +Source0: %{name}-%{version}.tar.gz +# Source0-md5: cb29e9fb4b290f21a358f01532940ae9 +Patch0: %{name}-FHS2.0.patch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +#%define _prefix /usr/X11R6 %description -The Red Hat control panel is an X program launcher for various configuration -tools. Other packages provide information which allow them to show up -on the control panel's menu of available tools. - -%description -l de -Das Red-Hat-Kontrollfeld ist eine X-Programm-Startrampe für verschiedene -Konfigurations-Tools. Von den Softwarepaketen gelieferte Informatinen können -im Menü der verfügbaren Tools angezeigt werden. - -%description -l fr -Le tableau de bord Red Hat est un lanceur de programmes X pour les différents -outils de configuration. Les autres paquetages fournissent l'information qui -leur permet d'apparaitre dans le menu du tableau de bord. - -%description -l pl -Control-panel jest programem korzystaj±cym z Xwindows uruchamiaj±cym ró¿ne -narzêdzia konfiguracyjne. Inne pakiety same wstawiaj± informacje które -pozwalaj± wy¶wietlaæ panelowi kontrolnemu listê dostêpnych narzêdzi. - -%description -l tr -Red Hat denetim masasý, bazý ayarlama araçlarý için X programlarý -çalýþtýrýcýsýdýr. Bir aracýn denetim masasýndaki araçlar arasýnda gözükmesi -için o araçla ilgili paketler gerekli bilgileri denetim masasýna bildirirler. +The Red Hat control panel is an X program launcher for various +configuration tools. Other packages provide information which allow +them to show up on the control panel's menu of available tools. + +%description -l de.UTF-8 +Das Red-Hat-Kontrollfeld ist eine X-Programm-Startrampe für +verschiedene Konfigurations-Tools. Von den Softwarepaketen gelieferte +Informatinen können im Menü der verfügbaren Tools angezeigt werden. + +%description -l fr.UTF-8 +Le tableau de bord Red Hat est un lanceur de programmes X pour les +différents outils de configuration. Les autres paquetages fournissent +l'information qui leur permet d'apparaitre dans le menu du tableau de +bord. + +%description -l pl.UTF-8 +Control-panel jest programem korzystającym z X Window System +uruchamiającym różne narzędzia konfiguracyjne. Inne pakiety same +wstawiają informacje, które pozwalają wyświetlać panelowi kontrolnemu +listę dostępnych narzędzi. + +%description -l tr.UTF-8 +Red Hat denetim masası, bazı ayarlama araçları için X programları +çalıştırıcısıdır. Bir aracın denetim masasındaki araçlar arasında +gözükmesi için o araçla ilgili paketler gerekli bilgileri denetim +masasına bildirirler. + +%description -l pt_BR.UTF-8 +O control-panel (painel de controle) Red Hat é um programa X que +executa várias ferramentas de configuração. Outros pacotes oferecem +informação que permitem a visualização das ferramentas disponíveis +no menu do control-panel. + +%description -l es.UTF-8 +Control-panel (panel de control) Red Hat es un programa X que +ejecuta varias herramientas de configuración. Otros paquetes ofrecen +información que permiten la visualización de las herramientas +disponibles en el menú del panel de control. + +%description -l ru.UTF-8 +Control-panel - это графическая утилита, запускающая различные утилиты +конфигурации системы под X. + +%description -l uk.UTF-8 +Control-panel - це графічна утиліта, яка запускає різноманітні утиліти +конфігурування системи під X. %prep %setup -q -%patch0 -p1 -%patch1 -p1 +#%patch -p1 %build -make +%{__make} \ +CFLAGS="%{rpmcflags} -I/usr/include/glib-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/lib/glib/include" %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT OWNER= install install-man -strip $RPM_BUILD_ROOT/usr/bin/control-panel +install -d $RPM_BUILD_ROOT%{_applnkdir}/System +install control-panel.desktop $RPM_BUILD_ROOT%{_applnkdir}/System/control-panel.desktop + +%{__make} \ + DESTDIR=$RPM_BUILD_ROOT \ + MANDIR=%{_mandir} \ + BINDIR=%{_bindir} \ + MANDIR=%{_mandir} \ + LIBDIR=%{_libdir} \ + OWNER= \ + install install-man %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(644, root, root, 755) -%attr(755, root, root) /usr/bin/control-panel -%attr(644, root, man) /usr/man/man8/control-panel.8 -/usr/lib/rhs/control-panel/loopy/* -%attr(755, root, root) /usr/lib/rhs/control-panel/dialog.tcl -%attr(755, root, root) /usr/lib/rhs/control-panel/bindings.tcl -/etc/X11/wmconfig/control-panel +%defattr(644,root,root,755) +%{_applnkdir}/System/control-panel.desktop -%changelog -* Thu Nov 5 1998 Tomasz K³oczko - [3.7-8] -- added control-panel-makefile.patch which allow build C-P from non-root - account and allow use $RPM_OPT_FLAGS during compile. +%attr(755,root,root) %{_bindir}/control-panel -* Sat Oct 31 1998 Przemys³aw Bia³ek -- added patch for gtk-1.1.x, -- added pl translation to spec, -- changed macro %%defattr. +%{_libdir}/rhs/control-panel/loopy -* Mon Oct 12 1998 Cristian Gafton -- strip binary -- built again for 5.2 b/c of the new gtk+ libs - -* Tue Aug 4 1998 Jeff Johnson -- build root - -* Wed Jun 10 1998 Prospector System -- translations modified for de - -* Wed May 06 1998 Prospector System -- translations modified for de, fr, tr - -* Wed May 06 1998 Erik Troan -- included changes from rhad labs to update things for new gtk - -* Sun Nov 09 1997 Michael K. Johnson -- removed improper geometry handling - -* Tue Nov 4 1997 Otto Hammersmith -- control panel now obeys the -geometry option - -* Mon Nov 3 1997 Otto Hammersmith -- updated version... added bindings.tcl - -* Thu Oct 30 1997 Otto Hammersmith -- added loopy files -- updated version - -* Fri Oct 17 1997 Otto Hammersmith -- Replaced the tcl/tk version with a gtk+ version in C. No longer - noarch... gee, what a loss. - -* Thu Jul 31 1997 Erik Troan -- made a noarch package +%attr(755,root,root) %{_libdir}/rhs/control-panel/*.tcl +%{_mandir}/man8/*