librsync.spec

来自「rsync的核心代码库。主要作用是比较二进制文件」· SPEC 代码 · 共 82 行

SPEC
82
字号
Summary:  	Rsync librariesName:     	librsyncVersion:  	0.9.6Release:  	1Copyright:	LGPLGroup:    	System Environment/LibrariesSource:  	http://prdownloads.sourceforge.net/librsync/librsync-0.9.6.tar.gz?downloadURL:       	http://www.sourceforge.net/projects/librsyncBuildRoot:	%{_tmppath}/%{name}-%{version}-root%descriptionlibrsync implements the "rsync" algorithm, which allows remotedifferencing of binary files.  librsync computes a delta relative to afile's checksum, so the two files need not both be present to generatea delta.This library was previously known as libhsync up to version 0.9.0.The current version of this package does not implement the rsyncnetwork protocol and uses a delta format slightly more efficient thanand incompatible with rsync 2.4.6.%package develSummary: Headers and development libraries for librsyncGroup: Development/LibrariesRequires: %{name} = %{version}%description devellibrsync implements the "rsync" algorithm, which allows remotedifferencing of binary files.  librsync computes a delta relative to afile's checksum, so the two files need not both be present to generatea delta.This library was previously known as libhsync up to version 0.9.0.The current version of this package does not implement the rsyncnetwork protocol and uses a delta format slightly more efficient thanand incompatible with rsync 2.4.6.This package contains header files necessary for developing programsbased on librsync.%prep %setup# The next line is only needed if there are any non-upstream patches.  In# this distribution there are none.#%patch %buildlibtoolize --forceaclocalautoheaderautomake Makefile popt/Makefileautoconf./configure --prefix=/usr --mandir=/usr/share/man/make CFLAGS="$RPM_OPT_FLAGS"%installrm -rf $RPM_BUILD_ROOTmake  DESTDIR=$RPM_BUILD_ROOT install%cleanrm -rf $RPM_BUILD_ROOT%post -p /sbin/ldconfig%postun -p /sbin/ldconfig%files%defattr(-,root,root)%doc AUTHORS COPYING COPYING NEWS README%{_libdir}/librsync.la%{_bindir}/rdiff%{_mandir}/man3/librsync.3.gz%{_mandir}/man1/rdiff.1.gz%files devel%defattr(-,root,root)%{_prefix}/include/*%{_libdir}/librsync.a%changelog

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?