Hi.
Could someone get this things into CVS, Elliot perhaps?
There is a .spec for building Kadischi from CVS, and a patch also attached.
If these are sufficient commit them, I'm sure folks wouldn't mind. ;-)
On a Fedora Core 4 platform machine I have here, brp-python-bytecompile
doesn't seem to run.
However, on a FC5t2 platform brp-python-bytecompile does, so it builds
with the %ghosts.
If it fails to build on FC4, touch %{_datadir}/%{name}/lib/shvar.pyc and
%{_datadir}/%{name}/lib/functions.pyc
and remove all %ghosts from %files except %ghost
%{_datadir}/%{name}/lib/*.pyc
Perhaps it is just my build environment why brp-python-bytecompile was
not being called.
I don't think so however.
Thanks.
J. Hartline
Name: kadischi
Summary: Kadischi - LiveCD tool for Fedora Core Systems
Version: 0.1
Release: 1
License: GPL
Group: Development/Tools
URL:
http://fedoraproject.org/wiki/Kadischi
Source0: %{name}-%{version}.tar.bz2
Patch0: newrpms-kadischi-userbuild.patch
Requires: python anaconda busybox-anaconda syslinux mkisofs
Requires: zisofs-tools e2fsprogs
Requires: /bin/bash /bin/sh
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)
Requires: libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4)
BuildRequires: kudzu-devel glib2-devel intltool
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
AutoReqProv: off
%description
Kadischi - Fedora Core LiveCD generation tool
%prep
%setup -q -n %{name}
%patch0 -p0
%build
glib-gettextize --copy --force
intltoolize --copy -f --automake
aclocal -I .
autoconf
automake --add-missing --copy
%configure
make
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
### redundant
rm -rf %{buildroot}%{_datadir}/%{name}/doc/*
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc doc/CREDITS doc/FAQ doc/INSTALL doc/NEWS doc/README doc/TODO
%{_bindir}/%{name}
%dir %{_sysconfdir}/%{name}
%config %{_sysconfdir}/%{name}/build.conf
%config %{_sysconfdir}/%{name}/buildstamp
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*.sh
%{_datadir}/%{name}/*.py
%ghost %{_datadir}/%{name}/*.pyc
%ghost %{_datadir}/%{name}/*.pyo
%{_datadir}/%{name}/lib/*.py
%ghost %{_datadir}/%{name}/lib/*.pyc
%ghost %{_datadir}/%{name}/lib/*.pyo
%{_datadir}/%{name}/post_install_scripts/*.sh
%{_datadir}/%{name}/post_install_scripts/*.py
%ghost %{_datadir}/%{name}/post_install_scripts/*.pyc
%ghost %{_datadir}/%{name}/post_install_scripts/*.pyo
%{_datadir}/%{name}/initrd/find-live-cd
%{_datadir}/%{name}/ks_examples/minimal-livecd.cfg
%{_datadir}/%{name}/initrd/livecd-linuxrc
%{_datadir}/%{name}/patches/*.patch
%{_datadir}/%{name}/install/readonly-root
%{_datadir}/%{name}/install/rc.readonly-livecd
%{_datadir}/%{name}/install/readonly-halt
%{_datadir}/%{name}/install/scanswap
%changelog
* Tue Jan 17 2006 Jasper Hartline <jasperhartline(a)adelphia.net>
- Added glib2-devel,intltool as BuildRequires
* Mon Jan 16 2006 Jasper Hartline <jasperhartline(a)adelphia.net>
- Added AutoReqProv eliminating /bin/ash dep
- Added explicit Requires
* Fri Jan 13 2006 Jasper Hartline <jasperhartline(a)adelphia.net>
- Cleaned up %files
- Added BuildRequires
* Thu Jan 12 2006 Jasper Hartline <jasperhartline(a)adelphia.net>
- Fixed incorrect URL in .spec
- Fixed missing %ghosts
* Thu Jan 12 2006 Rudolf Kastl <che666(a)gmail.com>
- added patch to make it install clean
- cleaned up file section
- removed explicit requires
- fixed the pre build part and proper use of macros
* Mon Jan 9 2006 Jasper Hartline <jasperhartline(a)adelphia.net>
- Built Kadischi rpm package (Initial Build)