]> git.pld-linux.org Git - packages/control-panel.git/blobdiff - control-panel.spec
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
[packages/control-panel.git] / control-panel.spec
index 012a429c2365f70f1a1d046d472a9d771739b1d7..268c1511b7f79408fcc408c90ddc0da1039aa5a3 100644 (file)
-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:     9
-Copyright:   GPL
-Group:       Utilities/System
-Group(pl):   Narzêdzia/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):   Red-Hat-Kontrollfeld
+Summary(fr):   Panneau de contrôle de Red Hat
+Summary(pl):   Panel Kontrolny
+Summary(tr):   Red Hat Denetim Masasý
+Summary(pt_BR):        Painel de Controle Red Hat
+Summary(es):   Panel de Control Red Hat
+Summary(ru):   õÔÉÌÉÔÁ ÄÌÑ ÚÁÐÕÓËÁ ÐÒÏÇÒÁÍÍ ÎÁÓÔÒÏÊËÉ ÓÉÓÔÅÍÙ ÄÌÑ X
+Summary(uk):   õÔÉ̦ÔÁ ÄÌÑ ÚÁÐÕÓËÕ ÐÒÏÇÒÁÍ ÎÁÌÁÇÏÄÖÅÎÎÑ ÓÉÓÔÅÍɠЦĠX
+Name:          control-panel
+Version:       3.18
+Release:       1
+License:       GPL
+Group:         Applications/System
+Group(de):     Applikationen/System
+Group(pl):     Aplikacje/System
+Source0:       %{name}-%{version}.tar.gz
+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.
+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.
+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.
+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 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.
+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
 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.
+ç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
+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
+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
+Control-panel - ÜÔÏ ÇÒÁÆÉÞÅÓËÁÑ ÕÔÉÌÉÔÁ, ÚÁÐÕÓËÁÀÝÁÑ ÒÁÚÌÉÞÎÙÅ ÕÔÉÌÉÔÙ
+ËÏÎÆÉÇÕÒÁÃÉÉ ÓÉÓÔÅÍÙ ÐÏÄ X.
+
+%description -l uk
+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/X11R6/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%{_bindir}/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)
-%config(missingok) /etc/X11/wmconfig/control-panel
+%{_applnkdir}/System/control-panel.desktop
 
 %attr(755,root,root) %{_bindir}/control-panel
 
-%{_libdir}/rhs/control-panel/loopy/*
+%{_libdir}/rhs/control-panel/loopy
 
-%attr(755,root,root) %{_libdir}/rhs/control-panel/*
+%attr(755,root,root) %{_libdir}/rhs/control-panel/*.tcl
 %{_mandir}/man8/*
-
-%changelog
-* Tue Jan 26 1999 Micha³ Kuratczyk <kurkens@polbox.com>
-  [3.7-9]
-- added "Group(pl)"
-- fixed pl translation
-- added "%config(missingok)" for wmconfig file
-- simplifications and cosmetics in %%files
-
-* Thu Nov  5 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [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.
-
-* Sat Oct 31 1998 Przemys³aw Bia³ek <lobo@polbox.com>
-- added patch for gtk-1.1.x,
-- added pl translation to spec,
-- changed macro %%defattr.
-
-* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
-- strip binary
-- built again for 5.2 b/c of the new gtk+ libs
-
-* Tue Aug  4 1998 Jeff Johnson <jbj@redhat.com>
-- build root
-
-* Wed Jun 10 1998 Prospector System <bugs@redhat.com>
-- translations modified for de
-
-* Wed May 06 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Wed May 06 1998 Erik Troan <ewt@redhat.com>
-- included changes from rhad labs to update things for new gtk
-
-* Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
-- removed improper geometry handling
-
-* Tue Nov  4 1997 Otto Hammersmith <otto@redhat.com>
-- control panel now obeys the -geometry option
-
-* Mon Nov  3 1997 Otto Hammersmith <otto@redhat.com>
-- updated version... added bindings.tcl
-
-* Thu Oct 30 1997 Otto Hammersmith <otto@redhat.com>
-- added loopy files
-- updated version
-
-* Fri Oct 17 1997 Otto Hammersmith <otto@redhat.com>
-- Replaced the tcl/tk version with a gtk+ version in C.  No longer
-  noarch... gee, what a loss.
-
-* Thu Jul 31 1997 Erik Troan <ewt@redhat.com>
-- made a noarch package
This page took 0.100561 seconds and 4 git commands to generate.