File monotone.spec of Package monotone
# norootforbuild
Summary: Distributed version control system
Name: monotone
Version: 0.29
Release: 0.29
Packager: Bernhard Walle <bernhard@links2linux.de>
License: GPL
Group: Development/Tools
URL: http://www.venge.net/monotone
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Vendor: Packman
Requires: boost >= 1.32.0, zlib
BuildRequires: boost-devel >= 1.32.0, texinfo, zlib-devel gcc-c++
%description
monotone is a free, distributed version control system. It provides
fully disconnected operation, manages complete tree versions, keeps
its state in a local transactional database, supports overlapping
branches and extensible metadata, exchanges work over plain network
protocols, performs history-sensitive merging, and delegates trust
functions to client-side RSA certificates.
%prep
%setup -q
patch -p1 < patch
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
cd $RPM_BUILD_ROOT/%{_bindir}
ln -s mtn monotone
cd -
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ -x /sbin/install-info ] ; then
/sbin/install-info --info-dir=%{_infodir} \
%{_infodir}/monotone.info.gz
fi
%preun
if [ -x /sbin/install-info ] ; then
/sbin/install-info --info-dir=%{_infodir} --remove monotone
fi
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README README.changesets UPGRADE contrib
%{_bindir}/mtn
%{_bindir}/monotone
%{_infodir}/*.info*.gz
%{_datadir}/doc/monotone/*
%{_datadir}/locale/*/LC_MESSAGES/monotone.mo
%changelog
* Thu Nov 08 2007 - Michael Wolf <maw@novell.com>
- new upstream version
* Fri Jan 05 2007 - Bernhard Walle <bwalle@suse.de>
- new upstream version
* Fri Mar 31 2006 - Bernhard Walle <bernhard@links2linux.de>
- new upstream version
* Sat Feb 11 2006 - Bernhard Walle <bernhard@links2linux.de>
- initial packman release