]> git.pld-linux.org Git - packages/perl-GD-SIRDS.git/blob - perl-GD-SIRDS.spec
use generic url
[packages/perl-GD-SIRDS.git] / perl-GD-SIRDS.spec
1 %define         pdir    GD
2 %define         pnam    SIRDS
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
6 Name:           perl-GD-SIRDS
7 Version:        0.02
8 Release:        4
9 # same as perl
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
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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
24 output.
25
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.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc Changes README
51 %{perl_vendorlib}/GD/SIRDS.pm
52 %{_mandir}/man3/*
This page took 0.066728 seconds and 3 git commands to generate.