[Tizen-submit] 20295: New package Tizen:IVI:Genivi/nano

noreply at tizen.org noreply at tizen.org
Fri Jan 31 03:08:53 GMT 2014


Hi,
Adding new package nano in project Tizen:IVI:Genivi. Please review and accept ASAP.

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.030325
Git project: platform/upstream/nano
Tag: submit/tizen_ivi_genivi/20140131.030325
Commit: 512287cadcc31d9bc0a5702ff4ca5aa5155d7fd2 resetting manifest requested domain to floor

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #20295

  submit:       Tizen:IVI:Genivi:build/nano(cleanup) -> Tizen:IVI:Genivi


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.030325
Git project: platform/upstream/nano
Tag: submit/tizen_ivi_genivi/20140131.030325
Commit: 512287cadcc31d9bc0a5702ff4ca5aa5155d7fd2 resetting manifest requested domain to floor

State:   new        2014-01-31T03:10:50 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- nano.changes
+++ nano.changes
@@ -0,0 +1,6 @@
+* Sat May 11 2013 Anas Nashif <anas.nashif at intel.com> submit/tizen/20130509.182456 at b28b75d
+- Set license using %license
+
+* Mon Dec 31 2012 Anas Nashif <anas.nashif at intel.com> upstream/2.3.1 at 4cef4b7
+- do not recomment locale package
+

new:
----
  nano-2.3.1.tar.bz2
  nano.changes
  nano.manifest
  nano.spec

spec files:
-----------

++++++ new spec file:
--- nano.spec
+++ nano.spec
@@ -0,0 +1,57 @@
+Name:           nano
+VCS:            platform/upstream/nano#512287cadcc31d9bc0a5702ff4ca5aa5155d7fd2
+Version:        2.3.1
+Release:        1
+Summary:        Pico Editor Clone with Enhancements
+
+License:        GPL-3.0+
+Url:            http://www.nano-editor.org/
+Group:          Productivity/Editors/Other
+Source0:        %{name}-%{version}.tar.bz2
+Source1001: 	nano.manifest
+
+BuildRequires:  file-devel
+BuildRequires:  pkgconfig(ncurses)
+
+%description
+GNU nano is a small and friendly text editor. It aims to emulate the
+Pico text editor while also offering a few enhancements.
+
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+# Remove build time references so build-compare can do its work
+FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
+FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
+sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/nano.c
+sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/nano.c
+
+%build
+%configure --disable-rpath --enable-utf8
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+# Remove doc files from /usr/share/nano (they should be in defaultdocdir)
+rm -rf %{buildroot}%{_datadir}/nano/man-html/
+rm -rf %{buildroot}%{_mandir}/fr
+
+%find_lang %{name} --all-name
+
+%docs_package
+
+%lang_package
+
+%files
+%manifest %{name}.manifest
+%license COPYING
+%defattr(-,root,root,-)
+%{_bindir}/nano
+%{_bindir}/rnano
+%{_datadir}/nano/
+
+
+%changelog


Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list