[perl-Tk-Getopt] Import
Petr Pisar
ppisar at fedoraproject.org
Fri Feb 24 08:32:32 UTC 2012
commit 8b73aa8ab919c1424fc6e6edd6895cc807815d87
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Feb 24 09:32:08 2012 +0100
Import
.gitignore | 1 +
perl-Tk-Getopt.spec | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 96 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fd73aca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Tk-Getopt-0.50.tar.gz
diff --git a/perl-Tk-Getopt.spec b/perl-Tk-Getopt.spec
new file mode 100644
index 0000000..97065be
--- /dev/null
+++ b/perl-Tk-Getopt.spec
@@ -0,0 +1,94 @@
+Name: perl-Tk-Getopt
+Version: 0.50
+Release: 1%{?dist}
+Summary: User configuration window for Tk with interface to Getopt::Long
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Tk-Getopt/
+Source0: http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-Getopt-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time
+BuildRequires: perl(Carp)
+BuildRequires: perl(constant)
+BuildRequires: perl(Cwd)
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl(File::Basename)
+BuildRequires: perl(Getopt::Long)
+BuildRequires: perl(Safe)
+BuildRequires: perl(Tk) >= 804
+# Optional perl(Tk::Balloon)
+BuildRequires: perl(Tk::BrowseEntry)
+BuildRequires: perl(Tk::CmdLine)
+# Optional fall back perl(Tk::DirSelect)
+BuildRequires: perl(Tk::DirTree)
+# Optional perl(Tk::FileDialog) is old and buggy. Tk::FileSelect is fall-back
+BuildRequires: perl(Tk::FileSelect)
+BuildRequires: perl(Tk::Font)
+# Optional not yet packaged perl(Tk::FontDialog)
+# Optional perl(Tk::NoteBook)
+BuildRequires: perl(Tk::Optionmenu)
+# Optional not yet packaged perl(Tk::PathEntry)
+BuildRequires: perl(Tk::Photo)
+BuildRequires: perl(Tk::Pixmap)
+BuildRequires: perl(Tk::Tiler)
+# Tests
+BuildRequires: perl(Test::More)
+# Optional tests
+BuildRequires: perl(File::Temp)
+# Optional not yet packaged perl(Tk::Dial)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(Cwd)
+Requires: perl(Data::Dumper)
+Requires: perl(File::Basename)
+Requires: perl(Getopt::Long)
+Requires: perl(Safe)
+Requires: perl(Tk) >= 804
+# Optional perl(Tk::Balloon)
+Requires: perl(Tk::BrowseEntry)
+Requires: perl(Tk::CmdLine)
+# Optional fall back perl(Tk::DirSelect)
+Requires: perl(Tk::DirTree)
+# Optional perl(Tk::FileDialog) is old and buggy. Tk::FileSelect is fall-back
+Requires: perl(Tk::FileSelect)
+Requires: perl(Tk::Font)
+# Optional not yet packaged perl(Tk::FontDialog)
+# Optional perl(Tk::NoteBook)
+Requires: perl(Tk::Optionmenu)
+# Optional not yet packaged perl(Tk::PathEntry)
+Requires: perl(Tk::Photo)
+Requires: perl(Tk::Pixmap)
+Requires: perl(Tk::Tiler)
+
+# Filter optional not yet packaged perl(Tk::PathEntry)
+%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(Tk::PathEntry\\)
+
+%description
+Tk::Getopt provides an interface to access command line options via
+Getopt::Long and editing with a graphical user interface via a Tk window.
+
+%prep
+%setup -q -n Tk-Getopt-%{version}
+chmod -x demos/*
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes demos README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Feb 22 2012 Petr Pisar <ppisar at redhat.com> 0.50-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..64ab657 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3ce04ba565d8ef5acacf03fbd8756486 Tk-Getopt-0.50.tar.gz
More information about the scm-commits
mailing list