3 %bcond_with tests # perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Perl bindings for the GNOME Virtual File System
9 Summary(pl.UTF-8): Dowiązania Perla dla biblioteki GNOME Virtual File System
14 Group: Development/Languages/Perl
15 Source0: http://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 374e7d611d080d893bb3da9d40c64733
17 URL: http://gtk2-perl.sourceforge.net/
18 BuildRequires: gnome-vfs2-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-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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 The VFS module allows a perl developer to use the GNOME Virtual File
32 %description -l pl.UTF-8
33 Moduł VFS pozwala programistom perlowym na używanie biblioteki GNOME
37 Summary: Development files for Perl Gnome2-VFS bindings
38 Summary(pl.UTF-8): Pliki programistyczne wiązań Gnome2-VFS dla Perla
39 Group: Development/Languages/Perl
40 Requires: %{name} = %{version}-%{release}
41 Requires: gnome-vfs2-devel >= 2.14.1
42 Requires: perl-Cairo-devel
43 Requires: perl-Glib >= 1.120
46 Development files for Perl Gnome2-VFS bindings.
48 %description devel -l pl.UTF-8
49 Pliki programistyczne wiązań Gnome2-VFS dla Perla.
52 %setup -q -n %{pdir}-%{pnam}-%{version}
55 %{__perl} Makefile.PL \
60 OPTIMIZE="%{rpmcflags}"
62 %{?with_tests:%{__make} test}
65 rm -rf $RPM_BUILD_ROOT
67 %{__make} pure_install \
68 DESTDIR=$RPM_BUILD_ROOT
70 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/VFS/{*,*/*,*/*/*}.pod
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
78 %{perl_vendorarch}/Gnome2/VFS.pm
79 %dir %{perl_vendorarch}/Gnome2/VFS
80 %dir %{perl_vendorarch}/auto/Gnome2/VFS
81 %attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/VFS/VFS.so
82 %{_mandir}/man3/Gnome2::VFS*.3pm*
85 %defattr(644,root,root,755)
86 %{perl_vendorarch}/Gnome2/VFS/Install