| 
									
										
										
										
											2007-01-15 23:29:43 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package perl-Apache-SessionX (Version 2.01)
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2010-11-30 23:17:56 +00:00
										 |  |  | # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:29:43 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2009-06-17 22:13:37 +00:00
										 |  |  | # All modifications and additions to the file contributed by third parties
 | 
					
						
							|  |  |  | # remain the property of their copyright owners, unless otherwise agreed
 | 
					
						
							|  |  |  | # upon. The license for this file, and modifications and additions to the
 | 
					
						
							|  |  |  | # file, is the same license as for the pristine package itself (unless the
 | 
					
						
							|  |  |  | # license for the pristine package is not an Open Source License, in which
 | 
					
						
							|  |  |  | # case the license is the MIT License). An "Open Source License" is a
 | 
					
						
							|  |  |  | # license that conforms to the Open Source Definition (Version 1.9)
 | 
					
						
							|  |  |  | # published by the Open Source Initiative.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Please submit bugfixes or comments via http://bugs.opensuse.org/
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:29:43 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # norootforbuild
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-06-17 22:13:37 +00:00
										 |  |  | Url:            http://cpan.org/modules/by-module/Apache/
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Name:           perl-Apache-SessionX
 | 
					
						
							|  |  |  | BuildRequires:  apache2-devel libapr-util1-devel mysql-client pcre-devel perl-Apache-Session perl-DBD-mysql perl-MLDBM
 | 
					
						
							|  |  |  | Version:        2.01
 | 
					
						
							| 
									
										
										
										
											2010-11-30 23:17:56 +00:00
										 |  |  | Release:        224
 | 
					
						
							| 
									
										
										
										
											2009-06-17 22:13:37 +00:00
										 |  |  | Provides:       Apache-SessionX
 | 
					
						
							|  |  |  | Requires:       perl = %{perl_version}
 | 
					
						
							|  |  |  | Requires:       apache2-mod_perl perl-URI perl-DBI
 | 
					
						
							|  |  |  | Conflicts:      perlmod
 | 
					
						
							|  |  |  | AutoReqProv:    on
 | 
					
						
							|  |  |  | Group:          Development/Libraries/Perl
 | 
					
						
							| 
									
										
										
										
											2010-11-30 23:17:56 +00:00
										 |  |  | License:        GPLv2+
 | 
					
						
							| 
									
										
										
										
											2009-06-17 22:13:37 +00:00
										 |  |  | Summary:        Persistent Storage for Arbitrary Data (for Embperl)
 | 
					
						
							|  |  |  | Source:         Apache-SessionX-%{version}.tar.bz2
 | 
					
						
							|  |  |  | Source1:        get-apache-version.sh
 | 
					
						
							|  |  |  | BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:29:43 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							|  |  |  | Apache::SessionX extends Apache::Session. It was initially written to
 | 
					
						
							|  |  |  | use Apache::Session from inside of HTML::Embperl, but is seems to be
 | 
					
						
							|  |  |  | useful outside of Embperl as well, so here is it as standalone module.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Authors:
 | 
					
						
							|  |  |  | --------
 | 
					
						
							|  |  |  |     Gerald Richter / ecos gmbh
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %prep 
 | 
					
						
							|  |  |  | %setup -n Apache-SessionX-%{version}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							|  |  |  | perl Makefile.PL
 | 
					
						
							|  |  |  | make all
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							|  |  |  | rm -rf $RPM_BUILD_ROOT
 | 
					
						
							|  |  |  | make DESTDIR=$RPM_BUILD_ROOT install_vendor
 | 
					
						
							|  |  |  | %perl_process_packlist
 | 
					
						
							|  |  |  | rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Apache/testcount.pl
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %clean
 | 
					
						
							|  |  |  | rm -rf $RPM_BUILD_ROOT
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files
 | 
					
						
							|  |  |  | %defattr(-, root, root)
 | 
					
						
							|  |  |  | %doc README MANIFEST 
 | 
					
						
							|  |  |  | %doc %{_mandir}/man?/*
 | 
					
						
							|  |  |  | %{perl_vendorlib}/Apache/SessionX/
 | 
					
						
							|  |  |  | %{perl_vendorlib}/Apache/SessionX.pm
 | 
					
						
							|  |  |  | %{perl_vendorarch}/auto/Apache/SessionX/
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-06-17 22:13:37 +00:00
										 |  |  | %changelog
 |