]> git.pld-linux.org Git - packages/perl-Gnome2-VFS.git/blame - perl-Gnome2-VFS.spec
- release 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
553d695a 6%define pdir Gnome2
7%define pnam VFS
8edbdd18 8Summary: Perl bindings for the GNOME Virtual File System
97f30c20 9Summary(pl.UTF-8): Dowiązania Perla dla biblioteki GNOME Virtual File System
38aecad6 10Name: perl-Gnome2-VFS
553d695a 11Version: 1.081
25fa7e03 12Release: 2
6268049f 13License: LGPL v2+
9ddfe430 14Group: Development/Languages/Perl
553d695a 15Source0: http://www.cpan.org/modules/by-module/Gnome2/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 3d220cbbe9f1ebc78d7047593f9cd633
f81a942f 17URL: http://gtk2-perl.sourceforge.net/
84687b3b 18BuildRequires: gnome-vfs2-devel >= 2.14.1
c9abc558 19BuildRequires: perl-ExtUtils-Depends >= 0.201
20BuildRequires: perl-ExtUtils-PkgConfig >= 1.03
84687b3b
JB
21BuildRequires: perl-Glib >= 1.120
22BuildRequires: perl-Gtk2 >= 1.121
9ddfe430 23BuildRequires: perl-devel >= 1:5.8.0
24BuildRequires: rpm-perlprov >= 4.1-13
84687b3b
JB
25Requires: gnome-vfs2-libs >= 2.14.1
26Requires: perl-Glib >= 1.120
27Requires: perl-Gtk2 >= 1.121
9ddfe430 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
aedeccaf 31The VFS module allows a perl developer to use the GNOME Virtual File
9ddfe430 32System.
33
67f155ee
JR
34%description -l pl.UTF-8
35Moduł VFS pozwala programistom perlowym na używanie biblioteki GNOME
9ddfe430 36Virtual File System.
37
38%prep
553d695a 39%setup -q -n %{pdir}-%{pnam}-%{version}
9ddfe430 40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
44
45%{__make} \
81317f3f 46 CC="%{__cc}" \
9ddfe430 47 OPTIMIZE="%{rpmcflags}"
48
49%{?with_tests:%{__make} test}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
8760d876 54%{__make} pure_install \
9ddfe430 55 DESTDIR=$RPM_BUILD_ROOT
56
8760d876 57rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/VFS/{*,*/*,*/*/*}.pod
9ddfe430 58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
8760d876 64%doc ChangeLog NEWS README
9ddfe430 65%dir %{perl_vendorarch}/Gnome2/VFS
9ddfe430 66%{perl_vendorarch}/Gnome2/VFS/Install
67%{perl_vendorarch}/Gnome2/*.pm
8760d876
JB
68%dir %{perl_vendorarch}/auto/Gnome2/VFS
69%attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/VFS/*.so
70%{perl_vendorarch}/auto/Gnome2/VFS/*.bs
6268049f 71%{_mandir}/man3/Gnome2::VFS*.3pm*
This page took 0.140964 seconds and 4 git commands to generate.