From 21b2ba46457340ac533e53631b88182fbf53e6042b6138366c86fceed7fdcfd6 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 14 Jun 2013 13:34:23 +0000 Subject: [PATCH] The TILDE command-line editor OBS-URL: https://build.opensuse.org/package/show/editors/libt3window?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + libt3window-0.2.1.tar.bz2 | 3 ++ libt3window.changes | 4 ++ libt3window.spec | 102 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 133 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libt3window-0.2.1.tar.bz2 create mode 100644 libt3window.changes create mode 100644 libt3window.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/libt3window-0.2.1.tar.bz2 b/libt3window-0.2.1.tar.bz2 new file mode 100644 index 0000000..cb3a874 --- /dev/null +++ b/libt3window-0.2.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71e7b46e31ae65a48f87a0bd1ccb047919522823cd5feb541b3180c37df29180 +size 138747 diff --git a/libt3window.changes b/libt3window.changes new file mode 100644 index 0000000..5c9bb93 --- /dev/null +++ b/libt3window.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Jun 10 13:04:05 UTC 2013 - jengelh@inai.de + +- Initial package (version 0.2.1) for build.opensuse.org diff --git a/libt3window.spec b/libt3window.spec new file mode 100644 index 0000000..c60105f --- /dev/null +++ b/libt3window.spec @@ -0,0 +1,102 @@ +# +# spec file for package libt3window +# +# Copyright (c) 2013 SUSE LINUX Products 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: libt3window +%define lname libt3window0 +Version: 0.2.1 +Release: 0 +Summary: The Tilde Toolkit's window-based terminal program library +License: GPL-3.0 +Group: Development/Libraries/C and C++ +Url: http://os.ghalkes.nl/t3/libt3window.html + +#Git-Clone: git://github.com/gphalkes/t3widget +Source: http://os.ghalkes.nl/dist/%name-%version.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gettext-tools +BuildRequires: libtool +BuildRequires: libunistring-devel +BuildRequires: ncurses-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libtranscript) >= 0.2.2 +%if 0%{?suse_version} +BuildRequires: fdupes +%endif + +%description +libt3window library provides functions for manipulating the terminal +and for creating (possibly overlapping) windows on a terminal. +libt3window can be used instead of (n)curses for drawing on the +terminal. + +%package -n %lname +Summary: The Tilde Toolkit's window-based terminal program library +Group: System/Libraries + +%description -n %lname +libt3window library provides functions for manipulating the terminal +and for creating (possibly overlapping) windows on a terminal. +libt3window can be used instead of (n)curses for drawing on the +terminal. + +%package devel +Summary: Development files for libt3window, a library for window-based terminal drawing +Group: Development/Libraries/C and C++ +Requires: %lname = %version + +%description devel +libt3window library provides functions for manipulating the terminal +and for creating (possibly overlapping) windows on a terminal. +libt3window can be used instead of (n)curses for drawing on the +terminal. + +This subpackage contains libraries and header files for developing +applications that want to make use of libt3window. + +%prep +%setup -q + +%build +%configure --docdir="%_docdir/%name" +make %{?_smp_mflags} + +%install +b="%buildroot" +make install DESTDIR="$b" +rm -f "$b/%_libdir"/*.la +%if 0%{?fdupes:1} +%fdupes %buildroot/%_prefix +%endif + +%post -p /sbin/ldconfig -n %lname +%postun -p /sbin/ldconfig -n %lname + +%files -n %lname +%defattr(-,root,root) +%_libdir/libt3window.so.0* +%doc COPYING + +%files devel +%defattr(-,root,root) +%_includedir/t3/ +%_libdir/libt3window.so +%_libdir/pkgconfig/libt3window.pc +%_docdir/%name/ +%exclude %_docdir/%name/COPYING + +%changelog