[Tizen-submit] 2554: New package Tizen:2.1:Base/diffutils

noreply at tizen.org noreply at tizen.org
Tue Apr 23 10:26:53 GMT 2013


Hi,
Adding new package diffutils in project Tizen:2.1:Base. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: toolchains/diffutils
Tag: submit/tizen_2.1/20130423.102707
Commit: 1d78144 Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2554

  submit:       Tizen:2.1:Base:build/diffutils(cleanup) -> Tizen:2.1:Base


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: toolchains/diffutils
Tag: submit/tizen_2.1/20130423.102707
Commit: 1d78144 Tizen 2.1 base

State:   new        2013-04-23T02:57:31 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- diffutils.changes
+++ diffutils.changes
@@ -0,0 +1,2 @@
+* Fri Jul 29 2011 Junfeng Dong <junfeng.dong at intel.com> - 3.0
+- Import 3.0 for SLP.

new:
----
  diffutils-3.0.tar.xz
  diffutils-cmp-s-empty.patch
  diffutils.changes
  diffutils.manifest
  diffutils.spec

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

++++++ new spec file:
--- diffutils.spec
+++ diffutils.spec
@@ -0,0 +1,60 @@
+Name:           diffutils
+Version:        3.0
+Release:        3
+VCS:        toolchains/diffutils#2.1_release-0-g1d78144
+License:        GPLv2+
+Summary:        A GNU collection of diff utilities
+Url:            http://www.gnu.org/software/diffutils/diffutils.html
+Group:          Applications/Text
+Source:         ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz
+Source1001:     %{name}.manifest
+Patch0:         diffutils-cmp-s-empty.patch
+
+%description
+Diffutils includes four utilities: diff, cmp, diff3 and sdiff. Diff
+compares two files and shows the differences, line by line.  The cmp
+command shows the offset and line numbers where two files differ, or
+cmp can show the characters that differ between the two files.  The
+diff3 command shows the differences between three files.  Diff3 can be
+used when two people have made independent changes to a common
+original; diff3 can produce a merged file that contains both sets of
+changes and warnings about conflicts.  The sdiff command can be used
+to merge two files interactively.
+
+Install diffutils if you need to compare text files.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+cp %{SOURCE1001} .
+%configure --disable-nls
+make PR_PROGRAM=%{_bindir}/pr
+
+%install
+%make_install
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/license
+for keyword in LICENSE COPYING COPYRIGHT;
+do
+	for file in `find %{_builddir} -name $keyword`;
+	do
+		cat $file >> $RPM_BUILD_ROOT%{_datadir}/license/%{name};
+		echo "";
+	done;
+done
+
+%clean
+rm -rf %{buildroot}
+
+%docs_package
+
+%files
+%defattr(-,root,root,-)
+%manifest %{name}.manifest
+%doc NEWS README COPYING
+%{_datadir}/license/%{name}
+%{_bindir}/*
+%{_mandir}/*/*
+%{_infodir}/diff.info*gz


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


More information about the Tizen-submit mailing list