]> git.pld-linux.org Git - packages/perl-Gnome2-VFS.git/blob - perl-Gnome2-VFS.spec
ac7abdf0ced113a706bea3bab8e60384a3fd0e55
[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):    Dowi±zania Perla dla biblioteki GNOME Virtual File System
9 Name:           perl-Gnome2-VFS
10 Version:        1.003
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:  85db48b6ce0f1531ff5f2a91a05766f8
16 URL:            http://gtk2-perl.sf.net/
17 BuildRequires:  gnome-vfs2-devel >= 2.0.0
18 BuildRequires:  perl-ExtUtils-Depends >= 0.201
19 BuildRequires:  perl-ExtUtils-PkgConfig >= 1.03
20 BuildRequires:  perl-Glib >= 1.040
21 BuildRequires:  perl-Gtk2 >= 1.040
22 BuildRequires:  perl-devel >= 1:5.8.0
23 BuildRequires:  rpm-perlprov >= 4.1-13
24 Requires:       perl-Glib >= 1.040
25 Requires:       perl-Gtk2 >= 1.040
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 The VFS module allows a perl developer to use the GNOME Virtual File
30 System.
31
32 %description -l pl
33 Modu³ VFS pozwala programistom perlowym na u¿ywanie biblioteki GNOME
34 Virtual File System.
35
36 %prep
37 %setup -q -n %{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42
43 %{__make} \
44         OPTIMIZE="%{rpmcflags}"
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/VFS/{*,*/*}.pod
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc ChangeLog
62 %dir %{perl_vendorarch}/auto/Gnome2/VFS
63 %dir %{perl_vendorarch}/Gnome2/VFS
64 %attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/VFS/*.so
65 %{perl_vendorarch}/auto/Gnome2/VFS/*.bs
66 %{perl_vendorarch}/Gnome2/VFS/Install
67 %{perl_vendorarch}/Gnome2/*.pm
68 %{_mandir}/man3/*
This page took 0.061829 seconds and 2 git commands to generate.