public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ghc-language-c] epel9: Initial import
@ 2026-07-13 13:58 Michel Alexandre Salim
0 siblings, 0 replies; only message in thread
From: Michel Alexandre Salim @ 2026-07-13 13:58 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-13 13:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-13 13:58 [rpms/ghc-language-c] epel9: Initial import Michel Alexandre Salim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox