Name: perl-VCS-Lite
Summary: Minimal version control system
Version: 0.12
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/VCS-Lite/
Description: This module provides the functions normally associated with a version control
system, but without needing or implementing a version control system.
Applications include wikis, document management systems and configuration
management.
No build yet for CentOS 7 x86_64.
No build yet for CentOS 6 x86_64.
The spec file used by the build system currently has the following contents:
# $Id$
# Authority: shuff
# Upstream: Barbie <barbie$cpan,org>
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
%define real_name VCS-Lite
%define perl_prefix %{buildroot}%{_prefix}
Summary: Minimal version control system
Name: perl-VCS-Lite
Version: 0.12
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/VCS-Lite/
Source: http://search.cpan.org/CPAN/authors/id/B/BA/BARBIE/VCS-Lite-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(Algorithm::Diff) >= 1.13
BuildRequires: perl(Carp)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Test::More)
BuildRequires: rpm-macros-rpmforge
Requires: perl
Requires: perl(Algorithm::Diff) >= 1.13
Requires: perl(Carp)
Requires: perl(Getopt::Long)
### remove autoreq Perl dependencies
%filter_from_requires /^perl.*/d
%filter_setup
%description
This module provides the functions normally associated with a version control
system, but without needing or implementing a version control system.
Applications include wikis, document management systems and configuration
management.
%prep
%setup -n %{real_name}-%{version}
# fix problem with modules generated by older versions of Dist::Zilla
#%{?el5:%{__perl} -pi -e '/.*ExtUtils::MakeMaker.*6\.31.*/ && s/6\.3\d/6.30/' Makefile.PL}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{perl_prefix}"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
#%{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch}
# fix for stupid strip issue
#%{__chmod} -R u+w %{buildroot}/*
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc Changes META.yml README
%doc %{_mandir}/man?/*
%{_bindir}/*
%{perl_vendorlib}/VCS/Lite.pm
%{perl_vendorlib}/VCS/Lite/*
#%exclude %{perl_archlib}/perllocal.pod
%exclude %{perl_vendorarch}/auto/*/*/.packlist
%changelog
* Tue Sep 08 2015 Dries Verachtert <dries.verachtert@dries.eu> - 0.12-1
- Updated to release 0.12.
* Wed Feb 22 2012 Steve Huff <shuff@vecna.org> - 0.09-1
- Initial package.