From: Anas Nashif Date: Tue, 16 Oct 2012 15:33:53 +0000 (-0700) Subject: add packaging files X-Git-Tag: submit/trunk/20130325.083703^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6c39cbf3bcc67f8d0f00fe1509be956a42af74b;p=platform%2Fupstream%2Fpatch.git add packaging files --- diff --git a/packaging/patch.manifest b/packaging/patch.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/patch.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/patch.spec b/packaging/patch.spec new file mode 100644 index 0000000..c5ec7e4 --- /dev/null +++ b/packaging/patch.spec @@ -0,0 +1,37 @@ +Name: patch +Version: 2.7 +Release: 1 +License: GPL-3.0 +Summary: The GNU patch command, for modifying/upgrading files +Url: http://www.gnu.org/software/patch/patch.html +Group: Development/Tools +Source0: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.xz +Source1001: patch.manifest + +%description +The patch program applies diff files to originals. The diff command +is used to compare an original to a changed file. Diff lists the +changes made to the file. A person who has the original file can then +use the patch command with the diff file to add the changes to their +original file (patching the file). + +Patch should be installed because it is a common way of upgrading +applications. + +%prep +%setup -q + +%build +cp %{SOURCE1001} . +CFLAGS="%{optflags} -D_GNU_SOURCE" + +%configure +make %{?_smp_mflags} + +%install +%make_install + +%files +%manifest patch.manifest +%{_bindir}/* +%doc %{_mandir}/*/*