source: projects/specs/trunk/p/perl-SOAP-Lite/perl-SOAP-Lite-vl.spec @ 5916

Revision 5916, 3.7 KB checked in by yasumichi, 12 years ago (diff)

fixed VineLinux:1267

Line 
1Name:           perl-SOAP-Lite
2Version:        0.714
3Release:        1%{?_dist_release}
4Summary:        Client and server side SOAP implementation
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/SOAP-Lite/
8Source0:        http://search.cpan.org/CPAN/authors/id/B/BY/BYRNE/SOAP/SOAP-Lite-%{version}.tar.gz
9Source1:        filter-requires-SOAP-Lite.sh
10#Patch0:                SOAP-Lite-0.68-nil-value.patch
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12
13Vendor:         Project Vine
14Distribution:   Vine Linux
15
16Requires:       perl >= %(eval "`%{__perl} -V:version`"; echo $version)
17BuildRequires:  perl-XML-Parser
18BuildRequires:  perl-Class-Inspector
19BuildRequires:  perl(ExtUtils::MakeMaker)
20Provides:       perl(SOAP::Transport::TCP)
21BuildArch:      noarch
22
23#%define bogusreqs 'MQ\\|Jabber'
24#%define bogusreqs perl.Net..Jabber.
25#%global reqfilt sh -c '%{__perl_requires} | %{__grep} -Ev "%{bogusreqs}"'
26#%define __perl_requires %{reqfilt}
27#%define bogusreqs 'perl(MQClient::MQSeries)\
28#perl(MQSeries)\
29#perl(MQSeries::Message)\
30#perl(MQSeries::Queue)\
31#perl(MQSeries::QueueManager)\
32#perl(Net::Jabber)'
33#%global reqfilt sh -c "%{__perl_requires} | %{__grep} -Fv %{bogusreqs}"
34#define __perl_requires %{reqfilt}
35%define __find_requires %{SOURCE1}
36
37%description
38SOAP::Lite is a collection of Perl modules which provides a simple and
39lightweight interface to the Simple Object Access Protocol (SOAP) both on
40client and server side.
41
42%prep
43%setup -q -n SOAP-Lite-%{version}
44#%%patch0 -p1
45
46%build
47%{__perl} Makefile.PL --noprompt INSTALLDIRS=vendor
48make %{?_smp_mflags}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
53find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
54find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
55
56#Items not yet in Extras
57#find $RPM_BUILD_ROOT -type f -name JABBER* -exec rm -f {} ';'
58#find $RPM_BUILD_ROOT -type f -name MQ* -exec rm -f {} ';'
59
60chmod -R u+w $RPM_BUILD_ROOT/*
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%check
66make test
67
68%files
69%defattr(-,root,root,-)
70# For license text(s), see the perl package.
71%doc Changes README ReleaseNotes.txt
72%{_bindir}/*pl
73%{perl_vendorlib}/SOAP
74%{perl_vendorlib}/Apache
75%{perl_vendorlib}/IO
76%{perl_vendorlib}/UDDI
77%{perl_vendorlib}/XML
78%{perl_vendorlib}/XMLRPC
79%{_mandir}/man3/*
80%{_mandir}/man1/*
81
82%changelog
83* Sat Mar 17 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.714-1
84- new upstream release.
85- build with perl-5.12.3 ( VineLinux:1267 )
86- add Vendor and Distribution
87- delete Patch0
88- fixed Release
89- add perl-Class-Inspector to BR
90- add Provides
91
92* Sat Nov 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.69-0vl1
93- initial build for Vine Linux
94- added filter-requires-SOAP-Lite.sh
95
96* Thu Oct 18 2007 Mike McGrath <mmcgrath@redhat.com> - 0.68-5
97- Fixed build requires
98
99* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.68-4.1
100- correct license tag
101- add BR: perl(ExtUtils::MakeMaker)
102
103* Mon Mar 03 2007 Mike McGrath <mmcgrath@redhat.com> - 0.68-4
104- bogus reqs diff
105
106* Sat Jan 2 2007 Mike McGrath <imlinux@gmail.com> - 0.68-3
107- Changed the way this package removes bogus reqs for EL4
108
109* Sun Sep 10 2006 Mike McGrath <imlinux@gmail.com> - 0.68-1
110- Rebuild
111
112* Tue Jul 18 2006 Mike McGrath <imlinux@gmail.com> - 0.68-1
113- New upstream source
114- Patch provided for <value><nil/></value> issues
115
116* Mon Mar 20 2006 Mike McGrath <imlinux@gmail.com> - 0.67-2
117- Removed perl requirements that do not yet exist in Extras
118
119* Sat Mar 18 2006 Mike McGrath <imlinux@gmail.com> - 0.67-1
120- New Owner and new spec file
121
122* Wed Oct 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.60a-3
123- Fix build, doc permissions (#169821).
124
125* Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 0.60a-2
126- Review suggestions from José Pedro Oliveira
127
128* Fri Mar 18 2005 Hunter Matthews <thm@duke.edu> 0.60a-1
129- Initial packaging.
130
Note: See TracBrowser for help on using the repository browser.