3 %bcond_with tests # perform "make test" (needs DISPLAY)
7 Summary: GTK+ friendly die() and warn() functions
8 Summary(pl.UTF-8): Funkcje die() i warn() przyjazne dla GTK+
9 Name: perl-%{pdir}-%{pnam}
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: a9e6de1c2e54c504d19b6b0f5faa3f5b
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
19 Requires: perl-Gtk2 >= 1.101-2
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 GTK+ friendly die() and warn() functions.
26 %description -l pl.UTF-8
27 Funkcje die() i warn() przyjazne dla GTK+.
30 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %{__perl} Makefile.PL \
38 %{?with_tests:%{__make} test}
41 rm -rf $RPM_BUILD_ROOT
43 %{__make} pure_install \
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{perl_vendorlib}/Gtk2/Ex/Carp.pm