source: projects/specs/branches/6/p/perl-XML-LibXSLT/perl-XML-LibXSLT-vl.spec @ 3265

Revision 3265, 4.9 KB checked in by munepi, 13 years ago (diff)

updated perl-XML-LibXSLT-vl.spec

Line 
1%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
2
3Name:           perl-XML-LibXSLT
4
5# NOTE: also update perl-XML-LibXML to a compatible version.  See below why.
6Version:        1.70
7Release:        2%{?_dist_release}
8
9Summary:        Perl module for interfacing to GNOME's libxslt
10
11#'
12
13Group:          Development/Libraries
14License:        GPL+ or Artistic
15URL:            http://search.cpan.org/dist/XML-LibXSLT/
16Source0:        http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXSLT-%{version}.tar.gz
17BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
18BuildRequires:  perl(ExtUtils::MakeMaker)
19BuildRequires:  libxslt-devel >= 1.1.18, gdbm-devel
20Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
21
22# the package shares code with perl-XML-LibXML, we have to require a compatible version
23# see https://bugzilla.redhat.com/show_bug.cgi?id=469480
24# for testing is needed the same version of XML::LibXML
25BuildRequires:  perl(XML::LibXML) >= 1.70
26Requires:       perl(XML::LibXML) >= 1.70
27
28Distribution:   Vine
29Vendor:         Project Vine
30Packager:       munepi
31
32%description
33This module is a fast XSLT library, based on the Gnome libxslt engine
34that you can find at http://www.xmlsoft.org/XSLT/
35
36%prep
37%setup -q -n XML-LibXSLT-%{version}
38
39%build
40%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
41%__make %{?_smp_mflags}
42
43%install
44%__rm -rf $RPM_BUILD_ROOT
45%__make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
46find $RPM_BUILD_ROOT -type f -name .packlist -exec %__rm -f {} ';'
47find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec %__rm -f {} ';'
48find $RPM_BUILD_ROOT -type d -depth -exec %__rmdir {} 2>/dev/null ';'
49%__chmod -R u+w $RPM_BUILD_ROOT/*
50
51%check
52%__make test
53
54%clean
55%__rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(-,root,root,-)
59%doc Changes README benchmark.pl example
60%{perl_vendorarch}/auto/*
61%{perl_vendorarch}/XML
62%exclude %{perl_vendorarch}/XML/benchmark.pl
63%{_mandir}/man3/*.3*
64
65%changelog
66* Sun Apr 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 1.7.0-2
67- rebuilt with perl-5.12.3
68
69* Thu Aug 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> - 1.70-1
70- initial build
71
72* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.70-4
73- Mass rebuild with perl-5.12.0
74
75* Thu Mar 11 2010 Paul Howarth <paul@city-fan.org> - 1.70-3
76- rebuild for new gdbm
77
78* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.70-2
79- rebuild against perl 5.10.1
80
81* Fri Nov 20 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.70-1
82- update to fix 539102
83
84* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.68-4
85- rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
86
87* Wed Mar 18 2009 Stepan Kasal <skasal@redhat.com> - 1.68-3
88- patch to fix a refcounting bug leading to segfaults (#490781)
89
90* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.68-2
91- rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
92
93* Sat Dec 20 2008 Paul Howarth <paul@city-fan.org> - 1.68-1
94- update to 1.68
95- relax hard version requirement on XML::LibXML, which is at 1.69 upstream
96  but 1.67 or above will suffice (care will still have to be taken to keep
97  the packages in sync, particularly when XML::LibXML is updated)
98- specify $RPM_OPT_FLAGS once rather than twice
99- drop historical perl version requirement, which is met even by EL-3
100- explicitly buildreq ExtUtils::MakeMaker rather than just perl-devel
101
102* Mon Nov  3 2008 Stepan Kasal <skasal@redhat.com> - 1.66-2
103- require XML::LibXML of the same version
104
105* Fri Aug  8 2008 Zing <zing@fastmail.fm> - 1.66-1
106- update to 1.66
107
108* Sat May 31 2008 Zing <zing@fastmail.fm> - 1.63-6
109- rpm check stage barfs on || :
110
111* Mon Mar  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.63-5
112- rebuild for new perl (again)
113
114* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.63-4
115- Autorebuild for GCC 4.3
116
117* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.63-3
118- rebuild for new perl
119
120* Sat Jan 19 2008 Zing <zing@fastmail.fm> - 1.63-2
121- build requires gdbm-devel
122
123* Fri Jan 18 2008 Zing <zing@fastmail.fm> - 1.63-1
124- update to 1.63
125
126* Sat Aug 11 2007 Zing <zing@fastmail.fm> - 1.62-2
127- require perl-devel
128
129* Tue Aug  7 2007 Zing <zing@fastmail.fm> - 1.62-1
130- update to 1.62
131- Conform to Fedora Licensing Guideline
132
133* Fri Sep  8 2006 Zing <zing@fastmail.fm> - 1.58-3
134- rebuild for FE6
135
136* Tue Feb 14 2006 Zing <shishz@hotpop.com> - 1.58-2
137- rebuild for FE5
138
139* Wed Aug 17 2005 Zing <shishz@hotpop.com> - 1.58-1
140- new upstream
141- use dist macro
142
143* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
144- rebuilt
145
146* Sat Mar  5 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.57-3
147- Drop pre-FC2 LD_RUN_PATH hack.
148- Install benchmark.pl only as %%doc.
149
150* Fri Feb 26 2005 Zing <shishz@hotpop.com> - 1.57-2
151- QA from Ville Skyttä
152-       BuildRequires XML::LibXML >= 1.57
153-       BuildRequires libxslt-devel
154-       put benchmark.pl in %%doc
155
156* Fri Feb 25 2005 Zing <shishz@hotpop.com> - 1.57-1
157- First build.
158
Note: See TracBrowser for help on using the repository browser.