Added spec file

This commit is contained in:
Martin Gracik 2010-12-02 13:37:16 +01:00
parent 8a91123766
commit d747519b8c
1 changed files with 48 additions and 0 deletions

48
lorax.spec Normal file
View File

@ -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 <mgracik@redhat.com> 0.1-1
- First packaging of the new lorax tool.