]> git.pld-linux.org Git - packages/perl-Verilog-Perl.git/blame - perl-Verilog-Perl.spec
- pl, generic URL
[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
25a51b42 11Version: 2.372
c55bcf2a
MP
12Release: 0.1
13License: LGPL or Perl Artistic License
14Group: Development/Languages/Perl
3625327e 15Source0: http://www.cpan.org/modules/by-module/Verilog/%{pdir}-%{pnam}-%{version}.tar.gz
25a51b42 16# Source0-md5: b879520aa1f4b05c01f5cfa2bcdfaa12
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
54%{__make}
55
56%{?with_tests:%{__make} test}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67# maybe bin/man1 should be moved to another package
68%files
69%defattr(644,root,root,755)
70%doc Changes README
3625327e 71%attr(755,root,root) %{_bindir}/*
c55bcf2a
MP
72%dir %{perl_vendorarch}/Verilog
73%{perl_vendorarch}/Verilog/*.pm
74%dir %{perl_vendorarch}/Verilog/Netlist
75%{perl_vendorarch}/Verilog/Netlist/*.pm
76%dir %{perl_vendorarch}/auto/Verilog/Preproc
77%{perl_vendorarch}/auto/Verilog/Preproc/Preproc*
c55bcf2a 78%{_mandir}/man1/*
3625327e 79%{_mandir}/man3/*
This page took 0.081965 seconds and 4 git commands to generate.