]> git.pld-linux.org Git - packages/perl-Gnome2-VFS.git/blame - perl-Gnome2-VFS.spec
- tabs in preamble
[packages/perl-Gnome2-VFS.git] / perl-Gnome2-VFS.spec
CommitLineData
38aecad6 1#
9ddfe430 2# Conditional build:
ad469510 3%bcond_with tests # perform "make test"
9ddfe430 4#
5%include /usr/lib/rpm/macros.perl
fbb4405e 6%define pnam Gnome2-VFS
8edbdd18 7Summary: Perl bindings for the GNOME Virtual File System
97f30c20 8Summary(pl.UTF-8): Dowiązania Perla dla biblioteki GNOME Virtual File System
38aecad6 9Name: perl-Gnome2-VFS
8760d876
JB
10Version: 1.061
11Release: 1
334a35ef 12License: LGPL
9ddfe430 13Group: Development/Languages/Perl
14Source0: http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
8760d876 15# Source0-md5: 2a9b4f0f380873265bd87754e5f17719
f81a942f 16URL: http://gtk2-perl.sourceforge.net/
84687b3b 17BuildRequires: gnome-vfs2-devel >= 2.14.1
c9abc558 18BuildRequires: perl-ExtUtils-Depends >= 0.201
19BuildRequires: perl-ExtUtils-PkgConfig >= 1.03
84687b3b
JB
20BuildRequires: perl-Glib >= 1.120
21BuildRequires: perl-Gtk2 >= 1.121
9ddfe430 22BuildRequires: perl-devel >= 1:5.8.0
23BuildRequires: rpm-perlprov >= 4.1-13
84687b3b
JB
24Requires: gnome-vfs2-libs >= 2.14.1
25Requires: perl-Glib >= 1.120
26Requires: perl-Gtk2 >= 1.121
9ddfe430 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
aedeccaf 30The VFS module allows a perl developer to use the GNOME Virtual File
9ddfe430 31System.
32
67f155ee
JR
33%description -l pl.UTF-8
34Moduł VFS pozwala programistom perlowym na używanie biblioteki GNOME
9ddfe430 35Virtual 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
50rm -rf $RPM_BUILD_ROOT
51
8760d876 52%{__make} pure_install \
9ddfe430 53 DESTDIR=$RPM_BUILD_ROOT
54
8760d876 55rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/VFS/{*,*/*,*/*/*}.pod
9ddfe430 56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
8760d876 62%doc ChangeLog NEWS README
9ddfe430 63%dir %{perl_vendorarch}/Gnome2/VFS
9ddfe430 64%{perl_vendorarch}/Gnome2/VFS/Install
65%{perl_vendorarch}/Gnome2/*.pm
8760d876
JB
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
9ddfe430 69%{_mandir}/man3/*
This page took 0.094488 seconds and 4 git commands to generate.