%define name mkcd %define release 1mdk # do not modify here, see Makefile in the CVS %define version 2.8.1 %{expand:%%define perl_version %(rpm -q --queryformat '%{VERSION}' perl)} %define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib) Summary: Script to build Linux distributions installation discs Name: %{name} Version: %{version} Release: %{release} # get the source from our cvs repository (see # http://www.linuxmandrake.com/en/cvs.php3) Source0: %{name}-%{version}.tar.bz2 License: GPL url: http://people.mandrakesoft.com/~warly/files/mkcd/ Group: System/Configuration/Packaging BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} Requires: perl = %{perl_version} perl-RPM perl-File-NCopy rpmtools perl-Image-Size BuildArch: noarch %description mkcd script eases the packages repartition over CDs, allows to order packages and to create discs of any given size (CDs, DVDs...) %prep %setup %build # make %install rm -rf $RPM_BUILD_ROOT make install PREFIX=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README mkcd.xml mkcd.html %{_bindir}/mkcd %{_bindir}/clean-rpmsrate %dir %{perl_sitelib}/Mkcd/ %{perl_sitelib}/Mkcd/Commandline.pm %{perl_sitelib}/Mkcd/Functions.pm %{perl_sitelib}/Mkcd/Package.pm %{perl_sitelib}/Mkcd/Tools.pm %{perl_sitelib}/Mkcd/Disc.pm %{perl_sitelib}/Mkcd/List.pm %{perl_sitelib}/Mkcd/Group.pm %changelog * Fri Mar 15 2002 Warly <warly@mandrakesoft.com> 2.7.3-1mdk - add new source handling method - fix all the related code * Wed Mar 13 2002 Warly <warly@mandrakesoft.com> 2.7.3-1mdk - fix a pb in multiple list interdeps pb * Sat Mar 09 2002 Warly <warly@mandrakesoft.com> 2.7.3-1mdk - fix cd addition in auto mode - add rpmsrate exceptions - add dir limit in generic (hard and soft) * Wed Feb 27 2002 Warly <warly@mandrakesoft.com> 2.7.2-1mdk - begin oem mode - change cleanrpmsrate regexp for kde-i18n-(localename)_extension * Sat Feb 16 2002 Warly <warly@mandrakesoft.com> 2.6.11-1mdk - add kde-i18n, man-pages and such automatic completion in cleanrpmsrate * Thu Jan 31 2002 Warly <warly@mandrakesoft.com> 2.6.10-1mdk - improved cd building functions for multiple lists config * Sun Jan 27 2002 Warly <warly@mandrakesoft.com> 2.6.9-1mdk - fix hdlist building in auto mode * Mon Jan 25 2002 Warly <warly@mandrakesoft.com> 2.6.8-1mdk - add version choosing for multiple library version - fix synthesis building * Mon Jan 25 2002 Warly <warly@mandrakesoft.com> 2.6.7-1mdk - fix clean-rpmsrate pb * Mon Jan 21 2002 Warly <warly@mandrakesoft.com> 2.6.6-1mdk - default to normal floppy boot images when isolinux image is not writable. - add new way of building synthesis files. - only use the nolive way to build hdlist. - improve cleanRpmsrate to add version to kernel. - add clean-rpmsrate * Sun Jan 06 2002 Warly <warly@mandrakesoft.com> 2.6.5-1mdk - fix a bug in auto mode - fix bug in boot function - fix a bu in cdcom function * Fri Jan 04 2002 Warly <warly@mandrakesoft.com> 2.6.4-1mdk - Package.pm is back * Thu Jan 03 2002 Warly <warly@mandrakesoft.com> 2.6.3-1mdk - fix pb in auto mode * Wed Jan 2 2002 Warly <warly@mandrakesoft.com> 2.6.2-1mdk - include Packages.pm * Fri Dec 28 2001 Warly <warly@mandrakesoft.com> 2.6.1-1mdk - new version * Wed Dec 26 2001 Warly <warly@mandrakesoft.com> 2.5.11-1mdk - first version