added packaging
authorAnas Nashif <anas.nashif@intel.com>
Thu, 25 Oct 2012 18:30:32 +0000 (11:30 -0700)
committerNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
Fri, 12 Dec 2014 11:34:09 +0000 (12:34 +0100)
Change-Id: Ia5f72824b2c6c5c475917e8996409b0b948e1c32

packaging/less.spec [new file with mode: 0644]

diff --git a/packaging/less.spec b/packaging/less.spec
new file mode 100644 (file)
index 0000000..654c801
--- /dev/null
@@ -0,0 +1,46 @@
+#
+# Please submit bugfixes or comments via http://bugs.tizen.org/
+#
+
+Name:           less
+Version:        451
+Release:        5
+License:        GPL-3.0+
+Summary:        A text file browser similar to more, but better
+Url:            http://www.greenwoodsoftware.com/less/
+Group:          Applications/Text
+Source0:        http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
+BuildRequires:  pkgconfig(ncurses)
+
+%description
+The less utility is a text file browser that resembles more, but has
+more capabilities.  Less allows you to move backwards in the file as
+well as forwards.  Since less doesn't have to read the entire input file
+before it starts, less starts up more quickly than text editors (for
+example, vi).
+
+You should install less because it is a basic utility for viewing text
+files, and you'll use it frequently.
+
+%prep
+%setup -q
+
+%build
+
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+# splitted post-install part by auto-parsing
+strip -R .comment %{buildroot}/%{_bindir}/less
+
+%docs_package
+
+%files
+%doc LICENSE
+%{_bindir}/*