Browse Source

new: zsync

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3761 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
e56d9d7e70
1 changed files with 50 additions and 0 deletions
  1. 50 0
      z/zsync/zsync-vl.spec

+ 50 - 0
z/zsync/zsync-vl.spec

@@ -0,0 +1,50 @@
+%define ver 0.6.2
+%define rel 1
+
+Summary: client-side implementation of the rsync algorithm
+Summary: rsync アルゴリズムのクライアントサイドの実装
+Name: zsync
+Version: %{ver}
+Release: %{rel}%{?_dist_release}
+License: Artistic License 2
+Group: Applications/Internet
+URL: http://zsync.moria.org.uk/
+Source0: http://zsync.moria.org.uk/download/%{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+
+%description
+zsync is a file transfer program. It allows you to download a file from a 
+remote server, where you have a copy of an older version of the file on 
+your computer already. zsync downloads only the new parts of the file. 
+It uses the same algorithm as rsync.
+
+%prep
+%setup -q
+
+%build
+%configure
+make
+
+%install
+%__rm -rf %{buildroot}
+%makeinstall
+
+%__rm -f %{buildroot}%{_docdir}%{_name}/COPYING
+%__rm -f %{buildroot}%{_docdir}%{_name}/README
+
+%clean
+%__rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING NEWS README
+%{_bindir}/zsync
+%{_bindir}/zsyncmake
+%{_mandir}/man1/zsync.1*
+%{_mandir}/man1/zsyncmake.1*
+
+%changelog
+* Sun May  1 2011 IWAI, Masaharu <iwai@alib.jp> 0.6.2-1
+- Initial build.
+
+