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
Name: btsync Version: 1.2.82 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-%{version}_glibc23.tar.gz %else Source0: http://btsync.s3-website-us-east-1.amazonaws.com/btsync_i386-%{version}_glibc23.tar.gz %endif Source1: %{name}.suse.init Source2: %{name}.sysconfig Source3: %{name}.conf 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} %__install -D -m0644 %{S:3} %{buildroot}%{_sysconfdir}/%{name}/btsync.conf %__install -d -m0755 %{buildroot}/var/run/%{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} %dir %{_sysconfdir}/%{name} %config %{_sysconfdir}/%{name}/%{name}.conf %dir /var/run/%{name} %if 0%{?suse_version} %{_sysconfdir}/init.d/%{name} /var/adm/fillup-templates/sysconfig.%{name} %else %{_sysconfdir}/sysconfig/%{name} %endif %post %if 0%{?suse_version} %fillup_and_insserv %endif %changelog