]> git.pld-linux.org Git - packages/perl-POE-Session-GladeXML.git/blob - perl-POE-Session-GladeXML.spec
478bd7cbd04c5b7bfec9ef33170d5b9881f7b48e
[packages/perl-POE-Session-GladeXML.git] / perl-POE-Session-GladeXML.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test"
4                         # require DISPLAY
5 #
6 %include        /usr/lib/rpm/macros.perl
7 %define         pdir    POE
8 %define         pnam    Session-GladeXML
9 Summary:        POE::Session::GladeXML - emit POE events for GTK+ callbacks
10 Summary(pl.UTF-8):      POE::Session::GladeXML - wywoływanie zdarzeń POE dla callbacków GTK+
11 Name:           perl-POE-Session-GladeXML
12 Version:        0.1.3
13 Release:        1
14 License:        GPL v2
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  27f4d1bc11e96b5705aeff0ae04b3850
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-gtk-GladeXML >= 0.7008
22 BuildRequires:  perl-POE >= 0.23
23 %endif
24 Requires:       perl-POE
25 Requires:       perl-gtk
26 Requires:       perl-gtk-GladeXML
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 A simple helper module that lets you connect callback names from your
32 .glade file with methods of an object. These methods are called as POE
33 postback methods.
34
35 %description -l pl.UTF-8
36 Prosty moduł pomocniczy pozwalający na łączenie nazw callbacków z
37 pliku .glade z metodami obiektu. Te metody są nazywane tak, jak metody
38 postback POE.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %{perl_vendorlib}/%{pdir}/*/*.pm
62 %{_mandir}/man3/*
This page took 0.073332 seconds and 2 git commands to generate.