[libtsm/f19] Initial SETUP.

Christopher Meng cicku at fedoraproject.org
Fri Nov 22 02:20:08 UTC 2013


commit 5cc5126ed409e5eaf2b147b50831640c5734af0e
Author: Christopher Meng <rpm at cicku.me>
Date:   Fri Nov 22 10:14:56 2013 +0800

    Initial SETUP.

 .gitignore  |    1 +
 libtsm.spec |   65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2bb4565 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libtsm-3.tar.xz
diff --git a/libtsm.spec b/libtsm.spec
new file mode 100644
index 0000000..77025d4
--- /dev/null
+++ b/libtsm.spec
@@ -0,0 +1,65 @@
+Name:           libtsm
+Version:        3
+Release:        1%{?dist}
+Summary:        Terminal-emulator State Machine
+License:        MIT
+URL:            http://freedesktop.org/wiki/Software/kmscon/libtsm/
+Source0:        http://freedesktop.org/software/kmscon/releases/%{name}-%{version}.tar.xz
+BuildRequires:  libxkbcommon-devel
+
+%description
+TSM is a state machine for DEC VT100-VT520 compatible terminal emulators. 
+It tries to support all common standards while keeping compatibility to 
+existing emulators like xterm, gnome-terminal, konsole...
+
+TSM itself does not provide any rendering nor window management. It is a 
+simple plain state machine without any external dependencies. It can be 
+used to implement terminal emulators, but also to implement other applications
+that need to interpret terminal escape sequences.
+
+This library is very similar to libvte of the gnome project. However, 
+libvte is highly bound to GTK+, which makes it unsuitable for non-graphics 
+projects that need to parse escape sequences. Instead, TSM tries to restrict 
+its API to terminal emulation only. Furthermore, TSM does not try to 
+establish a new terminal emulation standard, but instead keeps compatibility 
+as close to xterm as possible. This is why the TERM variable can be set to 
+xterm-color256 with any TSM based terminal emulator.
+
+%package        devel
+Summary:        Development files for %{name}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    devel
+This package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags} V=1
+
+%install
+make install DESTDIR=%{buildroot}
+find %{buildroot} -name '*.*a' -delete
+
+%check
+make check
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc COPYING README
+%{_libdir}/libtsm.so.*
+
+%files devel
+%{_includedir}/libtsm.h
+%{_libdir}/libtsm.so
+%{_libdir}/pkgconfig/libtsm.pc
+
+%changelog
+* Fri Nov 01 2013 Christopher Meng <rpm at cicku.me> - 3-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..d91d105 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c1b297a69d11a72f207ec35ae5ce7d69  libtsm-3.tar.xz


More information about the scm-commits mailing list