2007-01-15 23:30:16 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-CursesWidgets (Version 1.997)
|
|
|
|
#
|
2010-01-12 12:58:11 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:16 +00:00
|
|
|
#
|
2009-06-17 22:14:25 +00:00
|
|
|
# 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/
|
2007-01-15 23:30:16 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2012-06-06 16:13:40 +00:00
|
|
|
|
2009-06-17 22:14:25 +00:00
|
|
|
Name: perl-CursesWidgets
|
2010-11-29 14:24:14 +00:00
|
|
|
%define cpan_name CursesWidgets
|
|
|
|
Summary: CursesWidgets Perl module
|
2009-06-17 22:14:25 +00:00
|
|
|
Version: 1.997
|
2012-06-06 16:13:40 +00:00
|
|
|
Release: 148
|
|
|
|
License: GPL-2.0+
|
2010-11-29 14:24:14 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/CursesWidgets/
|
|
|
|
#Source: http://www.cpan.org/modules/by-module/CursesWidgets/CursesWidgets-%{version}.tar.bz2
|
|
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
2025-08-12 18:12:55 +02:00
|
|
|
Source100: README.md
|
2010-11-29 14:24:14 +00:00
|
|
|
BuildArch: noarch
|
2009-06-17 22:14:25 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 13:59:54 +00:00
|
|
|
%{perl_requires}
|
2010-11-29 14:24:14 +00:00
|
|
|
BuildRequires: perl perl-Curses
|
|
|
|
BuildRequires: perl-macros
|
2007-01-15 23:30:16 +00:00
|
|
|
|
|
|
|
%description
|
2010-11-29 14:24:14 +00:00
|
|
|
NOTE: This is **NOT** backwards compatible with the pre-1.99 versions.
|
|
|
|
This is entirely OO-based, hence any older scripts relying on the
|
|
|
|
old versions will need to be rewritten.
|
2007-01-15 23:30:16 +00:00
|
|
|
|
|
|
|
%prep
|
2010-11-29 14:24:14 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-15 23:30:16 +00:00
|
|
|
|
|
|
|
%build
|
2010-11-29 14:24:14 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2007-01-15 23:30:16 +00:00
|
|
|
|
2010-11-29 14:24:14 +00:00
|
|
|
%check
|
|
|
|
#%{__make} test
|
2007-01-15 23:30:16 +00:00
|
|
|
|
|
|
|
%install
|
2010-11-29 14:24:14 +00:00
|
|
|
%perl_make_install
|
|
|
|
# do not perl_process_packlist (noarch)
|
|
|
|
# remove .packlist file
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
|
|
# remove perllocal.pod file
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
2007-01-15 23:30:16 +00:00
|
|
|
|
2010-11-29 14:24:14 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc CHANGELOG CREDITS LICENSE README
|
2007-01-15 23:30:16 +00:00
|
|
|
|
2009-06-17 22:14:25 +00:00
|
|
|
%changelog
|