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
This commit is contained in:
Peter Simons 2024-12-10 11:25:54 +00:00 committed by Git OBS Bridge
commit 59f0aff114
7 changed files with 249 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

101
ghc-language-c.changes Normal file
View File

@ -0,0 +1,101 @@
-------------------------------------------------------------------
Sun Nov 17 23:09:27 UTC 2024 - Peter Simons <psimons@suse.com>
- 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 <psimons@suse.com>
- 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 <psimons@suse.com>
- 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 <psimons@suse.com>
- 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 <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Tue Jan 10 13:52:16 UTC 2023 - Peter Simons <psimons@suse.com>
- 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 <psimons@suse.com>
- 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 <psimons@suse.com>
- 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 <psimons@suse.com>
- 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 <mimi.vx@gmail.com>
- 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 <psimons@suse.com>
- 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.

115
ghc-language-c.spec Normal file
View File

@ -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

3
language-c-0.10.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67ac1b5fcd5f8ce1e226b4042ca73d16ab581df9e0e55cd430c7820c1abc6d54
size 125515

3
language-c-0.9.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01713fb6c2174fb043d62237019d5c4f0e1b7deb185735c4b51ce97fb86ce253
size 125062

3
language-c-0.9.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61ec340dca369d399fd89b54ecdc3a42e569cfd025d866f9d552c54a1e866233
size 125101