-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |