initial version (generated by cabal-rpm)

This commit is contained in:
Dan Callaghan 2013-05-13 10:32:37 +10:00
parent 012789f2a3
commit a5eefc8c4e
3 changed files with 66 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/dbus-0.10.4.tar.gz

64
ghc-dbus.spec Normal file
View File

@ -0,0 +1,64 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name dbus
%global common_summary A client library for the D-Bus IPC system
%global common_description D-Bus is a simple, message-based protocol for inter-process \
communication, which allows applications to interact with other parts of \
the machine and the user's session using remote procedure calls. \
\
This library is an implementation of the D-Bus protocol in Haskell. It \
can be used to add D-Bus support to Haskell applications, without the \
awkward interfaces common to foreign bindings.
Name: ghc-%{pkg_name}
Version: 0.10.4
Release: 1%{?dist}
Summary: %{common_summary}
License: GPLv3+
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
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cereal-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-libxml-sax-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unix-devel
BuildRequires: ghc-vector-devel
BuildRequires: ghc-xml-types-devel
%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.txt
%doc examples
%changelog
* Mon May 13 2013 Dan Callaghan <dcallagh@redhat.com> - 0.10.4-1
- initial version

View File

@ -0,0 +1 @@
37d7c18abd7a4b397265e90eed035e92 dbus-0.10.4.tar.gz