70 lines
2.3 KiB
RPMSpec
70 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package perl-CGI-Application-Plugin-DevPopup-Query (Version 1.03)
|
|
#
|
|
# Copyright (c) 2011 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-CGI-Application-Plugin-DevPopup-Query
|
|
Version: 1.03
|
|
Release: 1
|
|
License: GPL+ or Artistic
|
|
%define cpan_name CGI-Application-Plugin-DevPopup-Query
|
|
Summary: show CGI query in DevPopup window
|
|
Url: http://search.cpan.org/dist/CGI-Application-Plugin-DevPopup-Query/
|
|
Group: Development/Libraries/Perl
|
|
#Source: http://www.cpan.org/authors/id/S/ST/STRO/%{cpan_name}-%{version}.zip
|
|
Source: CGI-Application-Plugin-DevPopup-Query-1.03.tar.gz
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(CGI::Application::Plugin::DevPopup) >= 1.03
|
|
Requires: perl(CGI::Application::Plugin::DevPopup) >= 1.03
|
|
%{perl_requires}
|
|
|
|
%description
|
|
This module is a plugin for CGI::Application::Plugin::DevPopup. Whenever
|
|
used, it creates two sections in the DevPopup output. First section,
|
|
"*Current Run Mode*", shows name of run mode executed. Second section,
|
|
"*CGI Query*", contains a list of CGI query parameters and associated
|
|
values passed to your CGI::Application.
|
|
|
|
See the CGI::Application/query() manpage and CGI.pm for more information
|
|
about query parameters.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,755)
|
|
%doc CHANGES README
|
|
|
|
%changelog
|