From 98f9ec6fbeceb93afea20dab0c1e60a004bfe6c00e4c57ea37e1c514cfe98cde Mon Sep 17 00:00:00 2001 From: Tomas Cech Date: Fri, 22 Apr 2016 13:57:51 +0000 Subject: [PATCH] Accepting request 391284 from home:chocoelho I want to maintain holodev in Factory and would like to use devel:tools as the devel project. I've ran spec-cleaner on holodev.spec and moved changelog to holodev.changes OBS-URL: https://build.opensuse.org/request/show/391284 OBS-URL: https://build.opensuse.org/package/show/devel:tools/holodev?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + holodev-0.6.tar.gz | 3 ++ holodev.changes | 19 +++++++++++++ holodev.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 116 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 holodev-0.6.tar.gz create mode 100644 holodev.changes create mode 100644 holodev.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/holodev-0.6.tar.gz b/holodev-0.6.tar.gz new file mode 100644 index 0000000..cf38de5 --- /dev/null +++ b/holodev-0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f513a6be70e897333654eb3e9d819ab3a3033c0f00683652238d48d6005fee7e +size 15557 diff --git a/holodev.changes b/holodev.changes new file mode 100644 index 0000000..237b305 --- /dev/null +++ b/holodev.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Tue Apr 19 13:12:33 UTC 2016 - carlospecter@gmail.com + +- Update to 0.6 + +------------------------------------------------------------------- +Thu Mar 31 13:12:33 UTC 2016 - carlospecter@gmail.com + +- Added post install setup + +------------------------------------------------------------------- +Thu Mar 31 13:12:33 UTC 2016 - carlospecter@gmail.com + +- Added bash-completion + +------------------------------------------------------------------- +Thu Mar 31 13:12:33 UTC 2016 - carlospecter@gmail.com + +- Initial RPM release diff --git a/holodev.spec b/holodev.spec new file mode 100644 index 0000000..36ba79b --- /dev/null +++ b/holodev.spec @@ -0,0 +1,70 @@ +# +# spec file for package holodev +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: holodev +Version: 0.6 +Release: 4%{?dist} +Summary: A holodeck developers +License: GPL-2.0+ +Group: Development/Tools/Other +Url: https://github.com/lappis-tools/holodev +Source0: https://github.com/lappis-tools/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: bash-completion +BuildRequires: bridge-utils +BuildRequires: dnsmasq +BuildRequires: ebtables +BuildRequires: git +BuildRequires: lxc +BuildRequires: shunit2 +BuildRequires: sudo +Requires: bash-completion +Requires: bridge-utils +Requires: git +Requires: libvirt >= 1.3.2 +Requires: lxc +Requires: sudo +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +Tool that makes it easier to create Linux containers for development using Debian systems. + +%prep +%autosetup -n %{name}-%{version} + +%build + +%install +# install holodev binary +install -d -m 0755 %{buildroot}%{_bindir} +install -m 0755 holodev %{buildroot}%{_bindir}/holodev + +# install holodev bash-completion +install -d -m 0755 %{buildroot}%{_sysconfdir}/bash_completion.d +install -m 0644 -T debian/holodev.bash-completion %{buildroot}%{_sysconfdir}/bash_completion.d/holodev.bash-completion + +%post +holodev setup + +%files +%defattr(-,root,root) +%doc README.md +%config %{_sysconfdir}/bash_completion.d/holodev.bash-completion +%{_bindir}/holodev + +%changelog