Initial import (#1115894).

This commit is contained in:
Philip Withnall 2014-07-17 16:38:55 +01:00
parent 9f88b518a1
commit 19492fe338
3 changed files with 77 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/hgettext-0.1.30.tar.gz

75
ghc-hgettext.spec Normal file
View File

@ -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@tecnocode.co.uk> - 0.1.30-1
- spec file generated by cabal-rpm-0.8.11

View File

@ -0,0 +1 @@
6b36a5c86e13de18c7daef124d9e9a71 hgettext-0.1.30.tar.gz