3 %bcond_with tests # perform "make test" (requires DISPLAY)
6 Summary: Clutter - Perl bindings for the Clutter 1.x API
7 Summary(pl.UTF-8): Clutter - wiązania Perla do API biblioteki Clutter 1.x
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/modules/by-authors/id/E/EB/EBASSI/Clutter-%{version}.tar.gz
14 # Source0-md5: 0bfc0a9463daf8ce25a84b54d01781c0
15 URL: http://search.cpan.org/dist/Clutter/
16 BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-Cairo-GObject >= 1.000
21 BuildRequires: perl-Glib >= 1.253
22 BuildRequires: perl-Glib-Object-Introspection >= 0.002
23 BuildRequires: perl-Pango >= 1.220
25 Requires: perl-Cairo-GObject >= 1.000
26 Requires: perl-Glib >= 1.253
27 Requires: perl-Glib-Object-Introspection >= 0.002
28 Requires: perl-Pango >= 1.220
29 # clutter with gobject binding
30 Requires: clutter >= 1.0
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 This module allows you to use the Clutter library from Perl to create
35 dynamic, compelling, and portable graphical user interfaces, using a
36 Perlish and object oriented API.
38 %description -l pl.UTF-8
39 Ten moduł pozwala na wykorzystywanie biblioteki Clutter z poziomu
40 Perla w celu tworzenia dynamicznych, przenośnych graficznych
41 interfejsów użytkownika przy użyciu perlowego, zorientowanego
45 %setup -q -n %{pdir}-%{version}
48 %{__perl} Makefile.PL \
52 OPTIMIZE="%{rpmcflags}"
54 %{?with_tests:%{__make} test}
57 rm -rf $RPM_BUILD_ROOT
59 %{__make} pure_install \
60 DESTDIR=$RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_examplesdir}
63 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
71 %{perl_vendorlib}/Clutter.pm
72 %{_mandir}/man3/Clutter.3pm*
73 %{_examplesdir}/%{name}-%{version}