]>
Commit | Line | Data |
---|---|---|
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 | 7 | Summary: VRML Perl module - specification independent VRML methods (1.0, 2.0, 97) |
6566109a | 8 | Summary(pl.UTF-8): Moduł Perla VRML - metody VRML niezależne od specyfikacji (1.0, 2.0, 97) |
763cdde0 | 9 | Name: perl-VRML |
be9992c3 | 10 | Version: 1.10 |
11 | Release: 1 | |
3fa7643c | 12 | License: GPL v2+ |
763cdde0 | 13 | Group: Development/Languages/Perl |
47b94474 | 14 | Source0: http://www.cpan.org/modules/by-module/VRML/VRML-%{version}.tar.gz |
be9992c3 | 15 | # Source0-md5: 989d97ca95b49a032ea1d932dd0576bc |
ee35f6d4 | 16 | URL: http://search.cpan.org/dist/VRML/ |
d7157282 | 17 | BuildRequires: perl-devel >= 1:5.8.0 |
76e3e501 | 18 | BuildRequires: rpm-perlprov >= 3.0.3-16 |
0f2a3ad6 | 19 | BuildArch: noarch |
3689ba04 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
763cdde0 | 21 | |
22 | %description | |
3b618741 | 23 | These modules were conceived for the production of VRML worlds on WWW |
76e3e501 | 24 | servers via CGI and/or for generating abstract worlds. They are the |
ee35f6d4 ER |
25 | clarity of Perl scripts with VRML code to increase and (hopefully) for |
26 | VRML beginners the entrance in VRML facilitate. | |
76e3e501 | 27 | |
9057c61e JR |
28 | %description -l pl.UTF-8 |
29 | Te moduły były pomyślane do tworzenia światów VRML na serwerach WWW | |
30 | poprzez CGI i/lub generowania abstrakcyjnych światów. Łączą klarowność | |
31 | skryptów Perla z kodem VRML, aby uprzystępnić tworzenie VRML, | |
32 | szczegó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 |
45 | rm -rf $RPM_BUILD_ROOT | |
7f558650 | 46 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
763cdde0 | 47 | |
be98d638 | 48 | %{__make} install \ |
49 | DESTDIR=$RPM_BUILD_ROOT | |
ee35f6d4 | 50 | cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
763cdde0 | 51 | |
763cdde0 | 52 | %clean |
53 | rm -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} |