generated from smedev/Template-for-SMEServer-Core-upstream
* Wed Sep 25 2013 Wei-Lun Chao <bluebat@member.fsf.org> - 0.6.2
- Rebuilt for Fedora
This commit is contained in:
parent
c2c26e336a
commit
ab1c4c05a7
BIN
zsync-0.6.2.tar.bz2
Normal file
BIN
zsync-0.6.2.tar.bz2
Normal file
Binary file not shown.
81
zsync.spec
81
zsync.spec
@ -1,55 +1,48 @@
|
||||
%define name zsync
|
||||
%define version 1.0
|
||||
%define release 1
|
||||
Summary: This is what zsync does.
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
License: GNU GPL version 2
|
||||
Group: SMEserver/addon
|
||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||
Prefix: %{_prefix}
|
||||
BuildArchitectures: noarch
|
||||
BuildRequires: smeserver-devtools
|
||||
Requires: smeserver-release >= 11.0
|
||||
AutoReqProv: no
|
||||
Name: zsync
|
||||
Summary: RSYNC over HTTP
|
||||
URL: https://zsync.moria.org.uk/
|
||||
Group: Networking
|
||||
License: Artistic
|
||||
Version: 0.6.2
|
||||
Release: 4.1
|
||||
Source0: https://zsync.moria.org.uk/download/zsync-%{version}.tar.bz2
|
||||
BuildRequires: autoconf automake
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
|
||||
%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.
|
||||
However, where rsync is designed for synchronising data from one computer to another within an organisation, zsync is designed for file distribution, with one file on a server to be distributed to thousands of downloaders. zsync requires no special server software just a web server to host the files and imposes no extra load on the server, making it ideal for large scale file distribution.
|
||||
|
||||
%changelog
|
||||
* Day MMMM DD YYYY <brianr@koozali.org> 1.0-1.sme
|
||||
- Initial code - create RPM [SME:99999]
|
||||
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.
|
||||
However, where rsync is designed for synchronising data from one
|
||||
computer to another within an organisation, zsync is designed for
|
||||
file distribution, with one file on a server to be distributed to
|
||||
thousands of downloaders. zsync requires no special server software
|
||||
just a web server to host the files and imposes no extra load on the
|
||||
server, making it ideal for large scale file distribution.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
autoreconf -ifv
|
||||
#endian="-DLITTLE_ENDIAN=0 -DBIG_ENDIAN=1 -DBYTE_ORDER=0"
|
||||
CPPFLAGS="%{optflags} $endian" \
|
||||
LDFLAGS="%{optflags}" \
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--mandir=%{_mandir}
|
||||
%{__make} %{_smp_mflags -O}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||
rm -f %{name}-%{version}-filelist
|
||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||||
> %{name}-%{version}-filelist
|
||||
#echo "%doc COPYING" >> %{name}-%{version}-filelist
|
||||
#--dir <dir> 'attr(755,user,grp)' \
|
||||
#--file <file> 'attr(755,root,root)' \
|
||||
%{__make} %{_smp_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
||||
|
||||
%clean
|
||||
cd ..
|
||||
rm -rf %{name}-%{version}
|
||||
%files
|
||||
%{_datadir}/doc/%{name}
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%pre
|
||||
|
||||
%preun
|
||||
|
||||
%post
|
||||
|
||||
%postun
|
||||
#uninstall
|
||||
%files -f %{name}-%{version}-filelist
|
||||
%defattr(-,root,root)
|
||||
%changelog
|
||||
* Wed Sep 25 2013 Wei-Lun Chao <bluebat@member.fsf.org> - 0.6.2
|
||||
- Rebuilt for Fedora
|
||||
|
Loading…
x
Reference in New Issue
Block a user