Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
btsync
> btsync.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File btsync.spec of Package btsync (Revision 4)
Currently displaying revision
4
,
show latest
Name: btsync Version: 1.1.48 Release: 1 Summary: Automatically sync files via secure, distributed technology Url: http://labs.bittorrent.com/experiments/sync.html Group: System License: see LICENSE.TXT %ifarch x86_64 Source0: http://btsync.s3-website-us-east-1.amazonaws.com/btsync_x64.tar.gz %else Source0: http://btsync.s3-website-us-east-1.amazonaws.com/btsync_i386.tar.gz %endif Source1: %{name}.suse.init Source2: %{name}.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Sync unlimited files between your own devices, or share a folder with friends and family to automatically sync anything. File transfers are encrypted. Your information is never stored on a server in the cloud and your data is protected by private keys. BitTorrent Sync is specifically designed to handle large files, so feel free to sync original, high quality, uncompressed files. %prep %setup -c -n %{name}-%{version} %build %install %__install -D -m0755 %{name} %{buildroot}%{_sbindir}/%{name} %if 0%{?suse_version} %__install -D -m0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{name} %__install -D -m0644 %{S:2} %{buildroot}/var/adm/fillup-templates/sysconfig.%{name} %else ## fixme - non suse init script %__install -D -m0644 %{S:2} %{buildroot}%{_sysconfdir}/sysconfig/%{name} %endif cd %{buildroot}%{_sbindir} ln -s ../../%{_sysconfdir}/init.d/%{name} rc%{name} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc LICENSE.TXT %{_sbindir}/%{name} %{_sbindir}/rc%{name} %if 0%{?suse_version} /var/adm/fillup-templates/sysconfig.%{name} %else %{_sysconfdir}/sysconfig/%{name} %endif %post %if 0%{?suse_version} %fillup_and_insserv %endif %changelog