%bcond_without tests # do not perform "make test"
# there are no tests defined currently, so
# don't bother
-
+#
%include /usr/lib/rpm/macros.perl
%define pdir ExtUtils
%define pnam XSBuilder
Summary: ExtUtils::XSBuilder - Automatic XS glue code generation
+Summary(pl): ExtUtils::XSBuilder - automatyczne generowanie kodu ³±cz±cego XS
Name: perl-ExtUtils-XSBuilder
Version: 0.23
Release: 1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-ExtUtils::XSBuilder is a set modules to parse C header files and create XS glue
-code and documentation out of it. Idealy this allows to "write" an interface to
-a C library without coding a line. Since no C-API is ideal, some adjuments are
-necessary most of the time. So to use this module you must still be familar
-with C and XS programming, but it removes a lot of stupid work and copy&paste
-from you. Also when the C API changes, most of the time you only have to rerun
-XSBuilder to get your new Perl API.
+ExtUtils::XSBuilder is a set modules to parse C header files and
+create XS glue code and documentation out of it. Idealy this allows to
+"write" an interface to a C library without coding a line. Since no
+C-API is ideal, some adjuments are necessary most of the time. So to
+use this module you must still be familar with C and XS programming,
+but it removes a lot of stupid work and copy&paste from you. Also when
+the C API changes, most of the time you only have to rerun XSBuilder
+to get your new Perl API.
+
+%description -l pl
+ExtUtils::XSBuilder to zbiór modu³ów do analizy plików nag³ówkowych C
+i tworzenia z nich kodu ³±cz±cego XS oraz dokumentacji. W idealnej
+sytuacji pozwala to na "napisanie" interfejsu do biblioteki C bez
+kodowania ani jednej linii. Ale jako ¿e ¿adne API w C nie jest
+idealne, w wiêkszo¶ci przypadków potrzebne s± pewne poprawki - tak
+wiêc aby u¿ywaæ tego modu³u nadal trzeba znaæ siê na programowaniu w C
+oraz XS, ale zapobiega on du¿ej ilo¶ci g³upiej pracy i copy-paste.
+Tak¿e kiedy API w C siê zmienia, wiêkszo¶æ roboty to ponowne
+uruchomienie XSBuildera dla uzyskania nowego perlowego API.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%defattr(644,root,root,755)
%doc Changes README
%{perl_vendorlib}/ExtUtils/XSBuilder.pm
-%{perl_vendorlib}/ExtUtils/XSBuilder/*
+%{perl_vendorlib}/ExtUtils/XSBuilder
%{_mandir}/man3/*