Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 853a44ce3cbb172f57ba6438abeea4c0 > files > 8

svl-0.29-3mdk.src.rpm

%define realname	SVL

Name:		svl
Version:	0.29
Release:	%mkrel 3
License:	GPL or Artistic
Group:		Development/Perl
Summary:	Decentralized version control system using Zeroconf
Source0:    http://search.cpan.org/CPAN/authors/id/A/AB/ABERGMAN/%{realname}-%{version}.tar.bz2
Patch0:     svl-0.29-makefile.diff.bz2 
Patch1:     svl-0.29-hostip_fix.diff.bz2
Patch2:     svl-0.29-better_help.diff.bz2
Patch3:     svl-0.29-help.diff.bz2
Patch4:     svl-0.29-svlserve_hostip_fix.diff.bz2 
Patch5:     svl-0.29-svlserve_beacon_detection_fix.diff.bz2
Url:		http://search.cpan.org/~abergman/SVL/
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	perl-SVK-Simple
BuildRequires: perl-App-CLI 
BuildRequires: perl-Catalyst 
BuildRequires: perl-Class-Accessor-Chained
BuildRequires: perl-Net-OpenDHT 
BuildRequires: perl-Net-Rendezvous 
BuildRequires: perl-Net-Rendezvous-Publish
BuildRequires: perl-Sys-HostIP 
BuildRequires: perl-Text-Tags
BuildArch:	noarch

%description
svl is a p2p versionning system built upon svk and Bonjour. It allows to
quickly organize a hacking/coding session without having to first deploy a
central cvs server or something like this.

%package -n perl-SVL
Summary:	Perl modules used by SVL
Group:		Development/Perl
# not detected by find-requires ( yet )
Requires:   perl-App-CLI
Requires:   perl-Text-Tags
Requires:   perl-Class-Accessor-Lvalue
Requires:   perl-Module-Pluggable
Requires:   perl-Class-Accessor-Chained
Requires:   perl-Net-OpenDHT
Requires:   subversion
%description -n perl-SVL
This package provides the base modules needed by svl.

%prep
%setup -q -n %{realname}-%{version}
%patch0 -p0 
%patch1 -p0
%patch2 -p0
%patch3 -p0
%patch4 -p0
%patch5 -p0
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
make test

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std
# avoid conflict
mv -f $RPM_BUILD_ROOT/%_bindir/client $RPM_BUILD_ROOT/%_bindir/%{name}_client
%clean
rm -rf $RPM_BUILD_ROOT

%files -n perl-SVL
%defattr(-,root,root)
%doc  TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*

%files
%defattr(-,root,root)
%doc txt/*
%{_bindir}/*

%changelog

* Sat Sep 24 2005 Michael Scherer <misc@mandriva.org> 0.29-3mdk
- add a missing not detected Requires on perl-Net-OpenDHT
- patch 4 : same as patch 1
- patch 5 : fix the detection of Beacon.pm

* Sat Sep 24 2005 Michael Scherer <misc@mandriva.org> 0.29-2mdk
- fix some bugs
  - use ip insted of hostip for Sys::Hostip (patch 1)
  - better help message (patch 2 and 3)

* Fri Sep 23 2005 Michael Scherer <misc@mandriva.org> 0.29-1mdk 
- First mandriva package