File monotone.spec of Package monotone

# norootforbuild

Summary: 	Distributed version control system
Name: 		monotone
Version:        0.41
Release: 	0
License:	GPL
Group: 		Development/Tools
URL: 	        http://www.venge.net/monotone
Source0: 	%{name}-%{version}.tar.bz2
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 

%build
%configure
make 

%install
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}/mtnopt
%{_bindir}/monotone
%{_infodir}/*.info*.gz
%{_datadir}/doc/monotone/*
%{_datadir}/locale/*/LC_MESSAGES/monotone.mo
%dir %{_datadir}/doc/monotone
%changelog 

openSUSE Build Service is sponsored by