From 82081629cdeba6ec2b3a548d9ee79b4b6a7164886cac3643808a006de9b40a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 15 Jul 2015 17:02:34 +0000 Subject: [PATCH] Accepting request 316983 from home:jubalh tint2 is a simple panel/taskbar made for modern X window managers. I will maintain it. OBS-URL: https://build.opensuse.org/request/show/316983 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/tint2?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + tint2-0.12.tar.gz | 3 ++ tint2.changes | 5 +++ tint2.spec | 104 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 136 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 tint2-0.12.tar.gz create mode 100644 tint2.changes create mode 100644 tint2.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/tint2-0.12.tar.gz b/tint2-0.12.tar.gz new file mode 100644 index 0000000..bcbb43e --- /dev/null +++ b/tint2-0.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05cc342169e8dad6ffd607ed6e01e302bd2576a9e8a292e6fe6e78acbdf9b11f +size 225770 diff --git a/tint2.changes b/tint2.changes new file mode 100644 index 0000000..822a644 --- /dev/null +++ b/tint2.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Jul 15 15:40:08 UTC 2015 - mvetter@suse.com + +- Initial package for version 0.12 + diff --git a/tint2.spec b/tint2.spec new file mode 100644 index 0000000..c48609b --- /dev/null +++ b/tint2.spec @@ -0,0 +1,104 @@ +# +# spec file for package tint2 +# +# Copyright (c) 2015 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: tint2 +Version: 0.12 +Release: 0 +Summary: A lightweight X11 desktop panel and task manager +License: GPL-2.0 +Group: User Interface/Desktops +Url: https://gitlab.com/o9000/tint2 +Source0: https://gitlab.com/o9000/%{name}/repository/archive.tar.gz?ref=v%{version}#/%{name}-%{version}.tar.gz +BuildRequires: cairo-devel +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: gcc-c++ +BuildRequires: gettext +BuildRequires: gtk2-devel +BuildRequires: hicolor-icon-theme +BuildRequires: imlib2-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: libXinerama-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +BuildRequires: librsvg2-devel +BuildRequires: pango-devel +BuildRequires: startup-notification-devel +Recommends: %{name}-lang + +%description +tint2 is a simple panel/taskbar made for modern X window managers. It was +specifically made for Openbox3 but should also work with other window managers. + +%lang_package + +%prep +%setup -q -n %{name}.git + +%build +%cmake -DENABLE_EXAMPLES=ON -DDOCDIR=%{_docdir}/%{name} +make %{?_smp_mflags} + +%install +%cmake_install + +# put sample/ in %%doc +rm -rf %{buildroot}%{_datadir}/tint2/*.tint2rc + +# create tint2 config directory +mkdir -p %{buildroot}%{_sysconfdir}/skel/.config/tint2/ + +desktop-file-install \ + --set-key=NoDisplay --set-value=true \ + --delete-original \ + --dir=%{buildroot}%{_datadir}/applications \ + %{buildroot}/%{_datadir}/applications/tint2.desktop + +desktop-file-install \ + --delete-original \ + --dir=%{buildroot}%{_datadir}/applications \ + %{buildroot}/%{_datadir}/applications/tint2conf.desktop + +%find_lang tint2conf + +%post +%desktop_database_post +%icon_theme_cache_post + +%postun +%desktop_database_postun +%icon_theme_cache_postun + +%files +%defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING README.md +%doc sample/ +%{_bindir}/tint2 +%{_bindir}/tint2conf +%config(noreplace) %{_sysconfdir}/xdg/tint2/tint2rc +%{_sysconfdir}/skel/.config/tint2/ +%{_sysconfdir}/xdg/tint2 +%{_datadir}/tint2/ +%{_datadir}/applications/tint2conf.desktop +%{_datadir}/applications/tint2.desktop +%{_datadir}/icons/hicolor/*/apps/tint* +%{_mandir}/man1/tint2.* + +%files lang -f tint2conf.lang +%defattr(-,root,root)