1 %include /usr/lib/rpm/macros.perl
2 Summary: CDB_File perl module
3 Summary(pl): Modu³ perla CDB_File
8 Group: Development/Languages/Perl
9 Source0: http://www.cpan.org/modules/by-module/CDB_File/CDB_File-%{version}.tar.gz
10 BuildRequires: rpm-perlprov >= 3.0.3-16
11 BuildRequires: perl >= 5.6.1
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 CDB_File - perl interface to CDB.
18 CDB_File - interfejs do CDB dla perla.
21 %setup -q -n CDB_File-%{version}
25 %{__make} OPTIMIZE="%{rpmcflags}"
28 rm -rf $RPM_BUILD_ROOT
30 %{__make} install DESTDIR=$RPM_BUILD_ROOT
33 rm -rf $RPM_BUILD_ROOT
36 %defattr(644,root,root,755)
37 %doc README ACKNOWLEDGE CHANGES
38 %{perl_sitearch}/CDB_File.pm
39 %dir %{perl_sitearch}/auto/CDB_File
40 %{perl_sitearch}/auto/CDB_File/CDB_File.bs
41 %attr(755,root,root) %{perl_sitearch}/auto/CDB_File/CDB_File.so