0886de5
# generated by cabal-rpm-0.12.1
a5eefc8
# https://fedoraproject.org/wiki/Packaging:Haskell
a5eefc8
a5eefc8
%global pkg_name dbus
f6fe379
%global pkgver %{pkg_name}-%{version}
a5eefc8
7fe3c35
%bcond_without tests
1f59ab0
a5eefc8
Name:           ghc-%{pkg_name}
7fe3c35
Version:        0.10.14
7fe3c35
Release:        1%{?dist}
0960e49
Summary:        Haskell client library for the D-Bus IPC system
a5eefc8
a5eefc8
License:        GPLv3+
1245993
Url:            https://hackage.haskell.org/package/%{pkg_name}
f6fe379
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
a5eefc8
a5eefc8
BuildRequires:  ghc-Cabal-devel
a5eefc8
BuildRequires:  ghc-rpm-macros
0960e49
# Begin cabal-rpm deps:
a5eefc8
BuildRequires:  ghc-bytestring-devel
a5eefc8
BuildRequires:  ghc-cereal-devel
a5eefc8
BuildRequires:  ghc-containers-devel
7fe3c35
BuildRequires:  ghc-deepseq-devel
a5eefc8
BuildRequires:  ghc-libxml-sax-devel
a5eefc8
BuildRequires:  ghc-network-devel
a5eefc8
BuildRequires:  ghc-parsec-devel
a5eefc8
BuildRequires:  ghc-random-devel
a5eefc8
BuildRequires:  ghc-text-devel
a5eefc8
BuildRequires:  ghc-transformers-devel
a5eefc8
BuildRequires:  ghc-unix-devel
a5eefc8
BuildRequires:  ghc-vector-devel
a5eefc8
BuildRequires:  ghc-xml-types-devel
1f59ab0
%if %{with tests}
1f59ab0
BuildRequires:  ghc-QuickCheck-devel
1f59ab0
BuildRequires:  ghc-directory-devel
7fe3c35
BuildRequires:  ghc-extra-devel
1f59ab0
BuildRequires:  ghc-filepath-devel
1f59ab0
BuildRequires:  ghc-process-devel
7fe3c35
BuildRequires:  ghc-resourcet-devel
7fe3c35
BuildRequires:  ghc-tasty-devel
7fe3c35
BuildRequires:  ghc-tasty-hunit-devel
7fe3c35
BuildRequires:  ghc-tasty-quickcheck-devel
1f59ab0
%endif
0960e49
# End cabal-rpm deps
a5eefc8
a5eefc8
%description
0960e49
D-Bus is a simple, message-based protocol for inter-process communication,
0960e49
which allows applications to interact with other parts of the machine and the
0960e49
user's session using remote procedure calls.
0960e49
0960e49
This library is an implementation of the D-Bus protocol in Haskell. It can be
0960e49
used to add D-Bus support to Haskell applications, without the awkward
0960e49
interfaces common to foreign bindings.
0960e49
0960e49
0960e49
%package devel
0960e49
Summary:        Haskell %{pkg_name} library development files
1f59ab0
Provides:       %{name}-static = %{version}-%{release}
0886de5
Provides:       %{name}-doc = %{version}-%{release}
0886de5
%if %{defined ghc_version}
0960e49
Requires:       ghc-compiler = %{ghc_version}
0960e49
Requires(post): ghc-compiler = %{ghc_version}
0960e49
Requires(postun): ghc-compiler = %{ghc_version}
0886de5
%endif
0960e49
Requires:       %{name}%{?_isa} = %{version}-%{release}
0960e49
0960e49
%description devel
1f59ab0
This package provides the Haskell %{pkg_name} library development files.
0960e49
a5eefc8
a5eefc8
%prep
f6fe379
%setup -q -n %{pkgver}
a5eefc8
0960e49
a5eefc8
%build
a5eefc8
%ghc_lib_build
a5eefc8
0960e49
a5eefc8
%install
a5eefc8
%ghc_lib_install
a5eefc8
a5eefc8
1f59ab0
%check
605033c
%cabal_test
1f59ab0
1f59ab0
0886de5
%post -p /sbin/ldconfig
0886de5
0886de5
0886de5
%postun -p /sbin/ldconfig
0886de5
0886de5
0960e49
%post devel
0960e49
%ghc_pkg_recache
0960e49
0960e49
0960e49
%postun devel
0960e49
%ghc_pkg_recache
a5eefc8
a5eefc8
0960e49
%files -f %{name}.files
a4a30c2
%license license.txt
0960e49
0960e49
0960e49
%files devel -f %{name}-devel.files
a5eefc8
%doc examples
a5eefc8
0960e49
a5eefc8
%changelog
7fe3c35
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.10.14-1
7fe3c35
- update to 0.10.14
7fe3c35
b64147e
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.12-5
b64147e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b64147e
5e39d08
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.12-4
5e39d08
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5e39d08
f6fe379
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.10.12-3
f6fe379
- refresh to cabal-rpm-0.11.1
f6fe379
9f70c74
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.12-2
9f70c74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9f70c74
aa59988
* Fri Feb 19 2016 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.10.12-1
Fedora Release Monitoring 57f7b84
- Update to 0.10.12 (#1299445)
Fedora Release Monitoring 57f7b84
7d0c687
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.10-4
7d0c687
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7d0c687
a95e952
* Mon Aug 31 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.10.10-3
a95e952
- Rebuild (aarch64 vector hashes)
a95e952
ff938aa
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.10-2
ff938aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ff938aa
Fedora Release Monitoring a20416c
* Wed Apr 01 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.10.10-1
Fedora Release Monitoring a20416c
- Update to 0.10.10 (#1181481)
Fedora Release Monitoring a20416c
1245993
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 0.10.8-2
1245993
- cblrpm refresh
1245993
65c37f5
* Fri Aug 22 2014 Dan Callaghan <dcallagh@redhat.com> - 0.10.8-1
65c37f5
- upstream release 0.10.8 (just test fixes and dependency relaxations)
65c37f5
3176a69
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.7-4
3176a69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3176a69
1f59ab0
* Tue Jun 10 2014 Jens Petersen <petersen@redhat.com> - 0.10.7-3
1f59ab0
- update to cblrpm-0.8.11
1f59ab0
70129db
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.7-2
70129db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
70129db
c839120
* Mon Mar 17 2014 Dan Callaghan <dcallagh@redhat.com> - 0.10.7-1
c839120
- upstream release 0.10.7
c839120
3eb2ef2
* Thu Feb 20 2014 Dan Callaghan <dcallagh@redhat.com> - 0.10.6-2
3eb2ef2
- rebuilt for updated ghc-libxml-sax
3eb2ef2
4c9621c
* Wed Feb 19 2014 Dan Callaghan <dcallagh@redhat.com> - 0.10.6-1
4c9621c
- upstream release 0.10.6 (again no effective changes, just more relaxing of 
4c9621c
  version requirements)
4c9621c
02514af
* Mon Feb 03 2014 Dan Callaghan <dcallagh@redhat.com> - 0.10.5-1
02514af
- upstream release 0.10.5 (no effective changes, upstream just relaxed the 
02514af
  version requirement for cereal)
02514af
0960e49
* Wed Jul 17 2013 Dan Callaghan <dcallagh@redhat.com> - 0.10.4-2
0960e49
- update for new guidelines (cabal-rpm 0.8.2)
0960e49
a5eefc8
* Mon May 13 2013 Dan Callaghan <dcallagh@redhat.com> - 0.10.4-1
a5eefc8
- initial version