| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package perl-POSIX-strftime-Compiler
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2024-03-07 17:18:30 +00:00
										 |  |  | # Copyright (c) 2024 SUSE LLC
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +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.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-29 07:16:55 +00:00
										 |  |  | # Please submit bugfixes or comments via https://bugs.opensuse.org/
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-16 16:38:34 +00:00
										 |  |  | %define cpan_name POSIX-strftime-Compiler
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | Name:           perl-POSIX-strftime-Compiler
 | 
					
						
							| 
									
										
										
										
											2024-03-07 17:18:30 +00:00
										 |  |  | Version:        0.460.0
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | Release:        0
 | 
					
						
							| 
									
										
										
										
											2024-03-07 17:18:30 +00:00
										 |  |  | %define cpan_version 0.46
 | 
					
						
							| 
									
										
										
										
											2019-11-29 07:16:55 +00:00
										 |  |  | License:        Artistic-1.0 OR GPL-1.0-or-later
 | 
					
						
							| 
									
										
										
										
											2023-11-16 16:38:34 +00:00
										 |  |  | Summary:        GNU C library compatible strftime for loggers and servers
 | 
					
						
							| 
									
										
										
										
											2020-07-28 13:41:05 +00:00
										 |  |  | URL:            https://metacpan.org/release/%{cpan_name}
 | 
					
						
							| 
									
										
										
										
											2023-11-16 16:38:34 +00:00
										 |  |  | Source0:        https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/%{cpan_name}-%{cpan_version}.tar.gz
 | 
					
						
							| 
									
										
										
										
											2019-11-29 07:16:55 +00:00
										 |  |  | Source1:        cpanspec.yml
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | BuildRequires:  perl
 | 
					
						
							|  |  |  | BuildRequires:  perl-macros
 | 
					
						
							| 
									
										
										
										
											2024-03-07 17:18:30 +00:00
										 |  |  | BuildRequires:  perl(Module::Build)
 | 
					
						
							| 
									
										
										
										
											2020-07-28 13:41:05 +00:00
										 |  |  | BuildRequires:  perl(Module::Build::Tiny) >= 0.035
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | BuildRequires:  perl(Test::More) >= 0.98
 | 
					
						
							| 
									
										
										
										
											2024-03-07 17:18:30 +00:00
										 |  |  | Provides:       perl(POSIX::strftime::Compiler) = %{version}
 | 
					
						
							| 
									
										
										
										
											2024-03-08 22:55:46 +00:00
										 |  |  | %undefine       __perllib_provides
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | %{perl_requires}
 | 
					
						
							| 
									
										
										
										
											2019-11-29 07:16:55 +00:00
										 |  |  | # MANUAL BEGIN
 | 
					
						
							| 
									
										
										
										
											2014-03-07 08:37:35 +00:00
										 |  |  | BuildRequires:  timezone
 | 
					
						
							| 
									
										
										
										
											2019-11-29 07:16:55 +00:00
										 |  |  | # MANUAL END
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							|  |  |  | POSIX::strftime::Compiler provides GNU C library compatible strftime(3).
 | 
					
						
							|  |  |  | But this module will not affected by the system locale. This feature is
 | 
					
						
							|  |  |  | useful when you want to write loggers, servers and portable applications.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | For generate same result strings on any locale, POSIX::strftime::Compiler
 | 
					
						
							|  |  |  | wraps POSIX::strftime and converts some format characters to perl code
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2023-11-16 16:38:34 +00:00
										 |  |  | %autosetup  -n %{cpan_name}-%{cpan_version}
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2020-07-28 13:41:05 +00:00
										 |  |  | perl Build.PL --installdirs=vendor
 | 
					
						
							|  |  |  | ./Build build --flags=%{?_smp_mflags}
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							|  |  |  | ./Build test
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							| 
									
										
										
										
											2020-07-28 13:41:05 +00:00
										 |  |  | ./Build install --destdir=%{buildroot} --create_packlist=0
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | %perl_gen_filelist
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -f %{name}.files
 | 
					
						
							| 
									
										
										
										
											2023-11-16 16:38:34 +00:00
										 |  |  | %doc Changes README.md
 | 
					
						
							| 
									
										
										
										
											2019-11-29 07:16:55 +00:00
										 |  |  | %license LICENSE
 | 
					
						
							| 
									
										
										
										
											2014-03-07 06:52:38 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |