SPECS: perl-Verilog-Perl.spec (NEW) - initial

agaran agaran at pld-linux.org
Mon Mar 5 13:01:56 CET 2007


Author: agaran                       Date: Mon Mar  5 12:01:56 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   perl-Verilog-Perl.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Verilog-Perl.spec
diff -u /dev/null SPECS/perl-Verilog-Perl.spec:1.1
--- /dev/null	Mon Mar  5 13:01:56 2007
+++ SPECS/perl-Verilog-Perl.spec	Mon Mar  5 13:01:51 2007
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Verilog
+%define	pnam	Perl
+Summary:	perl(Verilog::Perl) - an perl way to handle Verilog files
+#Summary(pl):	
+Name:		perl-Verilog-Perl
+Version:	2.330
+Release:	0.1
+License:	LGPL or Perl Artistic License
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	0f5c30639f22aebcadf6aaff4f615bac
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Verilog::Parser, Verilog::Preproc, and other perl modules usefull for
+manipulation of verilog files. The Verilog::Parser package will tokenize a
+Verilog file when the parse() method is called and invoke various callback
+methods. This is useful for extracting information and editing files while
+retaining all context. For netlist like extractions, see Verilog::Netlist.
+Verilog::Preproc reads Verilog files, and preprocesses them according to the
+Verilog 2001 specification. Programs can be easily converted from reading a
+IO::File into reading preprocessed output from Verilog::Preproc.
+Verilog::Netlist contains interconnect information about a whole design
+database.
+
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# maybe bin/man1 should be moved to another package
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%dir %{perl_vendorarch}/Verilog
+%{perl_vendorarch}/Verilog/*.pm
+%dir %{perl_vendorarch}/Verilog/Netlist
+%{perl_vendorarch}/Verilog/Netlist/*.pm
+%dir %{perl_vendorarch}/auto/Verilog/Preproc
+%{perl_vendorarch}/auto/Verilog/Preproc/Preproc*
+%{_mandir}/man3/*
+%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/*
+
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/03/05 12:01:51  agaran
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list