# # Conditional build: %bcond_without tests # do not perform "make test" # %define pdir Getopt %define pnam ArgvFile Summary: Getopt::ArgvFile - interpolates script options from files into @ARGV Summary(pl.UTF-8): Getopt::ArgvFile - interpolacja opcji skryptu z pliku do @ARGV Name: perl-Getopt-ArgvFile Version: 1.11 Release: 1 License: Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/Getopt/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 42117db2af4a24c062b2da25d4fdf756 URL: http://search.cpan.org/dist/Getopt-ArgvFile/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The Getopt::ArgvFile Perl module simply interpolates option file hints in @ARGV by the contents of the pointed files. This enables option reading from files instead of or additional to the usual reading from the command line. %description -l pl.UTF-8 Moduł Perla Getopt::ArgvFile służy do interpolacji opcji skryptu z pliku do @ARGV poprzez zawartość wskazywanych plików. Włącza to odczyt opcji z pliku zamiast lub oprócz zwykłego ich odczytu z linii polecenia. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} %{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README %{perl_vendorlib}/Getopt/ArgvFile.pm %{_mandir}/man3/Getopt::ArgvFile.3pm*