]>
Commit | Line | Data |
---|---|---|
800de82f AM |
1 | # NOTE: |
2 | # - bundled sqlite has local modifications to support large db | |
3 | # - bundled lua is stripped, it doesn't contain some features | |
c6280526 | 4 | # that create security holes in monotone environment |
51e0f1ef PG |
5 | # TODO: |
6 | # - subpackage with init-scripts | |
7 | # - database format is changing - migrate and regenerate options has to be run. | |
67b802ce | 8 | Summary: A free distributed version control system |
742473dd | 9 | Summary(pl.UTF-8): Wolnodostępny rozproszony system kontroli wersji |
67b802ce | 10 | Name: monotone |
b5dec1f9 | 11 | Version: 0.42 |
b17bae14 | 12 | Release: 1 |
67b802ce AM |
13 | License: GPL v2 |
14 | Group: Development/Version Control | |
f5bd3600 | 15 | Source0: http://monotone.ca/downloads/%{version}/%{name}-%{version}.tar.gz |
b5dec1f9 | 16 | # Source0-md5: c8e916d674b6608369d9f447700a8830 |
67b802ce | 17 | URL: http://www.venge.net/monotone/ |
3b247db7 JB |
18 | BuildRequires: autoconf |
19 | BuildRequires: automake | |
04e41989 | 20 | BuildRequires: boost-devel >= 1.35.0 |
d0faadcb | 21 | BuildRequires: libidn-devel |
d0faadcb | 22 | BuildRequires: popt-devel |
67b802ce AM |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
97e5ba19 | 26 | monotone is a free distributed version control system. It provides a |
67b802ce AM |
27 | simple, single-file transactional version store, with fully |
28 | disconnected operation and an efficient peer-to-peer synchronization | |
97e5ba19 JB |
29 | protocol. It understands history-sensitive merging, lightweight |
30 | branches, integrated code review and 3rd party testing. It uses | |
31 | cryptographic version naming and client-side RSA certificates. It has | |
67b802ce | 32 | good internationalization support, has no external dependencies, runs |
97e5ba19 | 33 | on Linux, Solaris, MacOS X, and Windows, and is licensed under the GNU |
67b802ce AM |
34 | GPL. |
35 | ||
00ce32b9 JR |
36 | %description -l pl.UTF-8 |
37 | monotone to wolnodostępny, rozproszony system kontroli wersji. | |
97e5ba19 | 38 | Dostarcza proste, jednoplikowe, transakcyjne przechowywanie wersji, z |
00ce32b9 JR |
39 | w pełni bezpołączeniową pracą i wydajnym protokołem synchronizacji |
40 | peer-to-peer. Obsługuje łączenie z uwzględnieniem historii, lekkie | |
41 | odgałęzienia, zintegrowany podgląd kodu i testowanie przez osoby | |
42 | trzecie. Używa kryptograficznego nazywania wersji i certyfikatów RSA | |
43 | po stronie klienta. Ma dobre umiędzynarodowienie, nie ma zewnętrznych | |
44 | zależności, działa na Linuksie, Solarisie, MacOS-ie X oraz Windows i | |
97e5ba19 JB |
45 | jest licencjonowany na GNU GPL. |
46 | ||
67b802ce AM |
47 | %prep |
48 | %setup -q | |
49 | ||
50 | %build | |
d6b5df2c JK |
51 | %{__aclocal} -I m4 |
52 | %{__autoconf} | |
53 | %{__automake} | |
47e58684 AM |
54 | CPPFLAGS="-I%{_includedir}/lua50"; export CPPFLAGS |
55 | %configure \ | |
800de82f | 56 | --enable-ipv6 |
67b802ce AM |
57 | %{__make} |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
feb2e6bf | 65 | %find_lang %{name} |
74a61e2a JB |
66 | mv $RPM_BUILD_ROOT%{_docdir}/%{name}/monotone.html \ |
67 | $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
feb2e6bf | 68 | |
67b802ce AM |
69 | %clean |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
eabde164 ER |
72 | %post -p /sbin/postshell |
73 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
d0faadcb | 74 | |
eabde164 ER |
75 | %postun -p /sbin/postshell |
76 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
d0faadcb | 77 | |
feb2e6bf | 78 | %files -f %{name}.lang |
67b802ce | 79 | %defattr(644,root,root,755) |
f5bd3600 | 80 | %doc AUTHORS NEWS UPGRADE monotone.html |
67b802ce | 81 | %attr(755,root,root) %{_bindir}/* |
d0faadcb | 82 | %{_infodir}/monotone* |