Blame SPECS/ghc-th-abstraction.spec

43fc73
# generated by cabal-rpm-0.12.1
43fc73
# https://fedoraproject.org/wiki/Packaging:Haskell
43fc73
43fc73
%global pkg_name th-abstraction
43fc73
%global pkgver %{pkg_name}-%{version}
43fc73
43fc73
Name:           ghc-%{pkg_name}
43fc73
Version:        0.2.6.0
43fc73
Release:        2%{?dist}
43fc73
Summary:        Nicer interface for reified information about data types
43fc73
43fc73
License:        ISC
43fc73
Url:            https://hackage.haskell.org/package/%{pkg_name}
43fc73
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
43fc73
43fc73
BuildRequires:  ghc-Cabal-devel
43fc73
BuildRequires:  ghc-rpm-macros
43fc73
# Begin cabal-rpm deps:
43fc73
BuildRequires:  ghc-containers-devel
43fc73
BuildRequires:  ghc-template-haskell-devel
43fc73
# End cabal-rpm deps
43fc73
43fc73
%description
43fc73
This package normalizes variations in the interface for inspecting datatype
43fc73
information via Template Haskell so that packages and support a single, easier
43fc73
to use informational datatype while supporting many versions of Template
43fc73
Haskell.
43fc73
43fc73
43fc73
%package devel
43fc73
Summary:        Haskell %{pkg_name} library development files
43fc73
Provides:       %{name}-static = %{version}-%{release}
43fc73
Provides:       %{name}-doc = %{version}-%{release}
43fc73
%if %{defined ghc_version}
43fc73
Requires:       ghc-compiler = %{ghc_version}
43fc73
Requires(post): ghc-compiler = %{ghc_version}
43fc73
Requires(postun): ghc-compiler = %{ghc_version}
43fc73
%endif
43fc73
Requires:       %{name}%{?_isa} = %{version}-%{release}
43fc73
43fc73
%description devel
43fc73
This package provides the Haskell %{pkg_name} library development files.
43fc73
43fc73
43fc73
%prep
43fc73
%setup -q -n %{pkgver}
43fc73
43fc73
43fc73
%build
43fc73
%ghc_lib_build
43fc73
43fc73
43fc73
%install
43fc73
%ghc_lib_install
43fc73
43fc73
43fc73
%check
43fc73
%cabal_test
43fc73
43fc73
43fc73
%post devel
43fc73
%ghc_pkg_recache
43fc73
43fc73
43fc73
%postun devel
43fc73
%ghc_pkg_recache
43fc73
43fc73
43fc73
%files -f %{name}.files
43fc73
%license LICENSE
43fc73
43fc73
43fc73
%files devel -f %{name}-devel.files
43fc73
%doc ChangeLog.md README.md
43fc73
43fc73
43fc73
%changelog
43fc73
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6.0-2
43fc73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
43fc73
43fc73
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.2.6.0-1
43fc73
- update to 0.2.6.0
43fc73
43fc73
* Sat Aug 26 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.5.0-1
43fc73
- Update to latest version.
43fc73
- Update to latest spec template.
43fc73
43fc73
* Sat Aug 26 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.5.0-1
43fc73
- update to 0.2.5.0
43fc73
43fc73
* Sat Jul 22 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.2.3.0-1
43fc73
- spec file generated by cabal-rpm-0.11