From 59f0aff114a4846cbf3fac11a315a8a06dca1e5e49deecee3cf6e01092101fed Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 10 Dec 2024 11:25:54 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-language-c revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-language-c?expand=0&rev=26 --- .gitattributes | 23 ++++++++ .gitignore | 1 + ghc-language-c.changes | 101 ++++++++++++++++++++++++++++++++++ ghc-language-c.spec | 115 +++++++++++++++++++++++++++++++++++++++ language-c-0.10.0.tar.gz | 3 + language-c-0.9.3.tar.gz | 3 + language-c-0.9.4.tar.gz | 3 + 7 files changed, 249 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ghc-language-c.changes create mode 100644 ghc-language-c.spec create mode 100644 language-c-0.10.0.tar.gz create mode 100644 language-c-0.9.3.tar.gz create mode 100644 language-c-0.9.4.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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ghc-language-c.changes b/ghc-language-c.changes new file mode 100644 index 0000000..1f67dbe --- /dev/null +++ b/ghc-language-c.changes @@ -0,0 +1,101 @@ +------------------------------------------------------------------- +Sun Nov 17 23:09:27 UTC 2024 - Peter Simons + +- Update language-c to version 0.10.0. + ## 0.10.0 + + - Support for half-precision floating point `__fp16`, `_Float16`, and `_Float16x`. + - Support for bfloat16 `__bf16`. + - Support alignment specifier `_Alignas` in struct declatations. + +------------------------------------------------------------------- +Fri Oct 18 23:11:01 UTC 2024 - Peter Simons + +- Update language-c to version 0.9.4. + ## 0.9.4 + + - Support `happy-2.1`. + +------------------------------------------------------------------- +Sat Jan 20 15:44:41 UTC 2024 - Peter Simons + +- Update language-c to version 0.9.3. + Upstream has renamed and modified the change log file(s) in this + release. Unfortunately, the automatic updater cannot reliable + determine relevant entries for this release. + +------------------------------------------------------------------- +Tue Nov 7 17:32:33 UTC 2023 - Peter Simons + +- Update language-c to version 0.9.2 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Thu Apr 6 12:23:52 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Tue Jan 10 13:52:16 UTC 2023 - Peter Simons + +- Update language-c to version 0.9.2. + ## 0.9.2 + + - Add support for 128 bit builtin integer types + +------------------------------------------------------------------- +Wed Apr 6 09:31:53 UTC 2022 - Peter Simons + +- Update language-c to version 0.9.1. + ## 0.9.1 + + - Support parsing an empty list of clobbers after a colon in `asm` statements + +------------------------------------------------------------------- +Wed Mar 16 08:39:25 UTC 2022 - Peter Simons + +- Update language-c to version 0.9.0.2. + ## 0.9.0.2 + + - Correct lower bound on GHC + +------------------------------------------------------------------- +Sat Feb 5 00:26:26 UTC 2022 - Peter Simons + +- Update language-c to version 0.9.0.1 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Sun Dec 20 13:15:08 UTC 2020 - psimons@suse.com + +- Update language-c to version 0.9.0.1. + ## 0.9.0.1 + + - Scrap dependency on syb + + Thanks to @vmchale + +------------------------------------------------------------------- +Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup + +- disable %{ix86} build + +------------------------------------------------------------------- +Fri Sep 4 17:21:42 UTC 2020 - psimons@suse.com + +- Update language-c to version 0.9. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/language-c-0.9/src/ChangeLog + +------------------------------------------------------------------- +Tue Aug 18 10:45:17 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Tue Jun 9 10:27:02 UTC 2020 - psimons@suse.com + +- Add language-c at version 0.8.3. + diff --git a/ghc-language-c.spec b/ghc-language-c.spec new file mode 100644 index 0000000..1d8d69b --- /dev/null +++ b/ghc-language-c.spec @@ -0,0 +1,115 @@ +# +# spec file for package ghc-language-c +# +# Copyright (c) 2024 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%global pkg_name language-c +%global pkgver %{pkg_name}-%{version} +%bcond_with tests +Name: ghc-%{pkg_name} +Version: 0.10.0 +Release: 0 +Summary: Analysis and generation of C code +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 +BuildRequires: alex +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-array-devel +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-directory-devel +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-pretty-devel +BuildRequires: ghc-pretty-prof +BuildRequires: ghc-process-devel +BuildRequires: ghc-process-prof +BuildRequires: ghc-rpm-macros +BuildRequires: happy +ExcludeArch: %{ix86} + +%description +Language C is a Haskell library for the analysis and generation of C code. +It features a complete, well tested parser and pretty printer for all of C99 +and a large set of C11 and clang/GNU extensions. + +%package devel +Summary: Haskell %{pkg_name} library development files +Requires: %{name} = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + +%package -n ghc-%{pkg_name}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + +%prep +%autosetup -n %{pkg_name}-%{version} + +%build +%ghc_lib_build + +%install +%ghc_lib_install + +%check +%cabal_test + +%post devel +%ghc_pkg_recache + +%postun devel +%ghc_pkg_recache + +%files -f %{name}.files +%license LICENSE + +%files devel -f %{name}-devel.files +%doc AUTHORS AUTHORS.c2hs ChangeLog.md README.md + +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + +%changelog diff --git a/language-c-0.10.0.tar.gz b/language-c-0.10.0.tar.gz new file mode 100644 index 0000000..412f0a5 --- /dev/null +++ b/language-c-0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67ac1b5fcd5f8ce1e226b4042ca73d16ab581df9e0e55cd430c7820c1abc6d54 +size 125515 diff --git a/language-c-0.9.3.tar.gz b/language-c-0.9.3.tar.gz new file mode 100644 index 0000000..5c0f1d8 --- /dev/null +++ b/language-c-0.9.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01713fb6c2174fb043d62237019d5c4f0e1b7deb185735c4b51ce97fb86ce253 +size 125062 diff --git a/language-c-0.9.4.tar.gz b/language-c-0.9.4.tar.gz new file mode 100644 index 0000000..d869b92 --- /dev/null +++ b/language-c-0.9.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61ec340dca369d399fd89b54ecdc3a42e569cfd025d866f9d552c54a1e866233 +size 125101