Bump to 608 accepted/tizen_8.0_base accepted/tizen_base_tool sandbox/backup/less_608_20231207 sandbox/less_608 tizen_8.0_base accepted/tizen/8.0/base/20231005.044826 accepted/tizen/base/20230714.003339 accepted/tizen/base/riscv/20231130.004935 accepted/tizen/base/tool/20230128.012706 submit/tizen_base/20230105.061821 submit/tizen_base/20230125.061402 submit/tizen_base/20230127.080752 submit/tizen_base/20230128.011226 tizen_8.0_m2_release
authorTizenOpenSource <tizenopensrc@samsung.com>
Wed, 28 Dec 2022 07:15:42 +0000 (16:15 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Wed, 28 Dec 2022 07:15:42 +0000 (16:15 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/less.manifest [new file with mode: 0644]
packaging/less.spec [new file with mode: 0644]

diff --git a/packaging/less.manifest b/packaging/less.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/less.spec b/packaging/less.spec
new file mode 100644 (file)
index 0000000..51d3ae3
--- /dev/null
@@ -0,0 +1,41 @@
+Name:           less
+Version:        608
+Release:        0
+License:        GPL-3.0+
+Summary:        A text file browser similar to more, but better
+Url:            http://www.greenwoodsoftware.com/less/
+Group:          System/Utilities
+Source0:        http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
+Source1001:     %{name}.manifest
+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
+cp %{SOURCE1001} .
+
+%build
+export CFLAGS+=" -fPIC "
+export CXXFLAGS+=" -fPIC "
+export LDFLAGS+=" -pie "
+%configure 
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%docs_package
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{_bindir}/*