rpms/perl-Curses/devel perl-Curses.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Garrick Staples (garrick) fedora-extras-commits at redhat.com
Sun Apr 23 19:17:55 UTC 2006


Author: garrick

Update of /cvs/extras/rpms/perl-Curses/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11955/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Curses.spec 
Log Message:
auto-import perl-Curses-1.13-3 on branch devel from perl-Curses-1.13-3.src.rpm


--- NEW FILE perl-Curses.spec ---
Name:           perl-Curses
Version:        1.13
Release:        3%{?dist}
Summary:        Perl bindings for ncurses

Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Curses/
Source0:        http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ncurses-devel
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Perl bindings for ncurses, bringing terminal-independent character
handling capabilities to Perl.


%prep
%setup -q -n Curses-%{version}
sed -i -e 's|/usr/local/bin/perl|%{__perl}|' demo*


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \
   PANELS MENUS FORMS
make %{?_smp_mflags}

# A note about the following alarming output...
#
#  WARNING: Your Curses form.h file appears to be in the default
#  system search path, which will not work for us because of
#  the conflicting Perl form.h file.  This means your 'make' will
#  probably fail unless you fix this, as described in the INSTALL
#  file.
#
#... can be ignored because /usr/include/form.h is a symlink to
#/usr/include/ncurses/form.h, which the Makefile.PL finds and
#uses quite happily.


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Copying Artistic README demo*
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Curses.pm
%{_mandir}/man3/*.3*


%changelog
* Fri Apr 21 2006 Garrick Staples <garrick at usc.edu> 1.13-3
- add a note about the falsely alarming warning
- don't remove execute bit from demos

* Thu Apr 20 2006 Garrick Staples <garrick at usc.edu> 1.13-2
- spec cleanups
- add doc files

* Wed Apr 19 2006 Garrick Staples <garrick at usc.edu> 1.13-1
- Initial spec file


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Curses/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Apr 2006 19:17:36 -0000	1.1
+++ .cvsignore	23 Apr 2006 19:17:55 -0000	1.2
@@ -0,0 +1 @@
+Curses-1.13.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Curses/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Apr 2006 19:17:36 -0000	1.1
+++ sources	23 Apr 2006 19:17:55 -0000	1.2
@@ -0,0 +1 @@
+33f6a17f9ece7efda2dde3431e1540f6  Curses-1.13.tgz




More information about the fedora-extras-commits mailing list