/[packages]/cauldron/perl-Tie-DBI/current/SPECS/perl-Tie-DBI.spec
ViewVC logotype

Contents of /cauldron/perl-Tie-DBI/current/SPECS/perl-Tie-DBI.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28333 - (show annotations) (download)
Fri Jan 21 08:44:33 2011 UTC (10 years, 9 months ago) by jquelin
File size: 1119 byte(s)
fix make command
1 %define upstream_name Tie-DBI
2 %define upstream_version 1.05
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1
7
8 Summary: Tie hashes to DBI relational databases
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}/
12 Source0: http://www.cpan.org/modules/by-module/Tie/%{upstream_name}-%{upstream_version}.tar.gz
13
14
15 BuildArch: noarch
16
17
18 %description
19 This module allows you to tie Perl associative arrays (hashes) to SQL databases
20 using the DBI interface. The tied hash is associated with a table in a local or
21 networked database. One column becomes the hash key. Each row of the table
22 becomes an associative array, from which individual fields can be set or
23 retrieved.
24
25 %prep
26 %setup -q -n %{upstream_name}-%{upstream_version}
27
28 %build
29 %{__perl} Makefile.PL INSTALLDIRS=vendor
30 %make CFLAGS="%{optflags}"
31
32 %check
33 # test require a real database
34
35 %install
36 rm -rf %{buildroot}
37 %makeinstall_std
38
39 %clean
40 rm -rf %{buildroot}
41
42 %files
43 %defattr(-,root,root)
44 %doc Changes README META.yml
45 %{perl_vendorlib}/Tie
46 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.28