Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
perl-Date-Calc
perl-Date-Calc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Date-Calc.spec of Package perl-Date-Calc
# # spec file for package perl-Date-Calc # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # # norootforbuild Name: perl-Date-Calc BuildRequires: perl-Bit-Vector BuildRequires: perl-macros Version: 6.3 Release: 6 Provides: DateCalc perl_dc Obsoletes: perl_dc Requires: perl-Bit-Vector AutoReqProv: on Group: Development/Libraries/Perl License: Artistic-1.0 ; GPL-2.0+ Url: http://cpan.org/modules/by-module/Date Summary: Perl Date-Calc Module Source: Date-Calc-%{version}.tar.gz Patch: Date-Calc-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} %description This package consists of a C library and a Perl module (which uses the C library, internally) for all kinds of date calculations based on the Gregorian calendar (the one used in all western countries today), thereby complying with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to some extent, ISO 8601 (where applicable). (See also http://www.engelschall.com/u/sb/download/Date-Calc/DIN1355/ for a scan of part of the "DIN 1355" document (in German)). The module of course handles year numbers of 2000 and above correctly ("Year 2000" or "Y2K" compliance) -- actually all year numbers from 1 to the largest positive integer representable on your system (which is at least 32767) can be dealt with. Note that this package EXTRAPOLATES the Gregorian calendar BACK until the year 1 A.D. -- even though the Gregorian calendar was only adopted in 1582 by most (not all) European countries, in obedience to the corresponding decree of catholic pope Gregor I in that year. Some (mainly protestant) countries continued to use the Julian calendar (used until then) until as late as the beginning of the 20th century. Finally, note that this package is not intended to do everything you could ever imagine automagically for you; it is rather intended to serve as a toolbox (in the best of UNIX spirit and traditions) which should, however, always get you where you want to go. Authors: -------- Steffen Beyer <sb@engelschall.com> %prep %setup -n Date-Calc-%{version} -q #%patch %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" make %{?_smp_mflags} %check make test %install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist chmod -R u+w *.txt for i in `ls *.txt`; do mv $i `basename $i .txt`; done rm -rf tools/compile.bat rm -rf $RPM_BUILD_ROOT%{_mandir}/man3/Carp::* rm -rf $RPM_BUILD_ROOT%{perl_vendorarch}/Carp %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc license README CREDITS CHANGES MANIFEST %doc %{_mandir}/man?/* %{perl_vendorarch}/auto/Date/ %{perl_vendorlib}/Date/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor