103 lines
3.3 KiB
RPMSpec
103 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package perl-LaTeX-Table
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products 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-LaTeX-Table
|
|
Version: 1.0.6
|
|
Release: 0
|
|
Summary: Perl extension for the automatic generation of LaTeX tables
|
|
Source: http://search.cpan.org/CPAN/authors/id/L/LI/LIMAONE/LaTeX-Table-v%{version}.tar.gz
|
|
Source100: README.md
|
|
Url: http://search.cpan.org/dist/LaTeX-Table
|
|
Group: Development/Libraries/Perl
|
|
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(Test::NoWarnings)
|
|
BuildRequires: perl(Module::Build) >= 0.36
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(Module::Pluggable)
|
|
BuildRequires: perl(English)
|
|
BuildRequires: perl(version)
|
|
BuildRequires: perl(Template)
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(MooseX::FollowPBP) >= 0.03
|
|
BuildRequires: perl(Cwd)
|
|
BuildRequires: perl(Moose) >= 0.76
|
|
BuildRequires: perl(LaTeX::Driver)
|
|
BuildRequires: perl(LaTeX::Encode)
|
|
BuildRequires: perl(Number::Format)
|
|
BuildRequires: perl(Text::CSV)
|
|
Requires: perl(Scalar::Util)
|
|
Requires: perl(Module::Pluggable)
|
|
Requires: perl(English)
|
|
Requires: perl(version)
|
|
Requires: perl(Template)
|
|
Requires: perl(Carp)
|
|
Requires: perl(MooseX::FollowPBP) >= 0.03
|
|
Requires: perl(Cwd)
|
|
Requires: perl(Moose) >= 0.76
|
|
Recommends: perl(LaTeX::Driver)
|
|
Recommends: perl(LaTeX::Encode)
|
|
Recommends: perl(Number::Format)
|
|
Recommends: perl(Text::CSV)
|
|
%if 0%{?suse_version} >= 1120
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
%description
|
|
LaTeX makes professional typesetting easy. Unfortunately, this is not
|
|
entirely true for tables and the standard LaTeX table macros have a rather
|
|
limited functionality. This module supports many CTAN packages and hides
|
|
the complexity of using them behind an easy and intuitive API.
|
|
|
|
%prep
|
|
%setup -q -n "LaTeX-Table-v%{version}"
|
|
|
|
%build
|
|
%__perl ./Build.PL
|
|
./Build
|
|
|
|
%install
|
|
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
|
%perl_process_packlist
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Changes LICENSE README TODO t/ltpretty.txt
|
|
%{_bindir}/csv2pdf
|
|
%{_bindir}/ltpretty
|
|
%doc %{_mandir}/man1/csv2pdf.1*
|
|
%doc %{_mandir}/man1/ltpretty.1*
|
|
%dir %{perl_vendorlib}/LaTeX
|
|
%{perl_vendorlib}/LaTeX/Table
|
|
%{perl_vendorlib}/LaTeX/Table.pm
|
|
%doc %{perl_man3dir}/LaTeX::Table.%{perl_man3ext}%{ext_man}
|
|
%doc %{perl_man3dir}/LaTeX::Table::*.%{perl_man3ext}%{ext_man}
|
|
|
|
%changelog
|