Blame SPECS/ghc-Glob.spec

662351
# generated by cabal-rpm-0.12.1
662351
# https://fedoraproject.org/wiki/Packaging:Haskell
662351
662351
%global pkg_name Glob
662351
%global pkgver %{pkg_name}-%{version}
662351
662351
%bcond_with tests
662351
662351
Name:           ghc-%{pkg_name}
662351
Version:        0.9.1
662351
Release:        3%{?dist}
662351
Summary:        Globbing library
662351
662351
License:        BSD
662351
Url:            https://hackage.haskell.org/package/%{pkg_name}
662351
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
662351
662351
BuildRequires:  ghc-Cabal-devel
662351
BuildRequires:  ghc-rpm-macros
662351
# Begin cabal-rpm deps:
662351
BuildRequires:  ghc-containers-devel
662351
BuildRequires:  ghc-directory-devel
662351
BuildRequires:  ghc-dlist-devel
662351
BuildRequires:  ghc-filepath-devel
662351
BuildRequires:  ghc-transformers-compat-devel
662351
BuildRequires:  ghc-transformers-devel
662351
%if %{with tests}
662351
BuildRequires:  ghc-HUnit-devel
662351
BuildRequires:  ghc-QuickCheck-devel
662351
BuildRequires:  ghc-test-framework-devel
662351
BuildRequires:  ghc-test-framework-hunit-devel
662351
BuildRequires:  ghc-test-framework-quickcheck2-devel
662351
%endif
662351
# End cabal-rpm deps
662351
662351
%description
662351
A library for globbing: matching patterns against file paths.
662351
662351
662351
%package devel
662351
Summary:        Haskell %{pkg_name} library development files
662351
Provides:       %{name}-static = %{version}-%{release}
662351
Provides:       %{name}-doc = %{version}-%{release}
662351
%if %{defined ghc_version}
662351
Requires:       ghc-compiler = %{ghc_version}
662351
Requires(post): ghc-compiler = %{ghc_version}
662351
Requires(postun): ghc-compiler = %{ghc_version}
662351
%endif
662351
Requires:       %{name}%{?_isa} = %{version}-%{release}
662351
662351
%description devel
662351
This package provides the Haskell %{pkg_name} library development files.
662351
662351
662351
%prep
662351
%setup -q -n %{pkgver}
662351
662351
662351
%build
662351
%ghc_lib_build
662351
662351
662351
%install
662351
%ghc_lib_install
662351
662351
662351
%check
662351
%cabal_test
662351
662351
662351
%post devel
662351
%ghc_pkg_recache
662351
662351
662351
%postun devel
662351
%ghc_pkg_recache
662351
662351
662351
%files -f %{name}.files
662351
%license LICENSE.txt
662351
662351
662351
%files devel -f %{name}-devel.files
662351
%doc CHANGELOG.txt README.txt
662351
662351
662351
%changelog
662351
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
662351
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
662351
662351
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.9.1-2
662351
- rebuild
662351
662351
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.9.1-1
662351
- spec file generated by cabal-rpm-0.11.2