]> git.pld-linux.org Git - packages/perl-Parse-Dia-SQL.git/blob - perl-Parse-Dia-SQL.spec
- 0.16
[packages/perl-Parse-Dia-SQL.git] / perl-Parse-Dia-SQL.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Parse
7 %define pnam    Dia-SQL
8 Summary:        Parse::Dia::SQL - Convert Dia class diagrams into SQL
9 #Summary(pl.UTF-8):     
10 Name:           perl-Parse-Dia-SQL
11 Version:        0.16
12 Release:        1
13 License:        GPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Parse/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  d5500c9a8ec1d8fe5182236c6d41d22a
17 URL:            http://search.cpan.org/dist/Parse-Dia-SQL/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Log-Dispatch-FileRotate
22 BuildRequires:  perl-Log-Log4perl
23 BuildRequires:  perl-Test-Exception
24 BuildRequires:  perl-Text-Table
25 BuildRequires:  perl-XML-DOM
26 %endif
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Parse::Dia::SQL converts Dia class diagrams into SQL.
32
33 # %description -l pl.UTF-8
34 # TODO
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} pure_install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %attr(755,root,root) %{_bindir}/*
58 %doc AUTHORS Changes README TODO
59 %{perl_vendorlib}/Parse/Dia
60 %{_mandir}/man?/*
This page took 0.089768 seconds and 4 git commands to generate.