source: projects/specs/trunk/p/perl-Parse-Yapp/perl-Parse-Yapp-vl.spec @ 9062

Revision 9062, 3.5 KB checked in by inagaki, 9 years ago (diff)

2014-11-05 Ryoichi INAGAKI <ryo1@…>

  • perl-Crypt-DES: updated
  • perl-Crypt-DES_EDE3: changed Group
  • perl-Crypt-PasswdMD5, perl-Parse-Yapp, perl-XML-Encoding, perl-libxml-perl: rebuilt


Line 
1%define _use_internal_dependency_generator 0
2
3Summary: Perl extension for generating and using LALR parsers.
4Name: perl-Parse-Yapp
5Version: 1.05
6Release: 34%{?_dist_release}
7License: distributable
8Group: Development/Libraries
9URL: http://search.cpan.org/~fdesar/Parse-Yapp/
10
11Source0: http://search.cpan.org/CPAN/authors/id/F/FD/FDESAR/Parse-Yapp-%{version}.tar.gz
12
13BuildArch: noarch
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: perl(ExtUtils::MakeMaker)
16Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18Vendor: Project Vine
19Distribution: Vine Linux
20
21%description
22Parse::Yapp (Yet Another Perl Parser compiler) is a collection of
23modules that let you generate and use yacc like thread safe
24(reentrant) parsers with perl object oriented interface.  The script
25yapp is a front-end to the Parse::Yapp module and let you easily
26create a Perl OO parser from an input grammar file.
27
28%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
29# Provide perl-specific find-{provides,requires}.
30%define __find_provides /usr/lib/rpm/find-provides.perl
31%define __find_requires /usr/lib/rpm/find-requires.perl
32%endif
33
34%prep
35%setup -q -n Parse-Yapp-%{version}
36## fix file permission
37%__chmod 0644 README
38find lib -type f | xargs chmod 0644
39
40%build
41CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
42make
43
44%install
45rm -rf $RPM_BUILD_ROOT
46mkdir -p $RPM_BUILD_ROOT%{_prefix}
47make install DESTDIR=$RPM_BUILD_ROOT
48
49[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
50
51find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
52
53find $RPM_BUILD_ROOT/usr -type f -print |
54        sed "s@^$RPM_BUILD_ROOT@@g" |
55        grep -v perllocal.pod |
56        grep -v "\.packlist" > Parse-Yapp-%{version}-filelist
57if [ "$(cat Parse-Yapp-%{version}-filelist)X" = "X" ] ; then
58    echo "ERROR: EMPTY FILE LIST"
59    exit -1
60fi
61
62%check
63make test
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68
69%files -f Parse-Yapp-%{version}-filelist
70%defattr(-,root,root)
71%doc README Changes
72%dir %{perl_vendorlib}/Parse
73%dir %{perl_vendorlib}/Parse/Yapp
74
75%changelog
76* Wed Nov  5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.05-34
77- rebuilt with perl 5.16.3
78- updated URL
79
80* Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.05-33
81- fix file permission
82- add documents
83- add directories in files
84
85* Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.05-32vl6
86- build with perl 5.12.3
87- defined __find_{provides,requires} with vl4 and vl5
88- add Vendor and Distribution tags
89
90* Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 1.05-31vl5
91- applied new versioning policy
92
93* Sat Sep  9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.05-30vl6
94- installed files to vendor_perl
95- changed Group to Development/Libraries
96
97* Sun Jan  2 2005 IWAI, Masaharu <iwai@alib.jp> 1.05-30vl5
98- build on perl-5.8.6-0vl1
99
100* Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.05-30vl4
101- built on perl-5.8.2
102
103* Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.05-30vl3
104- built on perl-5.8.1
105
106* Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 1.05-30vl2
107- build on perl-5.8.0
108
109* Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 1.05-30vl1
110- Build for VineLinux
111
112* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
113- version bump and rebuild
114
115* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
116- automated release bump and build
117
118* Tue Jun  4 2002 Chip Turner <cturner@redhat.com>
119- properly claim directories owned by package so they are removed when package is removed
120
121* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
122- automated rebuild
123
124* Fri Dec 7 2001 root <root@redhat.com>
125- Spec file was autogenerated.
Note: See TracBrowser for help on using the repository browser.