File perl-Curses.spec of Package perl-Curses
#
# spec file for package perl-Curses (Version 1.27)
#
# 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-Curses
BuildRequires: ncurses-devel
Version: 1.27
Release: 1
Provides: perl_cur Curses
Obsoletes: perl_cur
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License
Url: http://cpan.org/modules/by-module/Curses/
Summary: A Dynamic Loadable Curses Module for Perl5
Source: Curses-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a dynamic loadable curses module for Perl5. This package can
be found at any CPAN archive.
Authors:
--------
William Setzer <William_Setzer@ncsu.edu>
%prep
%setup -q -n Curses-%{version}
%build
CURSES_LDFLAGS="-lncursesw" CURSES_CFLAGS="-I/usr/include/ncursesw/" perl Makefile.PL PANELS MENUS OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
%check
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Artistic Copying README
%doc %{_mandir}/man3/*
%{perl_vendorarch}/Curses.pm
%{perl_vendorarch}/auto/Curses
/var/adm/perl-modules/%{name}
%changelog
* Mon Feb 23 2009 anicka@suse.cz
- update to 1.27
* Extraneous .i and .s files in 1.26 removed. 'make clean' cleans
all .i and .s too.
* 'gen' directory is replaced by gen.tar file, so CPAN doesn't
index the stuff in there. That directory is stuff for developing
the Curses package, not stuff for users.
* newterm() is available and putwin() and getwin() work in newer
Perl (with PerlIO). We now use PerlIO_findFile().
* Wed Sep 10 2008 anicka@suse.cz
- update to 1.24
* Export KEY_RESIZE, KEY_EVENT.
* For Netbsd, allow both Netbsd and BSD guesses via CURSES_LIBTYPE,
and default to Ncurses.
* Add guess capability for Dragonfly.
* Mon Mar 10 2008 anicka@suse.cz
- update to 1.23
* Fix crash of Makefile.PL on Windows.
* Don't undefine 'bool' macro in c-darwin hints file.
* Fix missing comment delimiter.
* Mon Nov 19 2007 anicka@suse.cz
- update to 1.19
- add -lpanel and -lmenu
* Use Ncursesw (Ncurses with wide character functions) instead of
Ncurses if available.
* Change all sv_isa() to sv_derived_from() so you can use
subclasses.
* bugfixes, test fixes
* Thu Mar 29 2007 rguenther@suse.de
- add ncurses-devel BuildRequires
* Sat Mar 10 2007 mmarek@suse.cz
- link with ncursesw.so to make UTF8 output work
* Fri Jul 14 2006 anicka@suse.cz
- update to 1.14
* Make demo.form work on 64 bit machine.
* Add some narration to Makefile.PL to help with diagnosis.
* Move undef of 'instr' from individual hint files to Curses.c
and add explanation.
* Some kind of build fix to get panels, forms, and menu functions
to build.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 01 2005 cthiel@suse.de
- update to version 1.12
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Tue Jul 15 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Tue May 20 2003 mjancar@suse.cz
- remove unpackaged files
* Fri Aug 09 2002 mls@suse.de
- use sv_isa instead of Perl_sv_isa for threaded perl
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Fri Aug 03 2001 rvasice@suse.cz
- update to version 1.06
- spec file cleanup
* Tue Nov 14 2000 cihlar@suse.cz
- clean up spec file
* Thu Nov 02 2000 grimmer@suse.de
- renamed from perl_cur to perl-Curses
- spec file cleanups
* Tue Aug 22 2000 cihlar@suse.cz
- update to version 1.05
- added BuildRoot
- bzipped sources
* Thu Jan 20 2000 ro@suse.de
- use macro for mandir
* Mon Nov 08 1999 choeger@suse.de
- first version