LCFG-Build-PkgSpec

 view release on metacpan or  search on metacpan

LCFG-Build-PkgSpec.spec  view on Meta::CPAN

Name:           perl-LCFG-Build-PkgSpec
Version:        0.3.0
Release:        1
Summary:        Object-oriented interface to LCFG build metadata
License:        GPLv2
Group:          Development/Libraries
Source0:        LCFG-Build-PkgSpec-0.3.0.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl >= 1:5.6.1
BuildRequires:  perl(Data::Structure::Util) >= 0.12
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Moose) >= 0.98
BuildRequires:  perl(Test::Differences)
BuildRequires:  perl(Test::Exception)
BuildRequires:  perl(YAML::Syck) >= 0.98
BuildRequires:  perl(DateTime)
BuildRequires:  perl(Email::Address), perl(Email::Valid)
Requires:       perl(Data::Structure::Util) >= 0.12
Requires:       perl(Moose) >= 0.98
Requires:       perl(YAML::Syck) >= 0.98
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This class provides an object-oriented interface to the LCFG build
tools metadata file. All simple fields are available through attribute
accessors. Specific methods are also provided for querying and
modifying the more complex data types (e.g. lists and hashes).

This class has methods for carrying out specific procedures related to
tagging releases with the LCFG build tools. It also has methods for
handling the old format LCFG build configuration files.

More information on the LCFG build tools is available from the website
http://www.lcfg.org/doc/buildtools/

