rpms/perl-Hardware-Vhdl-Lexer/devel import.log, NONE, 1.1 perl-Hardware-Vhdl-Lexer.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chitlesh GOORAH chitlesh at fedoraproject.org
Wed Dec 24 14:18:06 UTC 2008


Author: chitlesh

Update of /cvs/pkgs/rpms/perl-Hardware-Vhdl-Lexer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16081/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-Hardware-Vhdl-Lexer.spec 
Log Message:
new package


--- NEW FILE import.log ---
perl-Hardware-Vhdl-Lexer-1_00-2_fc10:HEAD:perl-Hardware-Vhdl-Lexer-1.00-2.fc10.src.rpm:1230128163


--- NEW FILE perl-Hardware-Vhdl-Lexer.spec ---
Name:           perl-Hardware-Vhdl-Lexer
Version:        1.00
Release:        2%{?dist}
Summary:        Split VHDL code into lexical tokens
License:        GPL+ or Artistic

Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Hardware-Vhdl-Lexer/
Source0:        http://www.cpan.org/authors/id/M/MY/MYKL/Hardware-Vhdl-Lexer-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  perl(Class::Std)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Readonly) >= 1.03
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod::Coverage)
BuildRequires:  perl(Test::Pod)

Requires:       perl(Readonly) >= 1.03
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# %%dir %%{perl_vendorlib}/Hardware/Vhdl/ is owned by perl-Hardware-Vhdl-Parser
Requires:       perl-Hardware-Vhdl-Parser


%description
Hardware::Vhdl::Lexer splits VHDL code into lexical tokens. To use it, you
need to first create a lexer object, passing in something which will supply
chunks of VHDL code to the lexer. Repeated calls to the get_next_token
method of the lexer will then return VHDL tokens (in scalar context) or a
token type code and the token (in list context). get_next_token returns
undef when there are no more tokens to be read.


%prep
%setup -q -n Hardware-Vhdl-Lexer-%{version}

# rpmlint : line endings spurious-executable-perm
for i in Changes README lib/Hardware/Vhdl/Lexer.pm ; do
  echo "Fixing wrong-file-end-of-line-encoding : $i"
  %{__sed} 's/\r//' $i > $i.rpmlint
  touch -r $i $i.rpmlint;
  %{__mv} $i.rpmlint $i
  echo "Fixing perms : $i"
  chmod 0644 $i
done

# workaround for bug in rpmbuild
# disables the Requires of modules in commented code
%{__sed} "s|use regexp-generating|#use regexp-generating|" \
  lib/Hardware/Vhdl/Lexer.pm > Lexer.pm
touch -r lib/Hardware/Vhdl/Lexer.pm Lexer.pm;
%{__mv} Lexer.pm lib/Hardware/Vhdl/Lexer.pm

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/Hardware/Vhdl/Lexer.pm
%{_mandir}/man3/*

%changelog
* Sun Dec 21 2008 Chitlesh GOORAH <chitlesh [AT] fedoraproject DOT org> 1.00-2
- updated as suggestion on review RHBZ 477515#c2

* Sun Dec 14 2008 Chitlesh GOORAH <chitlesh [AT] fedoraproject DOT org> 1.00-1
- Specfile autogenerated by cpanspec 1.77.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Hardware-Vhdl-Lexer/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Dec 2008 02:49:05 -0000	1.1
+++ .cvsignore	24 Dec 2008 14:17:36 -0000	1.2
@@ -0,0 +1 @@
+Hardware-Vhdl-Lexer-1.00.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Hardware-Vhdl-Lexer/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Dec 2008 02:49:05 -0000	1.1
+++ sources	24 Dec 2008 14:17:36 -0000	1.2
@@ -0,0 +1 @@
+e73068c6d572d4ab914225ce905b6019  Hardware-Vhdl-Lexer-1.00.tar.gz




More information about the fedora-extras-commits mailing list