From d747519b8c933dca7c188442cad832f5fa32d9e4 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Thu, 2 Dec 2010 13:37:16 +0100 Subject: [PATCH] Added spec file --- lorax.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 lorax.spec 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.