Changes of Revision 5
[-] | Added | kohana.spec |
x 1
2 +# norootforbuild 3 + 4 + 5 +Name: kohana 6 +%define realname Kohana 7 +Summary: PHP 5 framework that uses the Model View Controller architectural pattern 8 +Version: 2.3.4 9 +Release: 1 10 +Url: http://kohanaphp.com 11 +License: BSD like, Free Redistribution by Kohana Team 12 +Group: Productivity/Networking/Web/Utilities 13 +AutoReqProv: off 14 +Source0: %{realname}_v%{version}.tar.bz2 15 +Source1: kohana-apache_include 16 +Patch1: kohana-usr_share.patch 17 +PreReq: apache2 18 +Requires: mod_php_any 19 +BuildRequires: apache2-devel 20 +BuildArch: noarch 21 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 22 +%define apache_serverroot %(/usr/sbin/apxs2 -q DATADIR) 23 +%define apache_sysconfdir %(/usr/sbin/apxs2 -q SYSCONFDIR) 24 +%define installpath %{apache_serverroot}/%{name} 25 + 26 + 27 +%description 28 +Kohana is a PHP 5 framework that uses the Model View Controller architectural 29 +pattern. It aims to be secure, lightweight, and easy to use. 30 + 31 + 32 +Features 33 + 34 + * Highly secure 35 + * Extremely lightweight 36 + * Short learning curve 37 + * Uses the MVC pattern 38 + * 100% UTF-8 compatible 39 + * Loosely coupled architecture 40 + * Extremely easy to extend 41 + 42 + 43 +Authors: 44 +-------- 45 + The Kohana Team 46 + 47 +%package lang-en_US 48 +License: BSD like, Free Redistribution by Kohana Team 49 +Summary: English (US) translations for %name 50 +Group: Productivity/Networking/Web/Utilities 51 +Requires: %name = %version 52 +Provides: locale(%name:en_US) 53 + 54 +%description lang-en_US 55 +This package contains files needed to display Kohana in English (US). 56 + 57 +%files lang-en_US 58 +%defattr(-,root,root) 59 +%dir %{_datadir}/%{name}/system/i18n/en_US 60 +%{_datadir}/%{name}/system/i18n/en_US 61 + 62 +%package lang-en_GB 63 +License: BSD like, Free Redistribution by Kohana Team 64 +Summary: English (UK) translations for %name 65 +Group: Productivity/Networking/Web/Utilities 66 +Requires: %name = %version 67 +Provides: locale(%name:en_GB) 68 + 69 +%description lang-en_GB 70 +This package contains files needed to display Kohana in English (UK). 71 + 72 +%files lang-en_GB 73 +%defattr(-,root,root) 74 +%dir %{_datadir}/%{name}/system/i18n/en_GB 75 +%{_datadir}/%{name}/system/i18n/en_GB 76 + 77 + 78 +%package lang-de_DE 79 +License: BSD like, Free Redistribution by Kohana Team 80 +Summary: German translations for %name 81 +Group: Productivity/Networking/Web/Utilities 82 +Requires: %name = %version 83 +Provides: locale(%name:de) 84 + 85 +%description lang-de_DE 86 +This package contains files needed to display Kohana in German. 87 + 88 +%files lang-de_DE 89 +%defattr(-,root,root) 90 +%dir %{_datadir}/%{name}/system/i18n/de_DE 91 +%{_datadir}/%{name}/system/i18n/de_DE 92 + 93 +%package lang-es_AR 94 +License: BSD like, Free Redistribution by Kohana Team 95 +Summary: Spanish (Argentina) translations for %name 96 +Group: Productivity/Networking/Web/Utilities 97 +Requires: %name = %version 98 +Provides: locale(%name:es_AR) 99 + 100 +%description lang-es_AR 101 +This package contains files needed to display Kohana in Spanish (Argentina). 102 + 103 +%files lang-es_AR 104 +%defattr(-,root,root) 105 +%dir %{_datadir}/%{name}/system/i18n/es_AR 106 +%{_datadir}/%{name}/system/i18n/es_AR 107 + 108 +%package lang-es_ES 109 +License: BSD like, Free Redistribution by Kohana Team 110 +Summary: Spanish translations for %name 111 +Group: Productivity/Networking/Web/Utilities 112 +Requires: %name = %version 113 +Provides: locale(%name:es_ES) 114 + 115 +%description lang-es_ES 116 +This package contains files needed to display Kohana in Spanish. 117 + 118 +%files lang-es_ES 119 +%defattr(-,root,root) 120 +%dir %{_datadir}/%{name}/system/i18n/es_ES 121 +%{_datadir}/%{name}/system/i18n/es_ES 122 + 123 + 124 +%package lang-fi_FI 125 +License: BSD like, Free Redistribution by Kohana Team 126 +Summary: Finnish translations for %name 127 +Group: Productivity/Networking/Web/Utilities 128 +Requires: %name = %version 129 +Provides: locale(%name:fi_FI) 130 + 131 +%description lang-fi_FI 132 +This package contains files needed to display Kohana in Finnish. 133 + 134 +%files lang-fi_FI 135 +%defattr(-,root,root) 136 +%dir %{_datadir}/%{name}/system/i18n/fi_FI 137 +%{_datadir}/%{name}/system/i18n/fi_FI 138 + 139 + 140 +%package lang-fr_FR 141 +License: BSD like, Free Redistribution by Kohana Team 142 +Summary: French translations for %name 143 +Group: Productivity/Networking/Web/Utilities 144 +Requires: %name = %version 145 +Provides: locale(%name:fr_FR) 146 + 147 +%description lang-fr_FR 148 +This package contains files needed to display Kohana in French. 149 + 150 +%files lang-fr_FR 151 +%defattr(-,root,root) 152 +%dir %{_datadir}/%{name}/system/i18n/fr_FR 153 +%{_datadir}/%{name}/system/i18n/fr_FR 154 + 155 + 156 +%package lang-it_IT 157 +License: BSD like, Free Redistribution by Kohana Team 158 +Summary: Italian translations for %name 159 +Group: Productivity/Networking/Web/Utilities 160 +Requires: %name = %version 161 +Provides: locale(%name:it_IT) 162 + 163 +%description lang-it_IT 164 +This package contains files needed to display Kohana in Italian. 165 + 166 +%files lang-it_IT 167 +%defattr(-,root,root) 168 +%dir %{_datadir}/%{name}/system/i18n/it_IT 169 +%{_datadir}/%{name}/system/i18n/it_IT 170 + 171 + 172 +%package lang-nl_NL 173 +License: BSD like, Free Redistribution by Kohana Team 174 +Summary: Dutch translations for %name 175 +Group: Productivity/Networking/Web/Utilities 176 +Requires: %name = %version 177 +Provides: locale(%name:nl_NL) 178 + 179 +%description lang-nl_NL 180 +This package contains files needed to display Kohana in Dutch. 181 + 182 +%files lang-nl_NL 183 +%defattr(-,root,root) 184 +%dir %{_datadir}/%{name}/system/i18n/nl_NL 185 +%{_datadir}/%{name}/system/i18n/nl_NL 186 + 187 + 188 +%package lang-pl_PL 189 +License: BSD like, Free Redistribution by Kohana Team 190 +Summary: Polish translations for %name 191 +Group: Productivity/Networking/Web/Utilities 192 +Requires: %name = %version 193 +Provides: locale(%name:pl_PL) 194 + 195 +%description lang-pl_PL 196 +This package contains files needed to display Kohana in Polish. 197 + 198 +%files lang-pl_PL 199 +%defattr(-,root,root) 200 +%dir %{_datadir}/%{name}/system/i18n/pl_PL 201 |