- regenerate with cpanspec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Template-GD?expand=0&rev=7
This commit is contained in:
parent
0d93e7aa93
commit
2f5400410d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb41a0db8232984e3b2540516c78824b20c6eb80be7d53f6b47e77be9ac9a63c
|
||||
size 12157
|
3
Template-GD-2.66.tar.gz
Normal file
3
Template-GD-2.66.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:98523c8192f2e8184042e5a2e172bd767ac289dd2e480f35f680dce32160905b
|
||||
size 12827
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
license: Perl License
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 8 09:41:58 UTC 2017 - coolo@suse.com
|
||||
|
||||
- regenerate with cpanspec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:31:09 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@ -1,46 +1,62 @@
|
||||
%define modname Template-GD
|
||||
Name: perl-%{modname}
|
||||
#
|
||||
# spec file for package perl-Template-GD
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Template-GD
|
||||
Version: 2.66
|
||||
Release: 1
|
||||
Summary: GD plugin(s) for the Template Toolkit
|
||||
Requires: perl = %{perl_version} perl-GD perl-Template-Toolkit
|
||||
BuildRequires: perl perl-macros perl-GD perl-Template-Toolkit
|
||||
License: GPL/Artistic
|
||||
Release: 0
|
||||
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
|
||||
%define cpan_name Template-GD
|
||||
Summary: Template::GD Perl module
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
Url: http://search.cpan.org/dist/Template-GD/
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABW/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(GD) >= 1.14
|
||||
BuildRequires: perl(Template) >= 2.14
|
||||
Requires: perl(GD) >= 1.14
|
||||
Requires: perl(Template) >= 2.14
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
The Template-GD distribution provides a number of Template Toolkit plugin
|
||||
modules to interface with Lincoln Stein's GD modules. These in turn provide an
|
||||
interface to Thomas Boutell's GD graphics library.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Andy Wardley
|
||||
Craig Barratt
|
||||
Template::GD Perl module
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
make test
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc README
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Template
|
||||
%{perl_vendorarch}/auto/Template
|
||||
|
||||
%changelog
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user