# $Revision: 1.17 $, $Date: 2002/02/25 10:30:12 $ %include /usr/lib/rpm/macros.perl %define pdir Convert %define pnam SciEng Summary: Convert-SciEng perl module Summary(pl): Modu³ perla Convert-SciEng Name: perl-Convert-SciEng Version: 0.90 Release: 8 License: GPL Group: Development/Languages/Perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz Patch0: %{name}-paths.patch BuildRequires: rpm-perlprov >= 3.0.3-16 BuildRequires: perl >= 5.6 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Convert-SciEng converts 'numbers' with scientific postfixes to real numbers, i.e. 2.5u --> 2.5e-6 25K --> 2.5e4 %description -l pl Convert-SciEng konwertuje 'liczby' z naukowymi koñcówkami na prawdziwe liczby, np.: 2.5u --> 2.5e-6 25K --> 2.5e4 %prep %setup -q -n %{pdir}-%{pnam}-%{version} %patch -p1 %build perl Makefile.PL %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT gzip -9nf Changes README %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz %{perl_sitelib}/Convert/SciEng.pm %{perl_sitelib}/Convert/demo.pl %{_mandir}/man3/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedback@pld.org.pl> All persons listed below can be reached at <cvs_login>@pld.org.pl $Log: perl-Convert-SciEng.spec,v $ Revision 1.17 2002/02/25 10:30:12 depesz cleanup; revision++ Revision 1.16 2002/02/22 23:29:26 kloczek - removed all Group fields translations (oure rpm now can handle translating Group field using gettext). Revision 1.15 2002/02/13 14:10:31 depesz automatic: Source location unfied, Relase Up Revision 1.14 2002/02/10 15:24:42 depesz adapterized Revision 1.13 2002/01/18 02:14:13 kloczek perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/" Revision 1.12 2001/11/28 15:20:15 mis - buildarch noarch; release++ Revision 1.11 2001/04/17 12:06:48 baggins - release 5 - rebuild with perl 5.6.1 Revision 1.10 2001/04/14 18:00:05 baggins - removed explicit requirements for perl = %%{version} and %%{perl_sitearch} they will be added by rpm if needed Revision 1.9 2000/12/30 01:30:24 kloczek - release 4: rebuild agaunst perl 5.6 and use new rpm automation. Revision 1.8 2000/06/09 07:54:45 kloczek - more %%{__make} macros. Revision 1.7 2000/06/09 07:23:28 kloczek - added using %%{__make} macro. Revision 1.6 2000/05/16 22:13:21 kloczek - spec adapterized. Revision 1.5 2000/04/01 11:15:17 zagrodzki - changed all BuildRoot definitons - removed all applnkdir defs - changed some prereqs/requires - removed duplicate empty lines Revision 1.4 2000/03/28 16:54:47 baggins - translated kloczkish into english Revision 1.3 1999/11/07 09:17:08 pius - fixed required rpm-perlprov version Revision 1.2 1999/10/31 15:51:38 pius - added '%include /usr/lib/rpm/macros.perl' - modified BuildRequires rules Revision 1.1 1999/10/02 21:49:53 pius - initial release