summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2022-02-17 08:53:14 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2022-02-17 08:53:14 +0900
commit5ed85cba06422b26aeb0073b8698f1092c0d7397 (patch)
tree3aa0b9203d0c53fba2c2545500a4f6873873aefe
parent6211adade47a2d94340d5c20dd737e8bdf246636 (diff)
downloadrsync-5ed85cba06422b26aeb0073b8698f1092c0d7397.tar.gz
rsync-5ed85cba06422b26aeb0073b8698f1092c0d7397.tar.bz2
rsync-5ed85cba06422b26aeb0073b8698f1092c0d7397.zip
Change-Id: I303723f8be9b40114dbbcdae96e799e00cd41892
-rw-r--r--.gitignore57
-rw-r--r--packaging/rsync.manifest5
-rw-r--r--packaging/rsync.spec58
3 files changed, 63 insertions, 57 deletions
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 47d75e91..00000000
--- a/.gitignore
+++ /dev/null
@@ -1,57 +0,0 @@
-*.[oa]
-*~
-dummy
-ID
-Makefile
-Makefile.old
-configure.sh
-configure.sh.old
-config.cache
-config.h
-config.h.in
-config.h.in.old
-config.log
-config.status
-aclocal.m4
-/proto.h
-/proto.h-tstamp
-/rsync*.1
-/rsync*.5
-/rsync*.html
-/help-rsync*.h
-/default-cvsignore.h
-/default-dont-compress.h
-/daemon-parm.h
-/.md2man-works
-/autom4te*.cache
-/confdefs.h
-/conftest*
-/dox
-/getgroups
-/gmon.out
-/rsync
-/stunnel-rsyncd.conf
-/shconfig
-/git-version.h
-/testdir
-/tests-dont-exist
-/testtmp
-/tls
-/testrun
-/trimslash
-/t_unsafe
-/wildtest
-/getfsdev
-/rounding.h
-/doc/rsync.pdf
-/doc/rsync.ps
-/support/savetransfer
-/testsuite/chown-fake.test
-/testsuite/devices-fake.test
-/testsuite/xattrs-hlink.test
-/patches
-/patches.gen
-/build
-/auto-build-save
-.deps
-/*.exe
diff --git a/packaging/rsync.manifest b/packaging/rsync.manifest
new file mode 100644
index 00000000..017d22d3
--- /dev/null
+++ b/packaging/rsync.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/rsync.spec b/packaging/rsync.spec
new file mode 100644
index 00000000..f6ff87d3
--- /dev/null
+++ b/packaging/rsync.spec
@@ -0,0 +1,58 @@
+Name: rsync
+Version: 3.2.3
+Release: 0
+License: GPL-3.0+
+Summary: A program for synchronizing files over a network
+Url: http://rsync.samba.org/
+#X-Vcs-Url: git://git.samba.org/rsync
+Group: Base/Utilities
+Source0: http://rsync.samba.org/ftp/rsync/src/rsync-%{version}.tar.gz
+Source1001: rsync.manifest
+BuildRequires: libacl-devel
+BuildRequires: libattr-devel
+BuildRequires: pkgconfig(popt)
+BuildRequires: pkgconfig(openssl1.1)
+BuildRequires: libzstd-devel
+
+%description
+Rsync uses a reliable algorithm to bring remote and host files into
+sync very quickly. Rsync is fast because it just sends the differences
+in the files over the network instead of sending the complete
+files. Rsync is often used as a very powerful mirroring process or
+just as a more capable replacement for the rcp command. A technical
+report which describes the rsync algorithm is included in this
+package.
+
+%package support
+Summary: Support files for rsync
+Group: Base/Utilities
+Requires: %{name} = %{version}-%{release}
+
+%description support
+Support filrs for rsync
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+export CFLAGS+=" -fPIC"
+export LDFLAGS+=" -pie"
+
+%reconfigure --disable-xxhash --disable-lz4
+%__make reconfigure
+%__make %{?_smp_mflags}
+
+%install
+%make_install
+
+
+%docs_package
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/rsync
+%{_bindir}/rsync-ssl
+