]> git.pld-linux.org Git - packages/perl-Verilog-Perl.git/blame - perl-Verilog-Perl.spec
- up to 2.380, rel 1, builds here
[packages/perl-Verilog-Perl.git] / perl-Verilog-Perl.spec
CommitLineData
c55bcf2a
MP
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Verilog
7%define pnam Perl
3625327e
JB
8Summary: Verilog::Perl - an Perl way to handle Verilog files
9Summary(pl.UTF-8): Verilog::Perl - perlowy sposób obsługi plików Verilog
c55bcf2a 10Name: perl-Verilog-Perl
545d208c
MP
11Version: 2.380
12Release: 1
c55bcf2a
MP
13License: LGPL or Perl Artistic License
14Group: Development/Languages/Perl
545d208c
MP
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 536d4e72be7e96b5cc81fe5e9dc90ecb
3625327e 17URL: http://search.cpan.org/dist/Verilog-Perl/
c55bcf2a
MP
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
c55bcf2a
MP
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
3625327e
JB
23Verilog::Parser, Verilog::Preproc, and other Perl modules useful for
24manipulation of Verilog files. The Verilog::Parser package will
25tokenize a Verilog file when the parse() method is called and invoke
26various callback methods. This is useful for extracting information
27and editing files while retaining all context. For netlist like
28extractions, see Verilog::Netlist. Verilog::Preproc reads Verilog
29files, and preprocesses them according to the Verilog 2001
30specification. Programs can be easily converted from reading a
c55bcf2a 31IO::File into reading preprocessed output from Verilog::Preproc.
3625327e
JB
32Verilog::Netlist contains interconnect information about a whole
33design database.
c55bcf2a 34
3625327e
JB
35%description -l pl.UTF-8
36Verilog::Parser, Verilog::Preproc i inne moduły Perla przydatne do
37obróbki plików Verilog. Pakiet Verilog::Parser po wywołaniu metody
38parse() zamienia plik Verilog na tokeny i wykonuje różne metody
39wywołań zwrotnych. Jest to przydatne przy wyciąganiu informacji i
40modyfikowaniu plików z zachowaniem całego kontekstu. Do wyciągania
41informacji w stylu netlist można użyć Verilog::Netlist.
42Verilog::Preproc czyta pliki Verilog i przetwarza je zgodnie ze
43specyfikacją Verilog 2001. Można łatwo przekształcać programy z
44odczytu za pomocą IO::File na czytanie przetworzonego wyjścia z
45Verilog::Preproc. Verilog::Netlist zawiera dołączone informacje o
46całej bazie projektu.
c55bcf2a
MP
47
48%prep
49%setup -q -n %{pdir}-%{pnam}-%{version}
50
51%build
52%{__perl} Makefile.PL \
53 INSTALLDIRS=vendor
1a7b2032
JB
54%{__make} \
55 OPTIMIZE="%{rpmcflags}"
c55bcf2a
MP
56
57%{?with_tests:%{__make} test}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68# maybe bin/man1 should be moved to another package
69%files
70%defattr(644,root,root,755)
71%doc Changes README
3625327e 72%attr(755,root,root) %{_bindir}/*
c55bcf2a
MP
73%dir %{perl_vendorarch}/Verilog
74%{perl_vendorarch}/Verilog/*.pm
75%dir %{perl_vendorarch}/Verilog/Netlist
76%{perl_vendorarch}/Verilog/Netlist/*.pm
77%dir %{perl_vendorarch}/auto/Verilog/Preproc
1a7b2032
JB
78%{perl_vendorarch}/auto/Verilog/Preproc/Preproc.bs
79%attr(755,root,root) %{perl_vendorarch}/auto/Verilog/Preproc/Preproc.so
c55bcf2a 80%{_mandir}/man1/*
3625327e 81%{_mandir}/man3/*
This page took 0.040981 seconds and 4 git commands to generate.