71 lines
2.1 KiB
RPMSpec
71 lines
2.1 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
#
|
|
# spec file for package perl-Project-Gantt
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-Project-Gantt
|
|
Version: 1.03
|
|
Release: 0
|
|
Summary: Create Gantt charts to manage project scheduling
|
|
License: ARTISTIC-1.0 OR GPL-1.0+
|
|
Group: Development/Libraries/Perl
|
|
Source: http://search.cpan.org/CPAN/authors/id/A/AW/AWESTHOLM/Project-Gantt-1.03.tar.gz
|
|
Source100: README.md
|
|
URL: http://search.cpan.org/dist/Project-Gantt
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Class::Date)
|
|
BuildRequires: perl(Image::Magick)
|
|
Requires: perl(Class::Date)
|
|
Requires: perl(Image::Magick)
|
|
|
|
%description
|
|
Project::Gantt provides the ability to easily draw Gantt charts for managing
|
|
the schedules of projects and many other things. Gantt charts provide a simple,
|
|
easy to comprehend visual representation of a schedule.
|
|
|
|
%prep
|
|
%setup -q -n Gantt
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
%build
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
|
|
%check
|
|
%__make test
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Changes README
|
|
%dir %{perl_vendorlib}/Project
|
|
%{perl_vendorlib}/Project/Gantt.pm
|
|
%{perl_vendorlib}/Project/Gantt
|
|
%dir %{perl_vendorarch}/auto/Project
|
|
%{perl_vendorarch}/auto/Project/Gantt
|
|
%doc %{perl_man3dir}/Project::Gantt.%{perl_man3ext}%{ext_man}
|
|
|
|
%changelog
|