3 %bcond_without tests # perform "make test"
6 %define pnam Display-SWF
7 %include /usr/lib/rpm/macros.perl
8 Summary: Create SWF (Flash) Movies for visualizing Alzabo database schemas
9 Summary(pl.UTF-8): Tworzenie filmów SWF (Flash) do wizualizacji schematów baz danych Alzabo
10 Name: perl-Alzabo-Display-SWF
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 380e05fd0287865310e742756d2a2688
18 Patch0: %{name}-regexps.patch
19 URL: http://search.cpan.org/dist/Alzabo-Display-SWF/
20 BuildRequires: perl-Module-Build
21 BuildRequires: perl-devel >= 1:5.8.0
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRequires: perl-Alzabo >= 0.72
25 BuildRequires: perl-DBD-mysql
26 BuildRequires: perl-GraphViz >= 1.6
27 BuildRequires: perl-YAML
28 BuildRequires: perl-ming
31 Requires: perl-GraphViz
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 This Module uses the information provided by an Alzabo database schema
39 and - with the help of the GraphViz module and the Ming library -
40 creates a SWF Movie which contains a visualization of the data model.
42 %description -l pl.UTF-8
43 Ten moduł używa informacji dostarczonych przez schemat bazy danych
44 Alzabo i - przy pomocy modułu GraphViz oraz biblioteki Ming - tworzy
45 film SWF zawierający wizualizację modelu danych.
48 %setup -q -n %{pdir}-%{pnam}-%{version}
54 destdir=$RPM_BUILD_ROOT
57 %{?with_tests:./Build test}
60 rm -rf $RPM_BUILD_ROOT
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc README Changes etc/[cm]*
70 %dir %{perl_vendorlib}/Alzabo/Display
71 %{perl_vendorlib}/Alzabo/Display/*