From 3fbfbbfd2ff40c3d1d3c819b11ada3d20da2be2d39d62ae95abb94f9a00782f1 Mon Sep 17 00:00:00 2001 From: Togan Muftuoglu Date: Mon, 10 Dec 2012 18:30:57 +0000 Subject: [PATCH] Accepting request 145007 from home:toganm:testing Initial packaging for the branding OBS-URL: https://build.opensuse.org/request/show/145007 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/awesome-branding-openSUSE?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + awesome-branding-openSUSE-3.4.13.tar.xz | 3 ++ awesome-branding-openSUSE.changes | 9 ++++ awesome-branding-openSUSE.spec | 70 +++++++++++++++++++++++++ 5 files changed, 106 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 awesome-branding-openSUSE-3.4.13.tar.xz create mode 100644 awesome-branding-openSUSE.changes create mode 100644 awesome-branding-openSUSE.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/awesome-branding-openSUSE-3.4.13.tar.xz b/awesome-branding-openSUSE-3.4.13.tar.xz new file mode 100644 index 0000000..14d23be --- /dev/null +++ b/awesome-branding-openSUSE-3.4.13.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12f8cd4e536f37bdef0f8163af44a279f1b9bbcb707942aaa7dd3d662926132a +size 714752 diff --git a/awesome-branding-openSUSE.changes b/awesome-branding-openSUSE.changes new file mode 100644 index 0000000..47c66a0 --- /dev/null +++ b/awesome-branding-openSUSE.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 7 17:35:17 UTC 2012 - toganm@opensuse.org + +- Initial packaging + * added nitrogen and awesome-freedesktop awesome-vicious + xscreensaver to the required packages. awesome-shifty is + recommended + * keydoc.lua and calendar2.lua are added as modules + diff --git a/awesome-branding-openSUSE.spec b/awesome-branding-openSUSE.spec new file mode 100644 index 0000000..88461ac --- /dev/null +++ b/awesome-branding-openSUSE.spec @@ -0,0 +1,70 @@ +# +# spec file for package awesome-branding-openSUSE +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 Togan Muftuoglu +# +# 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/ +# + + +%define main_pack awesome +Name: awesome-branding-openSUSE +Version: 3.4.13 +Url: https://github.com/madanyang/awesome-branding-opensuse.git +Summary: openSUSE Branding for awesome +License: GPL-2.0+ +Group: System/GUI/Other +Supplements: packageand(%{main_pack}:branding-openSUSE) +Provides: %{main_pack}-branding = %{version} +Conflicts: otherproviders(%main_pack-branding) +BuildArch: noarch +Release: 0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: %name-%version.tar.xz +Requires: awesome-freedesktop +Requires: awesome-vicious +Requires: gnome-icon-theme +Requires: nitrogen +Requires: xscreensaver +Recommends: awesome-shifty + +%description +This package provides the openSUSE specific additions both for functions and +look and feel for awesome window manager. + + +%prep +%setup -q + +%build + +%install +install -d %{buildroot}%{_sysconfdir}/xdg/awesome +install -d %{buildroot}%{_datadir}/awesome/lib +install -d %{buildroot}%{_datadir}/awesome/themes + +install -m 644 calendar2.lua %{buildroot}%{_datadir}/awesome/lib/. +install -m 644 keydoc.lua %{buildroot}%{_datadir}/awesome/lib/. +cp -ar themes/ %{buildroot}%{_datadir}/awesome/ +install -m 644 rc.lua %{buildroot}%{_sysconfdir}/xdg/awesome/rc.lua + +%files +%defattr(-,root,root,-) +%doc README.openSUSE +%dir %{_sysconfdir}/xdg/awesome +%config(noreplace) %{_sysconfdir}/xdg/awesome/rc.lua +%dir %{_datadir}/awesome +%{_datadir}/awesome/lib +%{_datadir}/awesome/themes + +%changelog