|
|
a5eefc8 |
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
a5eefc8 |
|
|
|
a5eefc8 |
%global pkg_name dbus
|
|
|
a5eefc8 |
|
|
|
1f59ab0 |
%bcond_with tests
|
|
|
1f59ab0 |
|
|
|
a5eefc8 |
Name: ghc-%{pkg_name}
|
|
Fedora Release Monitoring |
a20416c |
Version: 0.10.10
|
|
|
7d0c687 |
Release: 4%{?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}
|
|
|
1245993 |
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.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
|
|
|
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-chell-devel
|
|
|
1f59ab0 |
BuildRequires: ghc-chell-quickcheck-devel
|
|
|
1f59ab0 |
BuildRequires: ghc-directory-devel
|
|
|
1f59ab0 |
BuildRequires: ghc-filepath-devel
|
|
|
1f59ab0 |
BuildRequires: ghc-process-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}
|
|
|
0960e49 |
Requires: ghc-compiler = %{ghc_version}
|
|
|
0960e49 |
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
0960e49 |
Requires(postun): ghc-compiler = %{ghc_version}
|
|
|
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
|
|
|
a5eefc8 |
%setup -q -n %{pkg_name}-%{version}
|
|
|
a5eefc8 |
|
|
|
0960e49 |
|
|
|
a5eefc8 |
%build
|
|
|
a5eefc8 |
%ghc_lib_build
|
|
|
a5eefc8 |
|
|
|
0960e49 |
|
|
|
a5eefc8 |
%install
|
|
|
a5eefc8 |
%ghc_lib_install
|
|
|
a5eefc8 |
|
|
|
a5eefc8 |
|
|
|
1f59ab0 |
%check
|
|
|
1f59ab0 |
%if %{with tests}
|
|
|
1f59ab0 |
%cabal test
|
|
|
1f59ab0 |
%endif
|
|
|
1f59ab0 |
|
|
|
1f59ab0 |
|
|
|
0960e49 |
%post devel
|
|
|
0960e49 |
%ghc_pkg_recache
|
|
|
0960e49 |
|
|
|
0960e49 |
|
|
|
0960e49 |
%postun devel
|
|
|
0960e49 |
%ghc_pkg_recache
|
|
|
a5eefc8 |
|
|
|
a5eefc8 |
|
|
|
0960e49 |
%files -f %{name}.files
|
|
|
0960e49 |
%doc license.txt
|
|
|
0960e49 |
|
|
|
0960e49 |
|
|
|
0960e49 |
%files devel -f %{name}-devel.files
|
|
|
a5eefc8 |
%doc examples
|
|
|
a5eefc8 |
|
|
|
0960e49 |
|
|
|
a5eefc8 |
%changelog
|
|
|
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
|