]> git.pld-linux.org Git - packages/perl-Gnome2.git/blob - perl-Gnome2.spec
- converted to UTF-8
[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.040
11 Release:        2
12 License:        LGPL
13 Group:          Development/Languages/Perl
14 Source0:        http://dl.sourceforge.net/gtk2-perl/%{pdir}-%{version}.tar.gz
15 # Source0-md5:  0a2dbefaafc5884cbeaf88968ebfe3ad
16 URL:            http://gtk2-perl.sourceforge.net/
17 BuildRequires:  gtk+2-devel
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.120
22 BuildRequires:  perl-Gnome2-Canvas >= 1.002
23 BuildRequires:  perl-Gnome2-VFS >= 1.060
24 BuildRequires:  perl-Gtk2 >= 1.121
25 BuildRequires:  perl-devel >= 1:5.8.0
26 BuildRequires:  rpm-perlprov >= 4.1-13
27 Requires:       libgnomeui >= 2.14.1
28 Requires:       perl-Glib >= 1.120
29 Requires:       perl-Gnome2-Canvas >= 1.002
30 Requires:       perl-Gnome2-VFS >= 1.060
31 Requires:       perl-Gtk2 >= 1.121
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 The Gnome2 Perl module allows a Perl developer to use the GNOME 2
36 libraries.
37
38 %description -l pl.UTF-8
39 Moduł Perla Gnome2 pozwala programistom perlowym na używanie bibliotek
40 środowiska GNOME 2.
41
42 %prep
43 %setup -q -n %{pdir}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48
49 %{__make} \
50         OPTIMIZE="%{rpmcflags}"
51
52 %{?with_tests:%{__make} test}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/%{pdir}/{*,*/*}.pod
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc AUTHORS ChangeLog README TODO
68 %dir %{perl_vendorarch}/%{pdir}/Install
69 %attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/*.so
70 %{perl_vendorarch}/auto/%{pdir}/*.bs
71 %{perl_vendorarch}/%{pdir}/Install/*
72 %{perl_vendorarch}/%{pdir}.pm
73 %{_mandir}/man3/*
This page took 0.069904 seconds and 3 git commands to generate.