Blame SPECS/ghc-asn1-parse.spec

7e8afd
# generated by cabal-rpm-0.12.1
7e8afd
# https://fedoraproject.org/wiki/Packaging:Haskell
7e8afd
7e8afd
%global pkg_name asn1-parse
7e8afd
%global pkgver %{pkg_name}-%{version}
7e8afd
7e8afd
Name:           ghc-%{pkg_name}
7e8afd
Version:        0.9.4
7e8afd
Release:        5%{?dist}
7e8afd
Summary:        Simple monadic parser for ASN1 stream types
7e8afd
7e8afd
License:        BSD
7e8afd
Url:            https://hackage.haskell.org/package/%{pkg_name}
7e8afd
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
7e8afd
7e8afd
BuildRequires:  ghc-Cabal-devel
7e8afd
BuildRequires:  ghc-rpm-macros
7e8afd
# Begin cabal-rpm deps:
7e8afd
BuildRequires:  ghc-asn1-encoding-devel
7e8afd
BuildRequires:  ghc-asn1-types-devel
7e8afd
BuildRequires:  ghc-bytestring-devel
7e8afd
# End cabal-rpm deps
7e8afd
7e8afd
%description
7e8afd
Simple monadic parser for ASN1 stream types, when ASN1 pattern matching is not
7e8afd
convenient.
7e8afd
7e8afd
7e8afd
%package devel
7e8afd
Summary:        Haskell %{pkg_name} library development files
7e8afd
Provides:       %{name}-static = %{version}-%{release}
7e8afd
Provides:       %{name}-doc = %{version}-%{release}
7e8afd
%if %{defined ghc_version}
7e8afd
Requires:       ghc-compiler = %{ghc_version}
7e8afd
Requires(post): ghc-compiler = %{ghc_version}
7e8afd
Requires(postun): ghc-compiler = %{ghc_version}
7e8afd
%endif
7e8afd
Requires:       %{name}%{?_isa} = %{version}-%{release}
7e8afd
7e8afd
%description devel
7e8afd
This package provides the Haskell %{pkg_name} library development files.
7e8afd
7e8afd
7e8afd
%prep
7e8afd
%setup -q -n %{pkgver}
7e8afd
7e8afd
7e8afd
%build
7e8afd
%ghc_lib_build
7e8afd
7e8afd
7e8afd
%install
7e8afd
%ghc_lib_install
7e8afd
7e8afd
7e8afd
%post devel
7e8afd
%ghc_pkg_recache
7e8afd
7e8afd
7e8afd
%postun devel
7e8afd
%ghc_pkg_recache
7e8afd
7e8afd
7e8afd
%files -f %{name}.files
7e8afd
%license LICENSE
7e8afd
7e8afd
7e8afd
%files devel -f %{name}-devel.files
7e8afd
7e8afd
7e8afd
%changelog
7e8afd
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-5
7e8afd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7e8afd
7e8afd
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.9.4-4
7e8afd
- rebuild
7e8afd
7e8afd
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.9.4-3
7e8afd
- Bump for Fedora 26.
7e8afd
7e8afd
* Fri Dec 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.4-2
7e8afd
- spec file generated by cabal-rpm-0.10.0
7e8afd
- Update release to be newer than previous builds
7e8afd
7e8afd
* Sun Apr 24 2016 Elliott Sales de Andrade - 0.9.4-1
7e8afd
- update to 0.9.4
7e8afd
7e8afd
* Sun Apr 24 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.1-2
7e8afd
- Bump to rebuild against newer dependencies
7e8afd
7e8afd
* Sun Aug 23 2015 Ben Boeckel <mathstuf@gmail.com> - 0.9.1-1
7e8afd
- initial package