# generated by cabal-rpm-0.12.4 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name filestore %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 0.6.3.3 Release: 2%{?dist} Summary: Interface for versioning file stores License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-Diff-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-old-locale-devel BuildRequires: ghc-parsec-devel BuildRequires: ghc-process-devel BuildRequires: ghc-split-devel BuildRequires: ghc-time-devel BuildRequires: ghc-utf8-string-devel BuildRequires: ghc-xml-devel %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-mtl-devel %endif # End cabal-rpm deps %description The filestore library provides an abstract interface for a versioning file store, and modules that instantiate this interface. Currently Git, Darcs, and Mercurial modules are provided, and other VCSs or databases could be added. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} Provides: %{name}-doc = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} %endif Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} %build %ghc_lib_build %install %ghc_lib_install rm %{buildroot}%{_datadir}/%{pkgver}/CHANGES %check %cabal_test %post devel %ghc_pkg_recache %postun devel %ghc_pkg_recache %files -f %{name}.files %license LICENSE %{_datadir}/%{pkgver} %files devel -f %{name}-devel.files %doc CHANGES %changelog * Thu Jan 31 2019 Fedora Release Engineering - 0.6.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Aug 16 2018 Fedora Haskell SIG - 0.6.3.3-1 - spec file generated by cabal-rpm-0.12.4