]> git.pld-linux.org Git - packages/perl-VRML.git/blame - perl-VRML.spec
use generic url
[packages/perl-VRML.git] / perl-VRML.spec
CommitLineData
3fa7643c 1#
2# Conditional build:
3%bcond_with tests # perform "make test" (needs working, not busy /dev/audio!)
ee35f6d4
ER
4
5%define pdir VRML
d32bceba 6%include /usr/lib/rpm/macros.perl
a5fee979 7Summary: VRML Perl module - specification independent VRML methods (1.0, 2.0, 97)
6566109a 8Summary(pl.UTF-8): Moduł Perla VRML - metody VRML niezależne od specyfikacji (1.0, 2.0, 97)
763cdde0 9Name: perl-VRML
be9992c3 10Version: 1.10
11Release: 1
3fa7643c 12License: GPL v2+
763cdde0 13Group: Development/Languages/Perl
47b94474 14Source0: http://www.cpan.org/modules/by-module/VRML/VRML-%{version}.tar.gz
be9992c3 15# Source0-md5: 989d97ca95b49a032ea1d932dd0576bc
ee35f6d4 16URL: http://search.cpan.org/dist/VRML/
d7157282 17BuildRequires: perl-devel >= 1:5.8.0
76e3e501 18BuildRequires: rpm-perlprov >= 3.0.3-16
0f2a3ad6 19BuildArch: noarch
3689ba04 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
763cdde0 21
22%description
3b618741 23These modules were conceived for the production of VRML worlds on WWW
76e3e501 24servers via CGI and/or for generating abstract worlds. They are the
ee35f6d4
ER
25clarity of Perl scripts with VRML code to increase and (hopefully) for
26VRML beginners the entrance in VRML facilitate.
76e3e501 27
9057c61e
JR
28%description -l pl.UTF-8
29Te moduły były pomyślane do tworzenia światów VRML na serwerach WWW
30poprzez CGI i/lub generowania abstrakcyjnych światów. Łączą klarowność
31skryptów Perla z kodem VRML, aby uprzystępnić tworzenie VRML,
32szczególnie początkującym.
763cdde0 33
34%prep
35%setup -q -n VRML-%{version}
36
37%build
be98d638 38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
ef47f283 40%{__make}
763cdde0 41
3fa7643c 42%{?with_tests:%{__make} test}
43
763cdde0 44%install
45rm -rf $RPM_BUILD_ROOT
7f558650 46install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
763cdde0 47
be98d638 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
ee35f6d4 50cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
763cdde0 51
763cdde0 52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
76e3e501 57%doc *.TXT
be98d638 58%{perl_vendorlib}/VRML.pm
59%{perl_vendorlib}/VRML
763cdde0 60%{_mandir}/man3/*
7f558650 61%{_examplesdir}/%{name}-%{version}
This page took 0.179876 seconds and 4 git commands to generate.