public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Alexandre Salim <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ghc-language-c] epel9: Initial import
Date: Mon, 13 Jul 2026 13:58:04 GMT [thread overview]
Message-ID: <178395108434.1.13232936553702885975.rpms-ghc-language-c-4f9b5c69af4c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ghc-language-c
Branch : epel9
Commit : 4f9b5c69af4cdadfd200e2809caadb3d8e7924c9
Author : Michel Alexandre Salim <salimma@fedoraproject.org>
Date : 2011-10-04T17:25:12+02:00
Stats : +105/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/ghc-language-c/c/4f9b5c69af4cdadfd200e2809caadb3d8e7924c9?branch=epel9
Log:
Initial import
---
diff --git a/.gitignore b/.gitignore
index e69de29..90d6915 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/language-c-0.4.2.tar.gz
diff --git a/ghc-language-c.spec b/ghc-language-c.spec
new file mode 100644
index 0000000..576a469
--- /dev/null
+++ b/ghc-language-c.spec
@@ -0,0 +1,103 @@
+# For Haskell Packaging Guidelines see:
+# - https://fedoraproject.org/wiki/Packaging:Haskell
+# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name language-c
+
+# common part of summary for all the subpackages
+%global common_summary Haskell library for C code analysis and generation
+
+# main description used for all the subpackages
+%global common_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 GNU extensions.
+
+Name: ghc-%{pkg_name}
+Version: 0.4.2
+Release: 3%{?dist}
+Summary: %{common_summary}
+
+Group: System Environment/Libraries
+License: BSD
+# BEGIN: cabal2spec-0.24
+URL: http://hackage.haskell.org/package/%{pkg_name}
+Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+ExclusiveArch: %{ghc_arches}
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-rpm-macros
+BuildRequires: hscolour
+# END: cabal2spec-0.24
+# BR any C devel dependency here
+# list ghc-*-prof dependencies:
+BuildRequires: alex
+BuildRequires: happy
+BuildRequires: ghc-containers-prof
+BuildRequires: ghc-directory-prof
+BuildRequires: ghc-filepath-prof
+BuildRequires: ghc-pretty-prof
+BuildRequires: ghc-process-prof
+BuildRequires: ghc-syb-prof
+
+%description
+%{common_description}
+
+
+%package -n ghc-%{pkg_name}-devel
+Summary: Development files for %{common_summary}
+Group: Development/Libraries
+# BEGIN: cabal2spec-0.24
+%{?ghc_devel_requires}
+Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release}
+Provides: ghc-%{pkg_name}-prof = %{version}-%{release}
+# END: cabal2spec-0.24
+# remember to require any C devel dependency here
+# Haskell devel dependencies are autogenerated by ghc-deps.sh
+
+%description -n ghc-%{pkg_name}-devel
+%{common_description}
+
+This package contains the development files.
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+%post -n ghc-%{pkg_name}-devel
+%ghc_pkg_recache
+
+
+%postun -n ghc-%{pkg_name}-devel
+%ghc_pkg_recache
+
+
+%if %{undefined ghc_without_shared}
+%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files
+%defattr(-,root,root,-)
+%endif
+
+
+%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files
+%defattr(-,root,root,-)
+
+
+%changelog
+* Mon Sep 26 2011 Michel Salim <salimma@fedoraproject.org> - 0.4.2-3
+- Remove manual runtime dependencies; issue fixed by ghc-rpm-macros 0.13.10
+
+* Fri Sep 9 2011 Michel Salim <salimma@fedoraproject.org> - 0.4.2-2
+- Add runtime dependencies
+
+* Thu Sep 8 2011 Michel Salim <salimma@fedoraproject.org> - 0.4.2-1
+- Override license, summary and description
+
+* Thu Sep 8 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.4.2-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.24
diff --git a/sources b/sources
index e69de29..e4016ec 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7b0ba1e90b53f7ea9883f9a6cf07d3d4 language-c-0.4.2.tar.gz
reply other threads:[~2026-07-13 13:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178395108434.1.13232936553702885975.rpms-ghc-language-c-4f9b5c69af4c@fedoraproject.org \
--to=salimma@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox