diff --git a/README.md b/README.md index 776abe1..a8f0e59 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # makedist +A toolkit for making CD/DVD/archive images from an RPM based distribution repository. +Useful to make distribution bootdisk images and additional CDs/DVDs, live CDs/DVDs, root filesystem images for embedded systems and more. + diff --git a/makedist.spec b/makedist.spec new file mode 100644 index 0000000..94645cd --- /dev/null +++ b/makedist.spec @@ -0,0 +1,126 @@ +Name: makedist +Version: 2.5 +Release: 1mamba +Summary: A toolkit for making CD/DVD/archive images from an RPM based distribution repository +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.openmamba.org +Source: %{name}-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +Requires: squashfs >= 3.0 +Requires: memtest86+ >= 1.51 +Requires: distromatic >= 0.6.5 +Requires: make >= 3.8.1 +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch +AutoReq: no + +%description +A toolkit for making CD/DVD/archive images from an RPM based distribution repository. +Useful to make distribution bootdisk images and additional CDs/DVDs, live CDs/DVDs, root filesystem images for embedded systems and more. + +%prep +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%setup -q + +%build + +%install +%makeinstall +mkdir -p %{buildroot}%{_localstatedir}/makedist/{repositories/preferred,utils} +mkdir -p %{buildroot}%{_localstatedir}/makedist/repositories/preferred/{RPMS/i586,SRPMS} +mkdir -p %{buildroot}%{_localstatedir}/makedist/targets/ +mkdir -p %{buildroot}%{_datadir}/makedist +install -d %{buildroot}%{_bindir} \ + %{buildroot}%{_sysconfdir}/makedist \ + %{buildroot}%{_localstatedir}/makedist/distromatic +ln -s %{_datadir}/makedist/makedist %{buildroot}%{_bindir}/makedist + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%attr(0664,root,packager) %config(noreplace) %{_sysconfdir}/makedist/config +%{_sysconfdir}/cron.daily/20-makedist-autobuild +%{_sysconfdir}/cron.daily/30-makedist-autobuild-cleanold +%config(noreplace) %{_sysconfdir}/sysconfig/makedist +%{_bindir}/makedist +%{_sbindir}/makedist-announcement +%{_sbindir}/makedist-newrelease +%{_sbindir}/makedist-recordvm +%dir %{_datadir}/makedist +%{_datadir}/makedist/*.sh +%{_datadir}/makedist/makedist +%{_datadir}/makedist/Makefile +%{_datadir}/makedist/VERSION +%{_datadir}/makedist/mkisofs.sort +%attr(0774,root,packager) %dir %{_datadir}/makedist/global +%{_datadir}/makedist/global/* +%attr(0775,root,packager) %dir %{_localstatedir}/makedist +%attr(0775,root,packager) %dir %{_localstatedir}/makedist/distromatic +%attr(0775,root,packager) %dir %{_localstatedir}/makedist/repositories +%attr(0775,root,packager) %dir %{_localstatedir}/makedist/repositories/preferred +%attr(0775,root,packager) %{_localstatedir}/makedist/repositories/preferred/* +%attr(0775,root,packager) %dir %{_localstatedir}/makedist/targets +%attr(0775,root,packager) %dir %{_localstatedir}/makedist/utils +%doc ChangeLog LICENSE + +%changelog +* Tue May 13 2014 Silvan Calarco 2.5-1mamba +- update to 2.5 + +* Fri Sep 09 2011 Silvan Calarco 2.4-1mamba +- update to 2.4 +- removed requirement for splashutils + +* Tue Mar 08 2011 Silvan Calarco 2.3-1mamba +- update to 2.3 + +* Sat May 01 2010 Silvan Calarco 2.2.0-1mamba +- update to 2.2.0 + +* Fri Apr 03 2009 Silvan Calarco 2.1.1-1mamba +- update to 2.1.1 + +* Sun Jan 25 2009 Silvan Calarco 2.1.0-1mamba +- update to 2.1.0 + +* Tue Sep 02 2008 Silvan Calarco 2.0.9-1mamba +- update to 2.0.9 + +* Thu Aug 09 2007 Silvan Calarco 2.0.8-1mamba +- update to 2.0.8 + +* Wed Jul 04 2007 Silvan Calarco 2.0.7-1mamba +- update to 2.0.7 + +* Sat Jun 30 2007 Silvan Calarco 2.0.6-1mamba +- update to 2.0.6 + +* Sat Jun 30 2007 Silvan Calarco 2.0.5-1mamba +- update to 2.0.5 + +* Mon May 28 2007 Silvan Calarco 2.0.4-1mamba +- update to 2.0.4 + +* Sat Mar 10 2007 Silvan Calarco 2.0.3-1qilnx +- update to version 2.0.3 by autospec + +* Tue Feb 20 2007 Silvan Calarco 2.0.2-1qilnx +- update to version 2.0.2 by autospec +- add makedist symlink in bindir + +* Tue Feb 13 2007 Silvan Calarco 2.0.1-1qilnx +- update to version 2.0.1 by autospec +- open /var/makedist to packager group + +* Mon Jan 29 2007 Silvan Calarco 2.0.0-1qilnx +- first release as makedis (old name was qilinuxcd)