Blob Blame History Raw

%global pkg_name network-uri

%bcond_with tests

Name:           ghc-%{pkg_name}
Release:        2%{?dist}
Summary:        URI manipulation

License:        BSD
Url:  {pkg_name}

BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires:  ghc-deepseq-devel
BuildRequires:  ghc-parsec-devel
%if %{with tests}
BuildRequires:  ghc-HUnit-devel
BuildRequires:  ghc-test-framework-devel
BuildRequires:  ghc-test-framework-hunit-devel
BuildRequires:  ghc-test-framework-quickcheck2-devel
# End cabal-rpm deps

This package provides an URI manipulation interface.

%package devel
Summary:        Haskell %{pkg_name} library development files
Provides:       %{name}-static = %{version}-%{release}
Requires:       ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description devel
This package provides the Haskell %{pkg_name} library development files.

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



rm %{buildroot}%{ghc_pkgdocdir}/LICENSE

%if %{with tests}
%cabal test

%post devel

%postun devel

%files -f %{name}.files
%license LICENSE

%files devel -f %{name}-devel.files

* Thu Jun 30 2016 Jens Petersen <> -
- rebuild

* Sat Apr 23 2016 Ben Boeckel <> -
- update to

* Wed Feb 03 2016 Fedora Release Engineering <> -
- Rebuilt for

* Wed Sep 09 2015 Ben Boeckel <> -
- fedora import

* Sun Aug 23 2015 Ben Boeckel <> -
- initial package