aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-03-05 10:41:05 -0500
committerB. Stack <bgstack15@gmail.com>2022-03-05 10:41:05 -0500
commit20e924bef86be2fcab1a938efc8d17751d95ec84 (patch)
tree720c38403c494cc7e541e71a6f5167bbb532ddee
downloadlocale-en_BS-20e924bef86be2fcab1a938efc8d17751d95ec84.tar.gz
locale-en_BS-20e924bef86be2fcab1a938efc8d17751d95ec84.tar.bz2
locale-en_BS-20e924bef86be2fcab1a938efc8d17751d95ec84.zip
initial commit
-rw-r--r--en_BS132
-rw-r--r--locale-en_BS.spec52
2 files changed, 184 insertions, 0 deletions
diff --git a/en_BS b/en_BS
new file mode 100644
index 0000000..f92d6c9
--- /dev/null
+++ b/en_BS
@@ -0,0 +1,132 @@
+comment_char %
+escape_char /
+
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file. The foregoing does not
+% affect the license of the GNU C Library as a whole. It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+% Locale for English locale in the USA
+% Contributed by Ulrich Drepper <drepper@redhat.com>, 2000
+
+LC_IDENTIFICATION
+title "English locale for B. Stack"
+source "B. Stack of Stackrpms"
+address "https:////bgstack15.ddns.net//"
+contact "B. Stack"
+email "bgstack15@gmail.com"
+tel ""
+fax ""
+language "American English"
+territory "Stackrpms, United States"
+revision "1.1"
+date "2022-03-05"
+
+category "i18n:2012";LC_IDENTIFICATION
+category "i18n:2012";LC_CTYPE
+category "i18n:2012";LC_COLLATE
+category "i18n:2012";LC_TIME
+category "i18n:2012";LC_NUMERIC
+category "i18n:2012";LC_MONETARY
+category "i18n:2012";LC_MESSAGES
+category "i18n:2012";LC_PAPER
+category "i18n:2012";LC_NAME
+category "i18n:2012";LC_ADDRESS
+category "i18n:2012";LC_TELEPHONE
+category "i18n:2012";LC_MEASUREMENT
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "en_US"
+END LC_CTYPE
+
+LC_COLLATE
+% Copy the template from ISO/IEC 14651
+copy "iso14651_t1"
+END LC_COLLATE
+
+LC_MONETARY
+copy "en_US"
+END LC_MONETARY
+
+LC_NUMERIC
+copy "en_US"
+END LC_NUMERIC
+
+LC_TIME
+abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"
+day "Sunday";/
+ "Monday";/
+ "Tuesday";/
+ "Wednesday";/
+ "Thursday";/
+ "Friday";/
+ "Saturday"
+
+week 7;19971130;1
+abmon "Jan";"Feb";/
+ "Mar";"Apr";/
+ "May";"Jun";/
+ "Jul";"Aug";/
+ "Sep";"Oct";/
+ "Nov";"Dec"
+mon "January";/
+ "February";/
+ "March";/
+ "April";/
+ "May";/
+ "June";/
+ "July";/
+ "August";/
+ "September";/
+ "October";/
+ "November";/
+ "December"
+% Appropriate date and time representation (%c)
+d_t_fmt "%Y-%m-%d %a %R %Z"
+%
+% Appropriate date representation (%x)
+d_fmt "%Y-%m-%d"
+%
+% Appropriate time representation (%X)
+t_fmt "%R"
+%
+% Appropriate AM/PM time representation (%r)
+t_fmt_ampm "%H:%M:%S"
+%
+% Appropriate date and time representation for date(1). This is
+% different from d_t_fmt for historical reasons and has been different
+% since 2000 when date_fmt was added as a GNU extension. At the end
+% of 2018 it was adjusted to use 12H time (bug 24046) instead of 24H.
+date_fmt "%Y-%m-%d %a %R %Z"
+%
+% Strings for AM/PM
+%
+am_pm "";""
+END LC_TIME
+
+LC_MESSAGES
+copy "en_US"
+END LC_MESSAGES
+
+LC_PAPER
+copy "en_US"
+END LC_PAPER
+
+LC_NAME
+copy "en_US"
+END LC_NAME
+
+LC_ADDRESS
+copy "en_US"
+END LC_ADDRESS
+
+LC_TELEPHONE
+copy "en_US"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "en_US"
+END LC_MEASUREMENT
diff --git a/locale-en_BS.spec b/locale-en_BS.spec
new file mode 100644
index 0000000..398bb77
--- /dev/null
+++ b/locale-en_BS.spec
@@ -0,0 +1,52 @@
+# Startdate: 2022-03-05 09:55
+# Reference:
+# 7w.spec
+# local-en_RU.spec
+%global _locale en_BS
+%global use_master 1
+%global _localesdir %{_datadir}/i18n/locales
+%global _localedef %{_bindir}/localedef
+
+%global vername master
+%if 0%{?use_master}
+%global vername %{version}
+%endif
+
+Name: locale-%{_locale}
+Version: 0.0.1
+Release: 1
+Summary: English locale for Stackrpms
+License: GPLv3+
+URL: https://bgstack15.ddns.net/
+Source0: %{_locale}
+Packager: B. Stack <bgstack15@gmail.com>
+Requires(post): %{_localedef}
+Requires(post): %{_localesdir}
+Requires(preun): %{_localedef}
+Requires(preun): %{_localesdir}
+BuildArch: noarch
+
+%description
+This is a glibc locale for Stackrpms internal use. It modifies the time
+formats to make more sense than en_US.
+
+%install
+%{__install} -d %{buildroot}%{_localesdir} -m0755
+%{__install} -t %{buildroot}%{_localesdir} -m0644 %{SOURCE0}
+
+%post
+%{_localedef} --quiet --force --inputfile %{_localesdir}/%{_locale} --charmap UTF-8 %{_locale}.utf8
+
+%preun
+if test "${1}" = "0" ;
+then
+ %{_localedef} --quiet --delete-from-archive %{_locale}.utf8
+fi
+
+%files
+%defattr(-,root,root,0)
+%{_localesdir}/%{_locale}
+
+%changelog
+* Sat Mar 05 2022 B. Stack <bgstack15@gmail.com> - 0.0.1-1
+- Initial package
bgstack15