[ghc-hgettext] Initial import (#1115894).
pwithnall
pwithnall at fedoraproject.org
Thu Jul 17 15:39:09 UTC 2014
commit 19492fe3385ab13fdcd2ce42232fdc450bd5917c
Author: Philip Withnall <philip.withnall at collabora.co.uk>
Date: Thu Jul 17 16:38:55 2014 +0100
Initial import (#1115894).
.gitignore | 1 +
ghc-hgettext.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..abc2ba0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hgettext-0.1.30.tar.gz
diff --git a/ghc-hgettext.spec b/ghc-hgettext.spec
new file mode 100644
index 0000000..f366bab
--- /dev/null
+++ b/ghc-hgettext.spec
@@ -0,0 +1,75 @@
+# https://fedoraproject.org/wiki/Packaging:Haskell
+
+%global pkg_name hgettext
+
+# no useful debuginfo for Haskell packages without C sources
+%global debug_package %{nil}
+
+Name: ghc-%{pkg_name}
+Version: 0.1.30
+Release: 1%{?dist}
+Summary: Haskell binding to libintl
+
+License: BSD
+URL: http://hackage.haskell.org/package/%{pkg_name}
+Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires: ghc-containers-devel
+BuildRequires: ghc-directory-devel
+BuildRequires: ghc-filepath-devel
+BuildRequires: ghc-haskell-src-exts-devel
+BuildRequires: ghc-process-devel
+BuildRequires: ghc-setlocale-devel
+BuildRequires: ghc-uniplate-devel
+# End cabal-rpm deps
+
+%description
+Bindings to libintl.h (gettext, bindtextdomain).
+
+
+%package devel
+Summary: Haskell %{pkg_name} library development files
+Provides: ghc-%{pkg_name}-static = %{version}-%{release}
+Requires: ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+Requires: %{name}%{?_isa} = %{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
+%doc
+
+
+%files devel -f %{name}-devel.files
+%{_bindir}/%{pkg_name}
+
+
+%changelog
+* Sat Jun 28 2014 Philip Withnall <philip at tecnocode.co.uk> - 0.1.30-1
+- spec file generated by cabal-rpm-0.8.11
diff --git a/sources b/sources
index e69de29..8ea352f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6b36a5c86e13de18c7daef124d9e9a71 hgettext-0.1.30.tar.gz
More information about the scm-commits
mailing list