From 9cb69b3687db599b30d629180d2e323f556bd17fefe9f78522b9f76e381d942b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 20 Aug 2015 06:30:49 +0000 Subject: [PATCH] Accepting request 322667 from devel:languages:haskell:lts old-locale package moved out of GHC OBS-URL: https://build.opensuse.org/request/show/322667 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-old-locale?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ ghc-old-locale.changes | 5 +++ ghc-old-locale.spec | 80 +++++++++++++++++++++++++++++++++++++++ old-locale-1.0.0.7.tar.gz | 3 ++ 4 files changed, 111 insertions(+) create mode 100644 .gitattributes create mode 100644 ghc-old-locale.changes create mode 100644 ghc-old-locale.spec create mode 100644 old-locale-1.0.0.7.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/ghc-old-locale.changes b/ghc-old-locale.changes new file mode 100644 index 0000000..41a7c86 --- /dev/null +++ b/ghc-old-locale.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu May 14 07:34:16 UTC 2015 - mimi.vx@gmail.com + +- initial commit +* decoupled from ghc 7.8 diff --git a/ghc-old-locale.spec b/ghc-old-locale.spec new file mode 100644 index 0000000..f393589 --- /dev/null +++ b/ghc-old-locale.spec @@ -0,0 +1,80 @@ +# +# spec file for package ghc-old-locale +# +# Copyright (c) 2015 SUSE LINUX 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/ +# + +%global pkg_name old-locale + +Name: ghc-old-locale +Version: 1.0.0.7 +Release: 0 +Summary: Locale library +Group: System/Libraries + +License: BSD-3-Clause +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros + +%description +This package provides the ability to adapt to locale conventions such as date +and time formats. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Group: Development/Libraries/Other +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%defattr(-,root,root,-) +%doc LICENSE + + +%files devel -f %{name}-devel.files +%defattr(-,root,root,-) + + +%changelog diff --git a/old-locale-1.0.0.7.tar.gz b/old-locale-1.0.0.7.tar.gz new file mode 100644 index 0000000..7524833 --- /dev/null +++ b/old-locale-1.0.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbaf8bf6b888fb98845705079296a23c3f40ee2f449df7312f7f7f1de18d7b50 +size 3384