don't own system directories [release 1.07-2mamba;Sun Oct 20 2013]
This commit is contained in:
parent
41bc2c7d80
commit
a12d91316a
@ -1,2 +1,4 @@
|
|||||||
# xls2csv
|
# xls2csv
|
||||||
|
|
||||||
|
xls2csv - A script that recodes a spreadsheet's charset and saves as CSV.
|
||||||
|
|
||||||
|
60
xls2csv.spec
Normal file
60
xls2csv.spec
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: xls2csv
|
||||||
|
Version: 1.07
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: xls2csv - A script that recodes a spreadsheet's charset and saves as CSV
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/K/KE/KEN/xls2csv-%{version}.tar.gz
|
||||||
|
License: Artistic, GPL
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildRequires: perl-devel >= %perl_major_ver
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
BuildRequires: perl-libintl
|
||||||
|
BuildRequires: perl-Spreadsheet-ParseExcel
|
||||||
|
BuildRequires: perl-Text-CSV_XS
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
xls2csv - A script that recodes a spreadsheet's charset and saves as CSV.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||||
|
%make
|
||||||
|
%make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall_perl
|
||||||
|
packlist=`find %{buildroot} -name .packlist`
|
||||||
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||||
|
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
||||||
|
sort -u > .packlist && rm $packlist
|
||||||
|
|
||||||
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
rm -f .packlist
|
||||||
|
|
||||||
|
%files -f .packlist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Oct 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07-2mamba
|
||||||
|
- don't own system directories
|
||||||
|
|
||||||
|
* Tue Jan 24 2012 Automatic Build System <autodist@mambasoft.it> 1.07-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Oct 19 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.06-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user