LCFG-Build-Tools
view release on metacpan or search on metacpan
LCFG-Build-Tools.spec view on Meta::CPAN
Name: perl-LCFG-Build-Tools
Version: 0.9.30
Release: 1
Summary: LCFG build system tools
License: gpl
Group: Development/Libraries
Source0: LCFG-Build-Tools-0.9.30.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 5.16.0
BuildRequires: perl(LCFG::Build::PkgSpec) >= 0.2.6
BuildRequires: perl(LCFG::Build::VCS) >= 0.3.7
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Pluggable)
BuildRequires: perl(File::HomeDir) >= 0.58
BuildRequires: perl(YAML::Syck) >= 0.98
BuildRequires: perl(File::Find::Rule), perl(File::pushd)
BuildRequires: perl(Template) >= 2.14
BuildRequires: perl(Archive::Tar), perl(IO::Zlib)
BuildRequires: perl(MooseX::App::Cmd) >= 0.06
BuildRequires: perl(UNIVERSAL::require)
BuildRequires: perl(Test::Differences), perl(Test::More), perl(Test::Exception)
BuildRequires: perl(DateTime), perl(Readonly)
Requires: perl(LCFG::Build::PkgSpec) >= 0.2.6
Requires: perl(LCFG::Build::VCS) >= 0.3.7
Requires: perl(YAML::Syck) >= 0.98
Requires: perl(File::Find::Rule)
Requires: perl(Template) >= 2.14
Requires: perl(Archive::Tar), perl(IO::Zlib)
Requires: perl(MooseX::App::Cmd) >= 0.06
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
LCFG::Build::Tools is a suite of tools designed to handle the
releasing of LCFG software projects and the creation of
packages. Support is available for developing projects within a
version-control systems (currently either CVS or None). By default a
source tar file is generated along with a specfile for building binary
RPMs. Support is provided for building binary RPMs directly. Work is
under way to also fully support the generation of MacOSX packages.
Although this software is designed for managing LCFG projects there is
nothing that requires the software be for LCFG. All the tools included
are designed to more widely applicable.
This suite has been intentionally designed to be easy to extend to
support new version-control systems (e.g. subversion, git, etc) and
new package formats (e.g. for Debian). It has also been designed to
ensure that it is easy to extend with additional command modules. For
further details see the online documentation at
http://www.lcfg.org/doc/buildtools/
%prep
%setup -q -n LCFG-Build-Tools-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes
%doc %{_mandir}/man1/*
%doc %{_mandir}/man3/*
%{perl_vendorlib}/LCFG/Build/Tool/*.pm
%{perl_vendorlib}/LCFG/Build/Tool.pm
%{perl_vendorlib}/LCFG/Build/Tools.pm
%{perl_vendorlib}/LCFG/Build/Utils.pm
( run in 0.597 second using v1.01-cache-2.11-cpan-39bf76dae61 )