Added spec file
This commit is contained in:
parent
8a91123766
commit
d747519b8c
48
lorax.spec
Normal file
48
lorax.spec
Normal 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.
|
Loading…
Reference in New Issue
Block a user