3 # - make calls missing etags
4 Summary: Program for bidirectional synchronization
5 Summary(pl.UTF-8): Program do synchronizacji dwukierunkowej
11 Source0: http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/%{name}-%{version}.tar.gz
12 # Source0-md5: 42caf869f40440ed0e75eef07a605b2e
14 URL: http://www.cis.upenn.edu/~bcpierce/unison/
16 BuildRequires: rpmbuild(macros) >= 1.228
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Unison is a file-synchronization tool for Unix and Windows. It allows
21 two replicas of a collection of files and directories to be stored on
22 different hosts (or different disks on the same host), modified
23 separately, and then brought up to date by propagating the changes in
24 each replica to the other.
26 %description -l pl.UTF-8
27 Unison to narzędzie do synchronizacji plików dla uniksów i Windows.
28 Pozwala na przechowywanie dwóch kopii zbioru plików i katalogów na
29 różnych maszynach (lub różnych dyskach tej samej maszyny), oddzielne
30 modyfikowanie ich, a następnie uaktualnianie poprzez propagowanie
31 zmian z każdej z kopii do drugiej.
34 Summary: Init script for system-wide unison service
35 Summary(pl.UTF-8): Skrypt init dla ogólnosystemowej usługi unison
37 Requires(post,preun): /sbin/chkconfig
38 Requires: %{name} = %{version}-%{release}
42 Init script for system-wide unison service. Don't run this unless you
43 know the security risks involved.
45 %description init -l pl.UTF-8
46 Skrypt init dla ogólnosystemowej usługi unison. Nie należy go
47 uruchamiać nie zdając sobie sprawy ze związanych z tym zagrożeń
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/rc.d/init.d}
60 install -p unison $RPM_BUILD_ROOT%{_bindir}
61 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
64 rm -rf $RPM_BUILD_ROOT
67 /sbin/chkconfig --add %{name}
68 %service %{name} restart
71 if [ "$1" = "0" ]; then
72 %service -q %{name} stop
73 /sbin/chkconfig --del %{name}
77 %defattr(644,root,root,755)
78 %doc README BUGS.txt CONTRIB NEWS ROADMAP.txt TODO.txt
79 %attr(755,root,root) %{_bindir}/%{name}
82 %defattr(644,root,root,755)
83 %attr(754,root,root) /etc/rc.d/init.d/%{name}