source: projects/specs/trunk/p/perl-YAML-LibYAML/perl-YAML-LibYAML-vl.spec @ 5864

Revision 5864, 3.5 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-YAML-LibYAML
2Version:        0.38
3Release:        1%{?_dist_release}
4Summary:        Perl YAML Serialization using XS and libyaml
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/YAML-LibYAML/
8Source0:        http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-LibYAML-%{version}.tar.gz
9BuildRequires:  perl(B::Deparse)
10BuildRequires:  perl(base)
11BuildRequires:  perl(constant)
12BuildRequires:  perl(Cwd)
13BuildRequires:  perl(Exporter)
14BuildRequires:  perl(ExtUtils::MakeMaker)
15BuildRequires:  perl(File::Find)
16BuildRequires:  perl(File::Path)
17BuildRequires:  perl(File::Spec)
18BuildRequires:  perl(Test::Builder)
19BuildRequires:  perl(Test::Builder::Module)
20BuildRequires:  perl(Test::More)
21# Tests only
22BuildRequires:  perl(Devel::Peek)
23BuildRequires:  perl(File::Path)
24BuildRequires:  perl(Scalar::Util)
25BuildRequires:  perl(Test::Base)
26BuildRequires:  perl(Test::Base::Filter)
27BuildRequires:  perl(Tie::Array)
28BuildRequires:  perl(Tie::Hash)
29Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
30
31%{?perl_default_filter}
32
33%description
34Kirill Siminov's "libyaml" is arguably the best YAML
35implementation. The C library is written precisely to the YAML 1.1
36specification. It was originally bound to Python and was later
37bound to Ruby.
38
39%prep
40%setup -q -n YAML-LibYAML-%{version}
41
42%build
43%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="%{optflags}"
44make %{?_smp_mflags}
45
46%install
47rm -rf %{buildroot}
48make pure_install DESTDIR=%{buildroot}
49find %{buildroot} -type f -name .packlist -exec rm -f {} \;
50find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
51find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
52%{_fixperms} %{buildroot}/*
53
54%check
55make test
56
57%clean
58rm -rf %{buildroot}
59
60%files
61%doc Changes README
62%{perl_archlib}/auto/*
63%{perl_archlib}/YAML*
64%{_mandir}/man3/*
65
66%changelog
67* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.38-1
68- initial build for Vine Linux
69
70* Fri Jan 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.38-2
71- bump to 0.38
72
73* Fri Sep 30 2011 Petr Sabata <contyk@redhat.com> - 0.37-1
74- 0.37 bump
75- Remove defattr
76- Correct BR
77
78* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.35-2
79- Perl mass rebuild
80
81* Mon Apr 04 2011 Petr Sabata <psabata@redhat.com> - 0.35-1
82- 0.35 bump
83- Removing obsolete buildroot stuff
84
85* Wed Mar 16 2011 Paul Howarth <paul@city-fan.org> - 0.34-4
86- Improve overly-generic package summary
87- README is already UTF-8 encoded in version 0.34 so don't try converting it
88
89* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-3
90- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
91
92* Wed Sep 29 2010 jkeating - 0.34-2
93- Rebuilt for gcc bug 634757
94
95* Fri Sep 23 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.34-1
96- update
97
98* Thu Jun  3 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.33-1
99- update
100
101* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.32-6
102- Mass rebuild with perl-5.12.0
103
104* Sat Mar 27 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.32-5
105- perl_default_filter, PERL_INSTALL_ROOT => DESTDIR
106
107* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.32-4
108- rebuild against perl 5.10.1
109
110* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-3
111- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
112
113* Wed Apr 29 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.32-2
114- add BR
115
116* Wed Apr 29 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.32-1
117- Specfile autogenerated by cpanspec 1.78.
Note: See TracBrowser for help on using the repository browser.