]> git.pld-linux.org Git - packages/unison.git/blame - unison.spec
- updated to 2.40.102
[packages/unison.git] / unison.spec
CommitLineData
0a596378
ER
1# TODO
2# - gtk ui
3# - make calls missing etags
2adacf0b 4Summary: Program for bidirectional synchronization
56eb0c1b 5Summary(pl.UTF-8): Program do synchronizacji dwukierunkowej
2adacf0b 6Name: unison
5cd1d72b 7Version: 2.40.102
e9450c63 8Release: 1
2adacf0b 9License: GPL
10Group: Daemons
76e23d43 11Source0: http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/%{name}-%{version}.tar.gz
5cd1d72b 12# Source0-md5: 42caf869f40440ed0e75eef07a605b2e
d492035c 13Source1: %{name}.init
2adacf0b 14URL: http://www.cis.upenn.edu/~bcpierce/unison/
9453fae2 15BuildRequires: ocaml
0a596378 16BuildRequires: rpmbuild(macros) >= 1.228
2adacf0b 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
2adacf0b 19%description
9121cce2
JB
20Unison is a file-synchronization tool for Unix and Windows. It allows
21two replicas of a collection of files and directories to be stored on
22different hosts (or different disks on the same host), modified
23separately, and then brought up to date by propagating the changes in
24each replica to the other.
25
cdd1c2c2
JR
26%description -l pl.UTF-8
27Unison to narzędzie do synchronizacji plików dla uniksów i Windows.
28Pozwala na przechowywanie dwóch kopii zbioru plików i katalogów na
0a596378
ER
29różnych maszynach (lub różnych dyskach tej samej maszyny), oddzielne
30modyfikowanie ich, a następnie uaktualnianie poprzez propagowanie
31zmian z każdej z kopii do drugiej.
2adacf0b 32
d492035c 33%package init
610a19ae 34Summary: Init script for system-wide unison service
56eb0c1b 35Summary(pl.UTF-8): Skrypt init dla ogólnosystemowej usługi unison
610a19ae 36Group: Daemons
0a596378 37Requires(post,preun): /sbin/chkconfig
610a19ae 38Requires: %{name} = %{version}-%{release}
0a596378 39Requires: rc-scripts
d492035c 40
41%description init
610a19ae
JB
42Init script for system-wide unison service. Don't run this unless you
43know the security risks involved.
44
cdd1c2c2
JR
45%description init -l pl.UTF-8
46Skrypt init dla ogólnosystemowej usługi unison. Nie należy go
47uruchamiać nie zdając sobie sprawy ze związanych z tym zagrożeń
48bezpieczeństwa.
d492035c 49
2adacf0b 50%prep
51%setup -q
52
53%build
0a596378 54%{__make} -j1 \
9121cce2 55 UISTYLE=text
2adacf0b 56
57%install
58rm -rf $RPM_BUILD_ROOT
6db5d200 59install -d $RPM_BUILD_ROOT{%{_bindir},/etc/rc.d/init.d}
0a596378
ER
60install -p unison $RPM_BUILD_ROOT%{_bindir}
61install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
2adacf0b 62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
0a596378
ER
66%post init
67/sbin/chkconfig --add %{name}
68%service %{name} restart
69
70%preun init
71if [ "$1" = "0" ]; then
72 %service -q %{name} stop
73 /sbin/chkconfig --del %{name}
74fi
75
2adacf0b 76%files
77%defattr(644,root,root,755)
e722fecf 78%doc README BUGS.txt CONTRIB NEWS ROADMAP.txt TODO.txt
0a596378 79%attr(755,root,root) %{_bindir}/%{name}
d492035c 80
81%files init
610a19ae 82%defattr(644,root,root,755)
6db5d200 83%attr(754,root,root) /etc/rc.d/init.d/%{name}
This page took 0.057591 seconds and 4 git commands to generate.