]> git.pld-linux.org Git - packages/perl-SQL-Statement.git/blob - perl-SQL-Statement.spec
- updated to 1.09
[packages/perl-SQL-Statement.git] / perl-SQL-Statement.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    SQL
7 %define         pnam    Statement
8 Summary:        SQL::Statement - SQL parsing and processing engine
9 Summary(pl):    SQL::Statement - silnik do przetwarzania i analizy SQL
10 Name:           perl-SQL-Statement
11 Version:        1.09
12 Release:        1
13 License:        GPL or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  d79fd51a7fb07b0341d3f829f97c1191
17 Patch0:         %{name}-warning.patch
18 BuildRequires:  perl-devel >= 5.6
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Modules from this package can be used stand-alone to parse SQL
25 statements or used with DBI and DBD::CSV, DBD::AnyData or other
26 drivers to create, modify, and query data in many kinds of formats
27 including XML, CSV, Fixed Length, Excel Spreadsheets and many others.
28
29 %description -l pl
30 Modu³y z tego pakietu mog± byæ u¿ywane samodzielnie do analizy
31 poleceñ SQL, jak te¿ razem ze sterownikami DBI i DBD::CSV,
32 DBD::AnyData lub innymi, do tworzenia i modyfikacji danych oraz
33 do wykonywania zapytañ przy u¿yciu danych w wielu formatach, w³±czaj±c
34 XML, CSV, dane o sta³ym rozmiarze, arkusze Excela i wiele innych.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %patch0 -p1
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43 %{__make}
44
45 %{!?_without_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes README
58 %{perl_vendorlib}/SQL/Dialects
59 %{perl_vendorlib}/SQL/Statement
60 %{perl_vendorlib}/SQL/*.pm
61 %{_mandir}/man3/*
This page took 0.036605 seconds and 3 git commands to generate.