diff options
author | Anas Nashif <nashif@linux.intel.com> | 2011-01-20 12:38:38 +0000 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2011-01-20 12:38:38 +0000 |
commit | 1dfaaefb9c2a713a5ea7804dff30eef0cb2f0e8a (patch) | |
tree | ad351b9db3328f7cb0026752cd682b048ce4b675 | |
parent | 2d0aa04d224c34facf276b5461d9163c17dff95d (diff) | |
download | kickstarter-1dfaaefb9c2a713a5ea7804dff30eef0cb2f0e8a.tar.gz kickstarter-1dfaaefb9c2a713a5ea7804dff30eef0cb2f0e8a.tar.bz2 kickstarter-1dfaaefb9c2a713a5ea7804dff30eef0cb2f0e8a.zip |
add spec, Makefile and VERSION
-rw-r--r-- | Makefile | 16 | ||||
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | VERSION | 1 | ||||
-rw-r--r-- | kickstarter.spec | 29 |
4 files changed, 47 insertions, 0 deletions
@@ -1,4 +1,7 @@ # ex: set tabstop=4 noexpandtab: +VERSION = $(shell cat VERSION) +NAME=kickstarter +TAGVER = $(shell cat VERSION | sed -e "s/\([0-9\.]*\).*/\1/") PYTHON=python CHEETAH=cheetah TEMPLATES=$(wildcard *.tmpl) @@ -15,6 +18,19 @@ all: $(TEMPLATE_MODS) ks: $(TEMPLATES) configurations.yaml repos.yaml python kickstarter.py -c configurations.yaml -r repos.yaml +tag: + git tag $(VERSION) + +dist-bz2: + git archive --format=tar --prefix=$(NAME)-$(VERSION)/ $(TAG) | \ + bzip2 > $(NAME)-$(VERSION).tar.bz2 + +dist-gz: + git archive --format=tar --prefix=$(NAME)-$(VERSION)/ $(TAG) | \ + gzip > $(NAME)-$(VERSION).tar.gz + +dist: dist-bz2 + clean: rm -f $(TEMPLATE_MODS) rm -f $(addsuffix .bak,$(TEMPLATE_MODS)) @@ -6,6 +6,7 @@ python kickstarter.py -c <images.yaml> -r <repos.yaml> Example: python kickstarter.py --configs configurations.yaml --repos repos.yaml + or run 'make ks' Repo file: This file contains a list of repositories to be used in the kickstart files @@ -0,0 +1 @@ +0.1 diff --git a/kickstarter.spec b/kickstarter.spec new file mode 100644 index 0000000..02f539e --- /dev/null +++ b/kickstarter.spec @@ -0,0 +1,29 @@ +Summary: Create kickstart files for meego images +Name: kickstarter +Version: 0.1 +Release: 1 +License: GPLv2 +Group: System/Base +URL: http://www.meego.com +Source: %{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildArch: noarch + +%description +Create Configuration files to build meego images + +%prep +%setup -q + +%build + +%install +rm -rf $RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc GPL + |