SPECS: cobbler.spec - pl, cleanup

qboosh qboosh at pld-linux.org
Mon Jan 7 08:15:04 CET 2008


Author: qboosh                       Date: Mon Jan  7 07:15:04 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, cleanup

---- Files affected:
SPECS:
   cobbler.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/cobbler.spec
diff -u SPECS/cobbler.spec:1.4 SPECS/cobbler.spec:1.5
--- SPECS/cobbler.spec:1.4	Sun Dec  9 13:10:01 2007
+++ SPECS/cobbler.spec	Mon Jan  7 08:14:58 2008
@@ -1,16 +1,23 @@
 # $Revision$, $Date$
 # TODO
+# - avoid using defattr() and giving too much dirs/files to http
 # - webapps
 # - FHS in web paths
 Summary:	Boot server configurator
+Summary(pl.UTF-8):	Konfiguracja serwera startującego
 Name:		cobbler
 Version:	0.6.4
 Release:	0.6
+License:	GPL v2+
+Group:		Applications/System
 Source0:	http://cobbler.et.redhat.com/download/%{name}-%{version}.tar.gz
 # Source0-md5:	1f46e1860e10b2e250c73ebb2a3d8227
 Source1:	%{name}-apache.conf
-License:	GPL v2+
-Group:		Applications/System
+URL:		http://cobbler.et.redhat.com/
+BuildRequires:	python-cheetah
+BuildRequires:	python-devel
+#BuildRequires:	redhat-rpm-config
+Requires(post,preun):	/sbin/chkconfig
 Requires:	apache-mod_proxy
 Requires:	apache-mod_python
 Requires:	createrepo
@@ -23,12 +30,6 @@
 %ifarch %{ix86} %{x8664}
 Requires:	syslinux
 %endif
-URL:		http://cobbler.et.redhat.com/
-BuildRequires:	python-cheetah
-BuildRequires:	python-devel
-#BuildRequires:	redhat-rpm-config
-Requires(post):	/sbin/chkconfig
-Requires(preun):	/sbin/chkconfig
 BuildArch:	noarch
 ExcludeArch:	ppc
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -45,12 +46,23 @@
 Cobbler is a network boot and update server. Cobbler supports PXE,
 provisioning virtualized images, and reinstalling existing Linux
 machines. The last two modes require a helper tool called 'koan' that
-integrates with cobbler. Cobbler's advanced features include importing
+integrates with Cobbler. Cobbler's advanced features include importing
 distributions from DVDs and rsync mirrors, kickstart templating,
 integrated yum mirroring, and built-in DHCP Management. Cobbler has a
 Python API for integration with other GPL systems management
 applications.
 
+%description -l pl.UTF-8
+Cobbler to sieciowy serwer do uruchamiania i uaktualniania komputerów.
+Obsługuje PXE, udostępnianie wirtualizowanych obrazów i reinstalowanie
+istniejących maszyn linuksowych. Dwa ostatnie tryby wymagają pakietu
+pomocniczego o nazwie "koan", integrującego się z Cobblerem.
+Zaawansowane możliwości Cobblera obejmują importowanie dystrybucji z
+płyt DVD i mirrorów rsynca, szablony uruchamiania, zintegrowane
+mirrorowanie repozytoriów yuma oraz wbudowane zarządzanie DHCP.
+Cobbler ma API w Pythonie do integracji z innymi aplikacjami
+zarządzającymi na licencji GPL.
+
 %prep
 %setup -q
 
@@ -87,7 +99,7 @@
 %service cobblerd restart
 
 %preun
-if [ $1 = 0 ]; then
+if [ "$1" = "0" ]; then
 	%service cobblerd stop
 	/sbin/chkconfig --del cobblerd
 fi
@@ -185,8 +197,8 @@
 
 %defattr(755,root,root)
 %dir /var/lib/cobbler
-%dir /var/lib/cobbler/kickstarts/
-%dir /var/lib/cobbler/backup/
+%dir /var/lib/cobbler/kickstarts
+%dir /var/lib/cobbler/backup
 %dir /var/lib/cobbler/triggers/add/distro/pre
 %dir /var/lib/cobbler/triggers/add/distro/post
 %dir /var/lib/cobbler/triggers/add/profile/pre
@@ -205,7 +217,7 @@
 %dir /var/lib/cobbler/triggers/delete/repo/post
 %dir /var/lib/cobbler/triggers/sync/pre
 %dir /var/lib/cobbler/triggers/sync/post
-%dir /var/lib/cobbler/snippets/
+%dir /var/lib/cobbler/snippets
 
 %defattr(744,root,root)
 %config(noreplace) /var/lib/cobbler/triggers/sync/post/restart-services.trigger
@@ -227,6 +239,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008-01-07 07:14:58  qboosh
+- pl, cleanup
+
 Revision 1.4  2007-12-09 12:10:01  glen
 - requires Cheetah 2.0
 - use included apache config
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cobbler.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list