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

Tom Callaway (spot) fedora-extras-commits at redhat.com
Thu Apr 14 22:04:12 UTC 2005


Author: spot

Update of /cvs/extras/rpms/perl-Spreadsheet-WriteExcel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23679/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Spreadsheet-WriteExcel.spec 
Log Message:
auto-import perl-Spreadsheet-WriteExcel-2.12-2 on branch devel from perl-Spreadsheet-WriteExcel-2.12-2.src.rpm


--- NEW FILE perl-Spreadsheet-WriteExcel.spec ---
%define _use_internal_dependency_generator 0

Summary: Write formatted text and numbers to a cross-platform Excel binary file.
Name: perl-Spreadsheet-WriteExcel
Version: 2.12
Release: 2
License: Artistic or GPL
Group: Development/Libraries
Source0: Spreadsheet-WriteExcel-%{version}.tar.gz
Url: http://www.cpan.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl >= 0:5.00503, perl-Parse-RecDescent
Requires: perl >= 0:5.00503
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The Spreadsheet::WriteExcel module can be used to create a cross-
platform Excel binary file. Multiple worksheets can be added to a
workbook and formatting can be applied to cells. Text, numbers,
formulas, hyperlinks and images can be written to the cells.

The Excel file produced by this module is compatible with 97,
2000, 2002 and 2003.

The module will work on the majority of Windows, UNIX and
Macintosh platforms. Generated files are also compatible with the
spreadsheet applications Gnumeric and OpenOffice.org.

This module cannot be used to read an Excel file. See
Spreadsheet::ParseExcel or look at the main documentation for some
suggestions. This module cannot be uses to write to an existing
Excel file.

# Provide perl-specific find-{provides,requires}.
%define __find_provides /usr/lib/rpm/find-provides.perl
%define __find_requires /usr/lib/rpm/find-requires.perl

%prep
%setup -q -n Spreadsheet-WriteExcel-%{version} 

%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
make
make test

%clean 
rm -rf $RPM_BUILD_ROOT

%install
rm -rf $RPM_BUILD_ROOT
make install

[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress

find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;

find $RPM_BUILD_ROOT/usr -type f -print | 
	sed "s@^$RPM_BUILD_ROOT@@g" | 
	grep -v perllocal.pod | 
	grep -v "\.packlist" > %{name}-%{version}-filelist
if [ "$(cat %{name}-%{version}-filelist)X" = "X" ] ; then
    echo "ERROR: EMPTY FILE LIST"
    exit -1
fi

%files -f %{name}-%{version}-filelist
%defattr(-,root,root)

%changelog
* Thu Apr 14 2005 Tom "spot" Callaway <tcallawa at redhat.com> 2.12-2
- Add MODULE_COMPAT requires line

* Fri Apr 1 2005 Tom "spot" Callaway <tcallawa at redhat.com> 2.12-1
- initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Spreadsheet-WriteExcel/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Apr 2005 22:03:38 -0000	1.1
+++ .cvsignore	14 Apr 2005 22:04:10 -0000	1.2
@@ -0,0 +1 @@
+Spreadsheet-WriteExcel-2.12.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Spreadsheet-WriteExcel/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Apr 2005 22:03:38 -0000	1.1
+++ sources	14 Apr 2005 22:04:10 -0000	1.2
@@ -0,0 +1 @@
+2a36f470641f28076f7a56a54c098cf1  Spreadsheet-WriteExcel-2.12.tar.gz




More information about the fedora-extras-commits mailing list