# NOTE: # - bundled sqlite has local modifications to support large db # - bundled lua is stripped, it doesn't contain some features # that create security holes in monotone environment # TODO: # - subpackage with init-scripts # - database format is changing - migrate and regenerate options has to be run. Summary: A free distributed version control system Summary(pl.UTF-8): Wolnodostępny rozproszony system kontroli wersji Name: monotone Version: 0.42 Release: 1 License: GPL v2 Group: Development/Version Control Source0: http://monotone.ca/downloads/%{version}/%{name}-%{version}.tar.gz # Source0-md5: c8e916d674b6608369d9f447700a8830 URL: http://www.venge.net/monotone/ BuildRequires: autoconf BuildRequires: automake BuildRequires: boost-devel >= 1.35.0 BuildRequires: libidn-devel BuildRequires: popt-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description monotone is a free distributed version control system. It provides a simple, single-file transactional version store, with fully disconnected operation and an efficient peer-to-peer synchronization protocol. It understands history-sensitive merging, lightweight branches, integrated code review and 3rd party testing. It uses cryptographic version naming and client-side RSA certificates. It has good internationalization support, has no external dependencies, runs on Linux, Solaris, MacOS X, and Windows, and is licensed under the GNU GPL. %description -l pl.UTF-8 monotone to wolnodostępny, rozproszony system kontroli wersji. Dostarcza proste, jednoplikowe, transakcyjne przechowywanie wersji, z w pełni bezpołączeniową pracą i wydajnym protokołem synchronizacji peer-to-peer. Obsługuje łączenie z uwzględnieniem historii, lekkie odgałęzienia, zintegrowany podgląd kodu i testowanie przez osoby trzecie. Używa kryptograficznego nazywania wersji i certyfikatów RSA po stronie klienta. Ma dobre umiędzynarodowienie, nie ma zewnętrznych zależności, działa na Linuksie, Solarisie, MacOS-ie X oraz Windows i jest licencjonowany na GNU GPL. %prep %setup -q %build %{__aclocal} -I m4 %{__autoconf} %{__automake} CPPFLAGS="-I%{_includedir}/lua50"; export CPPFLAGS %configure \ --enable-ipv6 %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} mv $RPM_BUILD_ROOT%{_docdir}/%{name}/monotone.html \ $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/postshell -/usr/sbin/fix-info-dir -c %{_infodir} %postun -p /sbin/postshell -/usr/sbin/fix-info-dir -c %{_infodir} %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS NEWS UPGRADE monotone.html %attr(755,root,root) %{_bindir}/* %{_infodir}/monotone*