diff --git a/lorax.spec b/lorax.spec new file mode 100644 index 00000000..8ba9765e --- /dev/null +++ b/lorax.spec @@ -0,0 +1,48 @@ +Name: lorax +Version: 0.1 +Release: 1%{?dist} +Summary: Tool for creating the anaconda install images + +Group: Applications/System +License: GPLv2+ +URL: http://git.fedorahosted.org/git/?p=lorax.git +Source0: %{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: python-setuptools +Requires: python +Requires: python-mako + +%description +Lorax is a tool for creating the anaconda install images. + +%prep +%setup -q + + +%build + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc +%{python_sitelib}/pylorax +%{python_sitelib}/*.egg-info +%dir %{_sysconfdir}/lorax +%{_sysconfdir}/lorax/lorax.conf +%dir %{_datadir}/lorax +%{_datadir}/lorax/* + + + +%changelog +* Wed Dec 01 2010 Martin Gracik 0.1-1 +- First packaging of the new lorax tool.