File perl-CursesWidgets.spec of Package perl-CursesWidgets

#
# spec file for package perl-CursesWidgets (Version 1.997)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           perl-CursesWidgets
License:        GPL v2 or later
Group:          Development/Libraries/Perl
Provides:       Curses
AutoReqProv:    on
Version:        1.997
Release:        139
Summary:        Curses::Widgets Module for Perl
Url:            http://search.cpan.org/~corliss/CursesWidgets-1.997
Source:         CursesWidgets-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
High level access to basic Curses widgets and related functions



Authors:
--------
    Arthur Corliss <corliss@digitalmages.com>

%prep
%setup -n CursesWidgets-%{version}

%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL 
make

%clean
rm -rf $RPM_BUILD_ROOT

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%files
%defattr(-,root,root)
%doc README
%dir %{perl_vendorlib}/Curses
%dir %{perl_vendorarch}/auto/Curses
%dir %{perl_vendorarch}/auto/Curses/Widgets
%{perl_vendorlib}/Curses/*
%{perl_vendorarch}/auto/Curses/Widgets/.packlist
%doc %{_mandir}/man?/Curses::Widgets*.gz
/var/adm/perl-modules/%{name}

%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Oct 04 2005 dmueller@suse.de
- add norootforbuild
* Wed Oct 20 2004 ms@suse.de
- fixed filelist (perl_vendorlib)
* Thu Feb 26 2004 ms@suse.de
- initial version of perl-CursesWidgets (v1.997)
openSUSE Build Service is sponsored by