Compare commits
29 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0559b1e494 | ||
|
|
41cc328edb | ||
|
|
fc6b6b57b8 | ||
|
|
d341a073ef | ||
|
|
e33f7bba7d | ||
|
8cf03f8b8b |
|||
| c940d7b7dc | |||
|
|
18e4e236c9 | ||
|
|
3e049b7f99 | ||
|
|
0aaca16181 | ||
|
|
dc9e861d60 | ||
|
|
a176a37094 | ||
|
|
fa27cd92ff | ||
|
|
0a92ba8768 | ||
|
|
436aefde4f | ||
|
|
88bf2fe44c | ||
|
|
83eeffaeca | ||
|
|
3bad19ad5a | ||
|
|
6d434b6408 | ||
|
|
ddd13bee41 | ||
|
|
11c613e90b | ||
|
|
e7a946d1d5 | ||
|
|
d9e869787e | ||
|
|
140b522759 | ||
|
|
a91e75e5ec | ||
|
|
32dce6e1ea | ||
|
|
2a96aafd69 | ||
|
|
ea2672fbbb | ||
|
|
17b70387c1 |
4 changed files with 1 additions and 99 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
xls2csv-1.06.tar.gz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
0ed77bd4dd2f9d15fa0b8dc0ad0a0480 xls2csv-1.06.tar.gz
|
||||
97
xls2csv.spec
97
xls2csv.spec
|
|
@ -1,97 +0,0 @@
|
|||
Name: xls2csv
|
||||
Version: 1.06
|
||||
Release: 7%{?dist}
|
||||
Summary: A script that recodes a spreadsheet's charset and saves as CSV
|
||||
|
||||
Group: Applications/Text
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/xls2csv/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/K/KE/KEN/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::Embed) perl(ExtUtils::MakeMaker) perl(Test::Harness)
|
||||
BuildRequires: perl(Test::Simple) perl(Unicode::Map)
|
||||
BuildRequires: perl perl(Locale::Recode) perl(Text::CSV_XS) perl(Spreadsheet::ParseExcel)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(Unicode::Map)
|
||||
|
||||
%description
|
||||
This script will recode a spreadsheet into a different character set
|
||||
and output the recoded data as a csv file.
|
||||
|
||||
The script came about after many headaches from dealing with Excel
|
||||
spreadsheets from clients that were being received in various character
|
||||
sets.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}"
|
||||
%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%{__rm} -rf %{buildroot}
|
||||
%{__make} pure_install DESTDIR=%{buildroot}
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
%{__chmod} -R u+w %{buildroot}/*
|
||||
|
||||
# To avoid name conflict with catdoc package.
|
||||
%{__mv} %{buildroot}%{_bindir}/%{name} %{buildroot}%{_bindir}/convert%{name}
|
||||
%{__gzip} -c9 %{buildroot}%{_mandir}/man1/%{name}.1 > %{buildroot}%{_mandir}/man1/convert%{name}.1.gz
|
||||
%{__rm} %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc
|
||||
%attr(0755, root, root) %{_bindir}/convert%{name}
|
||||
%{_mandir}/man1/convert%{name}.1.gz
|
||||
|
||||
%changelog
|
||||
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-7
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.06-6
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
* Thu Sep 24 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 1.06-5
|
||||
- Rename /usr/bin/xls2csv to /usr/bin/convertxls2csv to avoid name conflict with package catdoc (Thank you Jan Klepek)
|
||||
|
||||
* Mon Aug 10 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 1.06-4
|
||||
- License tag changed to "GPL+ or Artistic"
|
||||
|
||||
* Sun Aug 9 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 1.06-3
|
||||
- Rewrite all BR from perl-Unicode-Map form to "perl(Unicode::Map)"
|
||||
- Add back Requires: perl(:MODULE_COMPAT_%%(eval "`%%{__perl} -V:version`"; echo $version)), perl(Unicode::Map)
|
||||
|
||||
* Fri Aug 7 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 1.06-2
|
||||
- Delete %%{buildroot} from PREFIX and accordingly my doubleprefix hack.
|
||||
- Replace all $RPM_BUILD_ROOT by %%{buildroot} for consistency use macroses.
|
||||
- Replace chmod by %%{__chmod}.
|
||||
- Remove all explicit perl and perl-modules requires.
|
||||
|
||||
* Sat Nov 22 2008 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 1.06-1
|
||||
- Small cosmetics changes like use %%{__rm} instead of plain "rm" and add
|
||||
braces in all macroses as it want Jason Tibbitts in BZ review 458866
|
||||
- Remove file %%{perl_vendorarch}/auto/xls2csv/.packlist and add 3 lines
|
||||
(delete .packlist, delete empty directories and change permissions)
|
||||
from /etc/rpmdevtools/spectemplate-perl.spec (Jason Tibbitts)
|
||||
|
||||
* Tue Aug 12 2008 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 1.06-0
|
||||
- Change BuildArch to noarch
|
||||
- Add BR: perl(Test::Simple)
|
||||
- Add BuildRequires: perl perl-libintl perl-Text-CSV_XS perl-Spreadsheet-ParseExcel perl-Unicode-Map for tests
|
||||
|
||||
* Fri Aug 8 2008 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 1.06-0
|
||||
- Initial spec
|
||||
Loading…
Add table
Add a link
Reference in a new issue