%prep
%setup -q -n LCFG-Build-PkgSpec-%{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 README
/usr/bin/lcfg-cfg2meta
/usr/bin/lcfg-pkgcfg
%{perl_vendorlib}/LCFG/Build/PkgSpec.pm
%{_mandir}/man1/*
%{_mandir}/man3/*

%changelog
* Tue Jul 11 2023 SVN: new release
- Release: 0.3.0

* Tue Jul 11 2023 08:57  squinney@INF.ED.AC.UK
- bin/lcfg-pkgcfg.in, lcfg.yml, lib/LCFG/Build/PkgSpec.pm.in: Improved
  support for adding to the platforms list

LCFG-Build-PkgSpec.spec  view on Meta::CPAN

- Changes, lcfg.yml: LCFG-Build-PkgSpec release: 0.0.31

* Mon Feb 14 2011 16:45  squinney@INF.ED.AC.UK
- Build.PL.in, META.yml.in, Makefile.PL, lib/LCFG/Build/PkgSpec.pm.in,
  t/06_pkgspec_cfg.t: Switched to using Native Traits so we can drop the
  dependency on the deprecated AttributeHelpers module. Switched the email
  address list handling for the authors field to Email::Address &
  Email::Valid (new deps)

* Mon Feb 14 2011 16:41  squinney@INF.ED.AC.UK
- Build.PL.in, MANIFEST, META.yml.in, Makefile.PL: Updated dependency list,
  meta-data and build scripts

* Mon Feb 14 2011 15:55  squinney@INF.ED.AC.UK
- t/10_pkgspec_date.t: fixed date spec tests so they always work

* Fri Nov 19 2010 10:43  squinney@INF.ED.AC.UK
- Changes, lcfg.yml: LCFG-Build-PkgSpec release: 0.0.30

* Fri Nov 19 2010 10:43  squinney@INF.ED.AC.UK
- lcfg.yml, lib/LCFG/Build/PkgSpec.pm.in, t/10_pkgspec_date.t: Fixed the
  date formatting so that it is DD/MM/YY and not the American style of
  MM/DD/YY. Also added tests so this does not happen again

* Fri Mar 13 2009 15:14  squinney@INF.ED.AC.UK
- Changes, lcfg.yml: LCFG-Build-PkgSpec release: 0.0.29

* Fri Mar 13 2009 14:53  squinney@INF.ED.AC.UK
- Build.PL.in, LCFG-Build-PkgSpec.spec, META.yml.in, Makefile.PL, README,
  lib/LCFG/Build/PkgSpec.pm.in: Switched from Date::Format to DateTime

* Wed Mar 11 2009 13:25  squinney@INF.ED.AC.UK
- bin/lcfg-cfg2meta.in, bin/lcfg-pkgcfg.in, lib/LCFG/Build/PkgSpec.pm.in:
  Set svn:keywords on the LCFG::Build::PkgSpec Perl modules and scripts

* Mon Mar 09 2009 16:43  squinney
- lcfg.yml: Removed hardwired version-control type from lcfg.yml to allow
  future transfer to subversion

* Mon Mar 09 2009 12:44  squinney
- Changes, lcfg.yml: Release: 0.0.28

* Mon Mar 09 2009 12:44  squinney
- lcfg.yml, t/06_pkgspec_cfg.t: Updated tests in 06_pkgspec_cfg.t to
  reflect the fact that we no longer hardwire the version-control system
  type

* Mon Mar 09 2009 12:42  squinney
- Changes, lcfg.yml: Release: 0.0.27

* Mon Mar 09 2009 12:42  squinney
- lib/LCFG/Build/PkgSpec.pm.in: lib/LCFG/Build/PkgSpec.pm.in
  (new_from_cfgmk): No longer hardwire the version-control system type to
  be CVS when converting config.mk files

* Wed Nov 12 2008 14:26  squinney
- Changes, lcfg.yml: Release: 0.0.26

* Wed Nov 12 2008 14:26  squinney
- t/09_clone.t: Switched to using is_deeply() in 09_clone.t test. The
  eq_or_diff() method in Test::Differences does not handle comparing an
  integer with a string (e.g. 1 is considered to not equal '1'. See
  http://rt.cpan.org/Public/Bug/Display.html?id=3029

* Wed Nov 12 2008 14:24  squinney
- lib/LCFG/Build/PkgSpec.pm.in: The schema is now explicitly an integer.

* Wed Oct 29 2008 14:24  squinney
- Changes, lcfg.yml: Release: 0.0.25

* Wed Oct 29 2008 14:24  squinney
- lib/LCFG/Build/PkgSpec.pm.in: Fixed a small problem with parsing the NAME
  field in a config.mk file

* Fri Sep 12 2008 14:28  squinney
- Changes, lcfg.yml: Release: 0.0.24

* Fri Sep 12 2008 14:28  squinney
- bin/lcfg-cfg2meta.in, bin/lcfg-pkgcfg.in: Switched file path handling in
  lcfg-cfg2meta and lcfg-pkgcfg to using File::Spec

* Wed Sep 10 2008 13:59  squinney
- bin/lcfg-pkgcfg.in, lib/LCFG/Build/PkgSpec.pm.in: Small documentation
  tweaks to get links to other modules automatically generated

* Tue Sep 09 2008 14:30  squinney
- Changes, lcfg.yml: Release: 0.0.23

* Tue Sep 09 2008 14:29  squinney
- Build.PL.in, LCFG-Build-PkgSpec.spec, META.yml, META.yml.in, Makefile.PL,
  README, bin/lcfg-cfg2meta.in, bin/lcfg-pkgcfg.in, lcfg.yml,
  lib/LCFG/Build/PkgSpec.pm.in, t/04_pkgspec_badattr.t: Support fields in
  config.mk which use the ling-continuation backslash. Improved handling of
  attributes which can be either strings or array-refs so that they get
  properly transformed into array-refs. Removed the override of the new()
  method as it is no longer required. Made the LCFG::Build::PkgSpec class
  immutable to get a speed gain. Improved the README and other docs.
  Updated various Moose dependencies to ensure the code works correctly

* Wed Jul 23 2008 10:56  squinney
- Changes, lcfg.yml: Release: 0.0.22

* Wed Jul 23 2008 10:56  squinney
- bin/lcfg-cfg2meta.in: If not specified search the current working
  directory for the config.mk when using lcfg-cfg2meta

* Tue Jul 01 2008 14:37  squinney
- Changes, lcfg.yml: Release: 0.0.21

* Tue Jul 01 2008 14:36  squinney
- t/06_pkgspec_cfg.t: Updated the tests which go with the config.mk parser

* Tue Jul 01 2008 14:32  squinney
- Changes, lcfg.yml: Release: 0.0.20

* Tue Jul 01 2008 14:32  squinney
- lib/LCFG/Build/PkgSpec.pm.in: When parsing a config.mk make the default
  license GPLv2 to be redhat compatible, also removed the specfile from the
  translate list and turned on the gencmake option

* Tue Jul 01 2008 10:37  squinney



( run in 0.695 second using v1.01-cache-2.11-cpan-39bf76dae61 )