]> git.pld-linux.org Git - packages/perl-Gnome2-VFS.git/blame - perl-Gnome2-VFS.spec
- updated to 1.082
[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
e75eb68d
JB
11Version: 1.082
12Release: 1
6268049f 13License: LGPL v2+
9ddfe430 14Group: Development/Languages/Perl
e75eb68d
JB
15Source0: http://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 374e7d611d080d893bb3da9d40c64733
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 21BuildRequires: perl-Glib >= 1.120
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
9ddfe430 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
aedeccaf 29The VFS module allows a perl developer to use the GNOME Virtual File
9ddfe430 30System.
31
67f155ee
JR
32%description -l pl.UTF-8
33Moduł VFS pozwala programistom perlowym na używanie biblioteki GNOME
9ddfe430 34Virtual File System.
35
e75eb68d
JB
36%package devel
37Summary: Development files for Perl Gnome2-VFS bindings
38Summary(pl.UTF-8): Pliki programistyczne wiązań Gnome2-VFS dla Perla
39Group: Development/Languages/Perl
40Requires: %{name} = %{version}-%{release}
41Requires: gnome-vfs2-devel >= 2.14.1
42Requires: perl-Cairo-devel
43Requires: perl-Glib >= 1.120
44
45%description devel
46Development files for Perl Gnome2-VFS bindings.
47
48%description devel -l pl.UTF-8
49Pliki programistyczne wiązań Gnome2-VFS dla Perla.
50
9ddfe430 51%prep
553d695a 52%setup -q -n %{pdir}-%{pnam}-%{version}
9ddfe430 53
54%build
55%{__perl} Makefile.PL \
56 INSTALLDIRS=vendor
57
58%{__make} \
81317f3f 59 CC="%{__cc}" \
9ddfe430 60 OPTIMIZE="%{rpmcflags}"
61
62%{?with_tests:%{__make} test}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
8760d876 67%{__make} pure_install \
9ddfe430 68 DESTDIR=$RPM_BUILD_ROOT
69
e75eb68d 70%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/VFS/{*,*/*,*/*/*}.pod
9ddfe430 71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
e75eb68d
JB
77%doc NEWS README
78%{perl_vendorarch}/Gnome2/VFS.pm
9ddfe430 79%dir %{perl_vendorarch}/Gnome2/VFS
8760d876 80%dir %{perl_vendorarch}/auto/Gnome2/VFS
e75eb68d 81%attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/VFS/VFS.so
6268049f 82%{_mandir}/man3/Gnome2::VFS*.3pm*
e75eb68d
JB
83
84%files devel
85%defattr(644,root,root,755)
86%{perl_vendorarch}/Gnome2/VFS/Install
This page took 0.14396 seconds and 4 git commands to generate.