]> git.pld-linux.org Git - packages/perl-Gnome2-VFS.git/blob - perl-Gnome2-VFS.spec
- tabs in preamble
[packages/perl-Gnome2-VFS.git] / perl-Gnome2-VFS.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pnam    Gnome2-VFS
7 Summary:        Perl bindings for the GNOME Virtual File System
8 Summary(pl.UTF-8):      Dowiązania Perla dla biblioteki GNOME Virtual File System
9 Name:           perl-Gnome2-VFS
10 Version:        1.061
11 Release:        1
12 License:        LGPL
13 Group:          Development/Languages/Perl
14 Source0:        http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
15 # Source0-md5:  2a9b4f0f380873265bd87754e5f17719
16 URL:            http://gtk2-perl.sourceforge.net/
17 BuildRequires:  gnome-vfs2-devel >= 2.14.1
18 BuildRequires:  perl-ExtUtils-Depends >= 0.201
19 BuildRequires:  perl-ExtUtils-PkgConfig >= 1.03
20 BuildRequires:  perl-Glib >= 1.120
21 BuildRequires:  perl-Gtk2 >= 1.121
22 BuildRequires:  perl-devel >= 1:5.8.0
23 BuildRequires:  rpm-perlprov >= 4.1-13
24 Requires:       gnome-vfs2-libs >= 2.14.1
25 Requires:       perl-Glib >= 1.120
26 Requires:       perl-Gtk2 >= 1.121
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 The VFS module allows a perl developer to use the GNOME Virtual File
31 System.
32
33 %description -l pl.UTF-8
34 Moduł VFS pozwala programistom perlowym na używanie biblioteki GNOME
35 Virtual File System.
36
37 %prep
38 %setup -q -n %{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43
44 %{__make} \
45         OPTIMIZE="%{rpmcflags}"
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} pure_install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/VFS/{*,*/*,*/*/*}.pod
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc ChangeLog NEWS README
63 %dir %{perl_vendorarch}/Gnome2/VFS
64 %{perl_vendorarch}/Gnome2/VFS/Install
65 %{perl_vendorarch}/Gnome2/*.pm
66 %dir %{perl_vendorarch}/auto/Gnome2/VFS
67 %attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/VFS/*.so
68 %{perl_vendorarch}/auto/Gnome2/VFS/*.bs
69 %{_mandir}/man3/*
This page took 0.053623 seconds and 3 git commands to generate.