]> git.pld-linux.org Git - packages/perl-Gnome2-VFS.git/blame - perl-Gnome2-VFS.spec
- rel 2
[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
6268049f 10Version: 1.080
f1e0040a 11Release: 2
6268049f 12License: LGPL v2+
9ddfe430 13Group: Development/Languages/Perl
14Source0: http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
6268049f 15# Source0-md5: a01ce775f19040276eae4f9e5ca6a59c
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} \
81317f3f 45 CC="%{__cc}" \
9ddfe430 46 OPTIMIZE="%{rpmcflags}"
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
8760d876 53%{__make} pure_install \
9ddfe430 54 DESTDIR=$RPM_BUILD_ROOT
55
8760d876 56rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/VFS/{*,*/*,*/*/*}.pod
9ddfe430 57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
8760d876 63%doc ChangeLog NEWS README
9ddfe430 64%dir %{perl_vendorarch}/Gnome2/VFS
9ddfe430 65%{perl_vendorarch}/Gnome2/VFS/Install
66%{perl_vendorarch}/Gnome2/*.pm
8760d876
JB
67%dir %{perl_vendorarch}/auto/Gnome2/VFS
68%attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/VFS/*.so
69%{perl_vendorarch}/auto/Gnome2/VFS/*.bs
6268049f 70%{_mandir}/man3/Gnome2::VFS*.3pm*
This page took 0.079065 seconds and 4 git commands to generate.