1 | Name: perl-HTTP-Server-Simple |
---|
2 | Version: 0.40 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Very simple standalone HTTP daemon |
---|
5 | |
---|
6 | Group: Development/Libraries |
---|
7 | License: GPL+ or Artistic |
---|
8 | URL: http://search.cpan.org/dist/HTTP-Server-Simple/ |
---|
9 | Source0: http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
11 | |
---|
12 | BuildArch: noarch |
---|
13 | BuildRequires: perl(URI::Escape) |
---|
14 | BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) |
---|
15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
16 | |
---|
17 | Vendor: Project Vine |
---|
18 | Distribution: Vine Linux |
---|
19 | |
---|
20 | %description |
---|
21 | HTTP::Server::Simple is a very simple standalone HTTP daemon with no non-core |
---|
22 | module dependencies. It's ideal for building a standalone http-based UI to |
---|
23 | your existing tools. |
---|
24 | |
---|
25 | |
---|
26 | %prep |
---|
27 | %setup -q -n HTTP-Server-Simple-%{version} |
---|
28 | chmod -c a-x lib/HTTP/Server/*.pm |
---|
29 | %{__perl} -pi -e 's|^#!perl\b|#!%{__perl}|' ex/sample_server |
---|
30 | |
---|
31 | |
---|
32 | %build |
---|
33 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
34 | make %{?_smp_mflags} |
---|
35 | |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf $RPM_BUILD_ROOT |
---|
39 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
40 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
41 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
42 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
43 | |
---|
44 | |
---|
45 | %check |
---|
46 | make test |
---|
47 | |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -rf $RPM_BUILD_ROOT |
---|
51 | |
---|
52 | |
---|
53 | %files |
---|
54 | %defattr(-,root,root,-) |
---|
55 | %doc Changes README ex/ |
---|
56 | %{perl_vendorlib}/HTTP/ |
---|
57 | %{_mandir}/man3/*.3pm* |
---|
58 | |
---|
59 | |
---|
60 | %changelog |
---|
61 | * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.40-2 |
---|
62 | - build with perl 5.12.3 |
---|
63 | - add Vendor and Distribution tags |
---|
64 | |
---|
65 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.40-1 |
---|
66 | - initial build for Vine Linux based on fedora development |
---|
67 | |
---|
68 | * Tue Sep 08 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 0.40-1 |
---|
69 | - Upstream update. |
---|
70 | |
---|
71 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38-2 |
---|
72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
73 | |
---|
74 | * Sat Feb 28 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 0.38-1 |
---|
75 | - Upstream update. |
---|
76 | |
---|
77 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2 |
---|
78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
79 | |
---|
80 | * Tue Aug 26 2008 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 0.34-1 |
---|
81 | - Upstream update (Required by rt >= 3.8.0). |
---|
82 | |
---|
83 | * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.27-2 |
---|
84 | - rebuild for new perl |
---|
85 | |
---|
86 | * Sat Jan 20 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.27-1 |
---|
87 | - Update to 0.27. |
---|
88 | |
---|
89 | * Fri Dec 1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.26-1 |
---|
90 | - Update to 0.26. |
---|
91 | |
---|
92 | * Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.24-1 |
---|
93 | - Update to 0.24. |
---|
94 | |
---|
95 | * Mon Oct 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-1 |
---|
96 | - Update to 0.23. |
---|
97 | |
---|
98 | * Tue Jun 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1 |
---|
99 | - Update to 0.20. |
---|
100 | |
---|
101 | * Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-2 |
---|
102 | - Rebuild for FC5 (perl 5.8.8). |
---|
103 | |
---|
104 | * Thu Feb 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-1 |
---|
105 | - Update to 0.18. |
---|
106 | |
---|
107 | * Mon Jan 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.17-1 |
---|
108 | - Update to 0.17. |
---|
109 | |
---|
110 | * Tue Nov 8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.16-1 |
---|
111 | - Update to 0.16. |
---|
112 | |
---|
113 | * Tue Oct 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-1 |
---|
114 | - Update to 0.15. |
---|
115 | |
---|
116 | * Thu Aug 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-1 |
---|
117 | - First build. |
---|