]> git.pld-linux.org Git - packages/anaconda.git/blobdiff - anaconda.spec
- pl for -debug
[packages/anaconda.git] / anaconda.spec
index 547c9f48a785386c03a8041065a04bb7e643f9ca..e6e001d6aa4b6e9db8c532f40c53726f4fea8f55 100644 (file)
@@ -1,3 +1,7 @@
+# TODO
+# - split anaconda-gui and anaconda-tui
+# - kill /mnt/runtime symlink hacks (leave the host alone!)
+#
 %if 0
 # FC to PLD deps replace rules, extracted from cvs logs
 :%s#libxml2-python#python-libxml2#
@@ -14,7 +18,7 @@ Summary:      Graphical system installer
 Summary(pl):   Graficzny instalator systemu
 Name:          anaconda
 Version:       11.0.5
-Release:       0.59
+Release:       0.72
 License:       GPL
 Group:         Applications/System
 Source0:       %{name}-%{version}.tar.bz2
@@ -24,6 +28,8 @@ Source2:      %{name}-upd-instroot
 Source3:       %{name}-mk-images.i386
 Source4:       %{name}-scrubtree
 Source5:       %{name}-installclass-pld.py
+Source6:       %{name}-splash.png
+# Source6-md5: 6b38a868585adfd3a96a4ad16973c1f8
 Patch0:                %{name}-pld.patch
 Patch1:                %{name}-BUS_XEN.patch
 Patch2:                %{name}-vserver-proc.patch
@@ -37,6 +43,7 @@ Patch9:               %{name}-optflags.patch
 Patch10:       %{name}-network.patch
 Patch11:       %{name}-branding.patch
 Patch12:       %{name}-x11.patch
+Patch13:       %{name}-installclasses.patch
 URL:           http://fedora.redhat.com/projects/anaconda-installer/
 BuildRequires: X11-devel
 BuildRequires: beecrypt-devel
@@ -78,6 +85,7 @@ BuildRequires:        slang-static
 BuildRequires: yum
 BuildRequires: zlib-devel
 BuildRequires: zlib-static
+Requires:      /etc/pld-release
 Requires:      X11-OpenGL-core
 Requires:      X11-Xserver
 Requires:      X11-fonts
@@ -92,8 +100,9 @@ Requires:    kudzu > 1.2.0
 Requires:      lvm2
 Requires:      mdadm
 Requires:      pirut
-Requires:      python-booty >= 0.71-0.2
+Requires:      python-booty >= 0.71-0.6
 Requires:      python-devel-tools
+Requires:      python-gnome-canvas
 Requires:      python-kickstart
 Requires:      python-libxml2
 Requires:      python-parted
@@ -103,6 +112,7 @@ Requires:   python-rpm >= 4.2-0.61
 Requires:      python-snack
 Requires:      python-urlgrabber >= 2.9.8
 Requires:      reiserfsprogs
+Requires:      system-config-keyboard
 #Requires:     system-logos
 Requires:      vnc-utils
 Requires:      xfsprogs
@@ -155,6 +165,19 @@ do instalowania nowych system
 no¶ników, nie s± przewidziane do u¿ywania na ju¿ zainstalowanych
 systemach.
 
+%package debug
+Summary:       Sourcecode for Anaconda
+Summary(pl):   Kod ¼ród³owy Anacondy
+Group:         Applications/System
+AutoReqProv:   false
+Requires:      %{name} = %{version}-%{release}
+
+%description debug
+Anaconda sourcecode for debugging purposes.
+
+%description debug -l pl
+Kod ¼ród³owy Anacondy do celów diagnostycznych.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -170,6 +193,7 @@ systemach.
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch13 -p1
 
 rm -f po/no.po
 mv -f po/{eu_ES,eu}.po
@@ -212,9 +236,10 @@ cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images
 cp %{SOURCE2} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/upd-instroot
 cp %{SOURCE3} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/mk-images.i386
 cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
+cp %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/anaconda/splash.png
 
 %find_lang %{name}
-%py_postclean %{_libdir}/anaconda
+%{!?debug:%py_postclean %{_libdir}/anaconda}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -239,6 +264,15 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/anaconda/*-stub
 %attr(755,root,root) %{_libdir}/anaconda/*.so
 
+%if %{!?debug:0}%{?debug:1}
+%files debug
+%defattr(644,root,root,755)
+%{_libdir}/anaconda/*.py
+%{_libdir}/anaconda/installclasses/*.py
+%{_libdir}/anaconda/iw/*.py
+%{_libdir}/anaconda/textw/*.py
+%endif
+
 %files runtime
 %defattr(644,root,root,755)
 %dir %{_libdir}/anaconda-runtime
This page took 0.040983 seconds and 4 git commands to generate.