]> git.pld-linux.org Git - packages/perl-Gnome2.git/blob - perl-Gnome2.spec
- x32 rebuild
[packages/perl-Gnome2.git] / perl-Gnome2.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (requires X server)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Gnome2
7 Summary:        Perl interface to the 2.x series of the GNOME libraries
8 Summary(pl.UTF-8):      Interfejs perlowy do bibliotek GNOME 2.x
9 Name:           perl-Gnome2
10 Version:        1.045
11 Release:        2
12 License:        LGPL
13 Group:          Development/Languages/Perl
14 Source0:        http://download.sourceforge.net/gtk2-perl/%{pdir}-%{version}.tar.gz
15 # Source0-md5:  95c06139f9d950df17c9cb0340c74168
16 URL:            http://gtk2-perl.sourceforge.net/
17 BuildRequires:  libbonoboui-devel >= 2.0.0
18 BuildRequires:  libgnomeui-devel >= 2.14.1
19 BuildRequires:  perl-ExtUtils-Depends >= 0.201
20 BuildRequires:  perl-ExtUtils-PkgConfig >= 1.03
21 BuildRequires:  perl-Glib >= 1.140
22 BuildRequires:  perl-Gnome2-Canvas >= 1.002
23 BuildRequires:  perl-Gnome2-VFS >= 1.060
24 BuildRequires:  perl-Gtk2-devel >= 1.140
25 BuildRequires:  perl-devel >= 1:5.8.0
26 BuildRequires:  rpm-perlprov >= 4.1-13
27 Requires:       libbonoboui >= 2.0.0
28 Requires:       libgnomeui >= 2.14.1
29 Requires:       perl-Glib >= 1.140
30 Requires:       perl-Gnome2-Canvas >= 1.002
31 Requires:       perl-Gnome2-VFS >= 1.060
32 Requires:       perl-Gtk2 >= 1.140
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 The Gnome2 Perl module allows a Perl developer to use the GNOME 2
37 libraries.
38
39 %description -l pl.UTF-8
40 Moduł Perla Gnome2 pozwala programistom perlowym na używanie bibliotek
41 środowiska GNOME 2.
42
43 %prep
44 %setup -q -n %{pdir}-%{version}
45
46 %build
47 %{__perl} Makefile.PL \
48         INSTALLDIRS=vendor
49
50 %{__make} \
51         CC="%{__cc}" \
52         OPTIMIZE="%{rpmcflags}"
53
54 %{?with_tests:%{__make} test}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/{*,*/*}.pod
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc AUTHORS README TODO
70 %dir %{perl_vendorarch}/Gnome2/Install
71 %attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/*.so
72 %{perl_vendorarch}/Gnome2/Install/*
73 %{perl_vendorarch}/Gnome2.pm
74 %{_mandir}/man3/Gnome2*.3pm*
This page took 0.07778 seconds and 4 git commands to generate.