3 %include /usr/lib/rpm/macros.perl
4 Summary: GD::SIRDS Perl module - creates Single Image Random Dot Stereograms
5 Summary(pl.UTF-8): Moduł Perla GD::SIRDS - do tworzenia jednoobrazowych stereogramów
10 License: GPL v1+ or Artistic
11 Group: Development/Languages/Perl
12 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5: 0a7970cd1b66099e5584be972d8fb75f
14 URL: http://search.cpan.org/dist/GD-SIRDS/
15 BuildRequires: perl-GD
16 BuildRequires: perl-devel >= 1:5.8.0
17 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 GD::SIRDS module creates Single Image Random Dot Stereograms from a
23 source image or depth map. Uses GD::Image objects as its input and
26 %description -l pl.UTF-8
27 Moduł GD::SIRDS tworzy jednoobrazowe stereogramy z losowych kropek na
28 podstawie obrazu źródłowego lub mapy głębokości. Używa obiektów
29 GD::Image jako wejścia i wyjścia.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_vendorlib}/GD/SIRDS.pm