# Conditional build:
%bcond_without tests # do not perform "make test"
#
-%include /usr/lib/rpm/macros.perl
%define pdir ExtUtils
%define pnam CChecker
Summary: ExtUtils::CChecker - configure-time utilities for using C headers, libraries, or OS features
-#Summary(pl.UTF-8):
+Summary(pl.UTF-8): ExtUtils::CChecker - sprawdzanie nagłówków C, bibliotek i cech OS w czasie konfiguracji
Name: perl-ExtUtils-CChecker
-Version: 0.06
+Version: 0.11
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/ExtUtils-CChecker-%{version}.tar.gz
-# Source0-md5: 18d0a1a50afd5a8185c03cbed9098e4e
-URL: http://search.cpan.org/dist/ExtUtils-CChecker/
-BuildRequires: perl-Module-Build
+Source0: http://www.cpan.org/modules/by-authors/id/P/PE/PEVANS/ExtUtils-CChecker-%{version}.tar.gz
+# Source0-md5: 6c40b0aa26907aed861288808dee755c
+URL: https://metacpan.org/dist/ExtUtils-CChecker
+BuildRequires: perl-Module-Build >= 0.4004
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
-BuildRequires: perl-Test-Exception
-BuildRequires: perl-Test-Pod
+BuildRequires: perl-Test-Fatal
+BuildRequires: perl-Test-Pod >= 1.00
+BuildRequires: perl-Test-Simple >= 0.88
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
against, or for the right include directories to find header files in.
This class also provides assistance here.
-# %description -l pl.UTF-8
-# TODO
+%description -l pl.UTF-8
+Często moduły Perla obudowują funkcjonalność istniejących nagłówków C,
+bibliotek i innych właściwości systemu operacyjnego. Wtedy w pliku
+Build.PL lub Makefile.PL przydaje się sprawdzić istnienie wymaganych
+elementów przed próbą właściwego zbudowania modułu.
+
+Obiekty w tej klasie udostępniają rozszerzenie modułu
+ExtUtils::CBuilder upraszczające tworzenie pliku .c, kompilację,
+linkowanie i uruchamianie w celu sprawdzenia istnienia pewnej cechy.
+
+Moduł może być przydatny także w celu znalezienia właściwej biblioteki
+lub katalogu z plikami nagłówkowymi do użycia.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%defattr(644,root,root,755)
%doc Changes README
%{perl_vendorlib}/ExtUtils/CChecker.pm
-%{_mandir}/man3/*.3pm*
+%{_mandir}/man3/ExtUtils::CChecker.3pm*