Package gem-time: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | %define gemname time Name: gem-time Version: 0.2.0 Release: alt1 Summary: Extends the Time class with methods for parsing and conversion License: Ruby or BSD-2-Clause Group: Development/Ruby Url: https://github.com/ruby/time Vcs: https://github.com/ruby/time.git Packager: Pavel Skrylev <majioa@altlinux.org> BuildArch: noarch Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby BuildRequires: gem(date) >= 0 %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* Requires: gem(date) >= 0 Provides: gem(time) = 0.2.0 %description When 'time' is required, Time is extended with additional methods for parsing and converting Times. This library extends the Time class with the following conversions between date strings and Time objects: * date-time defined by {RFC 2822}[http://www.ietf.org/rfc/rfc2822.txt] * HTTP-date defined by {RFC 2616}[http://www.ietf.org/rfc/rfc2616.txt] * dateTime defined by XML Schema Part 2: Datatypes ({ISO 8601}[http://www.iso.org/iso/date_and_time_format]) * various formats handled by Date._parse * custom formats handled by Date._strptime %package -n gem-time-doc Version: 0.2.0 Release: alt1 Summary: Extends the Time class with methods for parsing and conversion documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета time Group: Development/Documentation BuildArch: noarch Requires: gem(time) = 0.2.0 %description -n gem-time-doc Extends the Time class with methods for parsing and conversion documentation files. When 'time' is required, Time is extended with additional methods for parsing and converting Times. This library extends the Time class with the following conversions between date strings and Time objects: * date-time defined by {RFC 2822}[http://www.ietf.org/rfc/rfc2822.txt] * HTTP-date defined by {RFC 2616}[http://www.ietf.org/rfc/rfc2616.txt] * dateTime defined by XML Schema Part 2: Datatypes ({ISO 8601}[http://www.iso.org/iso/date_and_time_format]) * various formats handled by Date._parse * custom formats handled by Date._strptime %description -n gem-time-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета time. %package -n gem-time-devel Version: 0.2.0 Release: alt1 Summary: Extends the Time class with methods for parsing and conversion development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета time Group: Development/Ruby BuildArch: noarch Requires: gem(time) = 0.2.0 %description -n gem-time-devel Extends the Time class with methods for parsing and conversion development package. When 'time' is required, Time is extended with additional methods for parsing and converting Times. This library extends the Time class with the following conversions between date strings and Time objects: * date-time defined by {RFC 2822}[http://www.ietf.org/rfc/rfc2822.txt] * HTTP-date defined by {RFC 2616}[http://www.ietf.org/rfc/rfc2616.txt] * dateTime defined by XML Schema Part 2: Datatypes ({ISO 8601}[http://www.iso.org/iso/date_and_time_format]) * various formats handled by Date._parse * custom formats handled by Date._strptime %description -n gem-time-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета time. %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md %ruby_gemspec %ruby_gemlibdir %files -n gem-time-doc %doc README.md %ruby_gemdocdir %files -n gem-time-devel %doc README.md %changelog * Sun Apr 03 2022 Pavel Skrylev <majioa@altlinux.org> 0.2.0-alt1 - + packaged gem with Ruby Policy 2.0 |