]> git.pld-linux.org Git - packages/perl-Gnome2-VFS.git/blame - perl-Gnome2-VFS.spec
perl 5.38.0 rebuild
[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#
553d695a 5%define pdir Gnome2
6%define pnam 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
a85de333 10Version: 1.084
b58d148c 11Release: 4
6268049f 12License: LGPL v2+
9ddfe430 13Group: Development/Languages/Perl
a85de333
JB
14Source0: https://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz
15# Source0-md5: 1dada72fb56a97e3397c9cb4304f81ab
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 20BuildRequires: perl-Glib >= 1.120
9ddfe430 21BuildRequires: perl-devel >= 1:5.8.0
22BuildRequires: rpm-perlprov >= 4.1-13
188541ac 23BuildRequires: rpmbuild(macros) >= 1.745
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
a85de333
JB
32Note: this module is deprecated and no longer maintained.
33
67f155ee
JR
34%description -l pl.UTF-8
35Moduł VFS pozwala programistom perlowym na używanie biblioteki GNOME
9ddfe430 36Virtual File System.
37
a85de333
JB
38Uwaga: ten moduł jest przestarzały i nie jest już utrzymywany.
39
e75eb68d
JB
40%package devel
41Summary: Development files for Perl Gnome2-VFS bindings
42Summary(pl.UTF-8): Pliki programistyczne wiązań Gnome2-VFS dla Perla
43Group: Development/Languages/Perl
44Requires: %{name} = %{version}-%{release}
45Requires: gnome-vfs2-devel >= 2.14.1
46Requires: perl-Cairo-devel
47Requires: perl-Glib >= 1.120
48
49%description devel
50Development files for Perl Gnome2-VFS bindings.
51
52%description devel -l pl.UTF-8
53Pliki programistyczne wiązań Gnome2-VFS dla Perla.
54
9ddfe430 55%prep
553d695a 56%setup -q -n %{pdir}-%{pnam}-%{version}
9ddfe430 57
58%build
59%{__perl} Makefile.PL \
60 INSTALLDIRS=vendor
61
62%{__make} \
81317f3f 63 CC="%{__cc}" \
9ddfe430 64 OPTIMIZE="%{rpmcflags}"
65
66%{?with_tests:%{__make} test}
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
8760d876 71%{__make} pure_install \
9ddfe430 72 DESTDIR=$RPM_BUILD_ROOT
73
e75eb68d 74%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/VFS/{*,*/*,*/*/*}.pod
9ddfe430 75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(644,root,root,755)
e75eb68d
JB
81%doc NEWS README
82%{perl_vendorarch}/Gnome2/VFS.pm
9ddfe430 83%dir %{perl_vendorarch}/Gnome2/VFS
8760d876 84%dir %{perl_vendorarch}/auto/Gnome2/VFS
e75eb68d 85%attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/VFS/VFS.so
6268049f 86%{_mandir}/man3/Gnome2::VFS*.3pm*
e75eb68d
JB
87
88%files devel
89%defattr(644,root,root,755)
90%{perl_vendorarch}/Gnome2/VFS/Install
This page took 0.098389 seconds and 4 git commands to generate.