From: Quanxian Wang Date: Fri, 6 Jun 2014 03:42:06 +0000 (+0800) Subject: Add packaging X-Git-Tag: 3.0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_tv;p=platform%2Fupstream%2Flibtsm.git Add packaging Change-Id: Ic3f706d8ffc8834b710c3340b3cc6fc8ea1836d1 Signed-off-by: Quanxian Wang --- diff --git a/packaging/libtsm.manifest b/packaging/libtsm.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/libtsm.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/libtsm.spec b/packaging/libtsm.spec new file mode 100644 index 0000000..63318eb --- /dev/null +++ b/packaging/libtsm.spec @@ -0,0 +1,69 @@ +Name: libtsm +Version: 3.0 +Release: 0 +Summary: State machine for terminal emulators +License: MIT +Group: Graphics & UI Framework/Wayland Window System +Url: http://www.freedesktop.org/wiki/Software/libtsm + +#Git-Clone: git://people.freedesktop.org/~dvdhrm/libtsm +#Git-Web: http://cgit.freedesktop.org/~dvdhrm/libtsm +Source0: %name-%version.tar.xz +Source1001: libtsm.manifest +BuildRequires: autoconf >= 2.64, automake >= 1.11 +BuildRequires: expat-devel +BuildRequires: libjpeg-devel +BuildRequires: libtool >= 2.2 +BuildRequires: libvpx-devel +BuildRequires: pam-devel +BuildRequires: pkgconfig +BuildRequires: xz +BuildRequires: pkgconfig(xkbcommon) >= 0.3.0 + +%description +TSM-Terminal Emulator State Machine +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. + +%package devel +Summary: Development files for package %{name} +Group: Graphics & UI Framework/Development +Requires: libtsm + +%description devel +This package provides header files and other developer releated files +for package %{name}. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +%autogen +make + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%license COPYING +%_libdir/%{name}.so* + +%files devel +%manifest %{name}.manifest +%_includedir/%{name}.h +%_libdir/pkgconfig/%{name}.pc + +%changelog