Skip to content

Commit

Permalink
added
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Feb 6, 2013
1 parent 681d259 commit 45261f8
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions rpm.specs/ghc-xhb.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell

%global pkg_name xhb

%global common_summary X Haskell Bindings

%global common_description Provides low-level bindings to the X11 protocol.\
\
Similar to XCB - the X C Bindings.\
\
This library is based on version 1.6 of the xcb-proto\
package. See http:\/\/xcb.freedesktop.org\/XmlXcb\/ and\
http:\/\/xcb.freedesktop.org\/dist\/ .

Name: ghc-%{pkg_name}
Version: 0.5.2012.11.23
Release: 1%{?dist}
Summary: %{common_summary}

License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz

BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-Xauth-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-byteorder-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-stm-devel
# End cabal-rpm deps

%description
%{common_description}


%prep
%setup -q -n %{pkg_name}-%{version}


%build
%ghc_lib_build


%install
%ghc_lib_install


%ghc_devel_package

%ghc_devel_description


%ghc_devel_post_postun


%ghc_files LICENSE


%changelog
* Wed Feb 6 2013 Fedora Haskell SIG <haskell@lists.fedoraproject.org>
- spec file generated by cabal-rpm-0.6.6

0 comments on commit 45261f8

Please sign in to comment.