Blame SPECS/ghc-scientific.spec

f818a9
# generated by cabal-rpm-0.12.1
f818a9
# https://fedoraproject.org/wiki/Packaging:Haskell
f818a9
f818a9
%global pkg_name scientific
f818a9
%global pkgver %{pkg_name}-%{version}
f818a9
f818a9
%bcond_with tests
f818a9
f818a9
Name:           ghc-%{pkg_name}
f818a9
Version:        0.3.5.2
f818a9
Release:        2%{?dist}
f818a9
Summary:        Numbers represented using scientific notation
f818a9
f818a9
License:        BSD
f818a9
Url:            https://hackage.haskell.org/package/%{pkg_name}
f818a9
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
f818a9
f818a9
BuildRequires:  ghc-Cabal-devel
f818a9
BuildRequires:  ghc-rpm-macros
f818a9
# Begin cabal-rpm deps:
f818a9
BuildRequires:  ghc-binary-devel
f818a9
BuildRequires:  ghc-bytestring-devel
f818a9
BuildRequires:  ghc-containers-devel
f818a9
BuildRequires:  ghc-deepseq-devel
f818a9
BuildRequires:  ghc-hashable-devel
f818a9
BuildRequires:  ghc-integer-logarithms-devel
f818a9
BuildRequires:  ghc-primitive-devel
f818a9
BuildRequires:  ghc-text-devel
f818a9
%if %{with tests}
f818a9
BuildRequires:  ghc-QuickCheck-devel
f818a9
BuildRequires:  ghc-smallcheck-devel
f818a9
BuildRequires:  ghc-tasty-ant-xml-devel
f818a9
BuildRequires:  ghc-tasty-devel
f818a9
BuildRequires:  ghc-tasty-hunit-devel
f818a9
BuildRequires:  ghc-tasty-quickcheck-devel
f818a9
BuildRequires:  ghc-tasty-smallcheck-devel
f818a9
%endif
f818a9
# End cabal-rpm deps
f818a9
f818a9
%description
f818a9
'Data.Scientific' provides a space efficient and arbitrary precision scientific
f818a9
number type.
f818a9
f818a9
A 'Scientific' number is represented with coefficient 'c' and
f818a9
base10Exponent 'e' and corresponds to the 'Fractional' number:
f818a9
'fromInteger c * 10 ^^ e'
f818a9
f818a9
The main application of 'Scientific' is to be used as the target of parsing
f818a9
arbitrary precision numbers coming from an untrusted source.
f818a9
f818a9
f818a9
%package devel
f818a9
Summary:        Haskell %{pkg_name} library development files
f818a9
Provides:       %{name}-static = %{version}-%{release}
f818a9
Provides:       %{name}-doc = %{version}-%{release}
f818a9
%if %{defined ghc_version}
f818a9
Requires:       ghc-compiler = %{ghc_version}
f818a9
Requires(post): ghc-compiler = %{ghc_version}
f818a9
Requires(postun): ghc-compiler = %{ghc_version}
f818a9
%endif
f818a9
Requires:       %{name}%{?_isa} = %{version}-%{release}
f818a9
f818a9
%description devel
f818a9
This package provides the Haskell %{pkg_name} library development files.
f818a9
f818a9
f818a9
%prep
f818a9
%setup -q -n %{pkgver}
f818a9
f818a9
f818a9
%build
f818a9
%ghc_lib_build
f818a9
f818a9
f818a9
%install
f818a9
%ghc_lib_install
f818a9
f818a9
f818a9
%check
f818a9
%cabal_test
f818a9
f818a9
f818a9
%post devel
f818a9
%ghc_pkg_recache
f818a9
f818a9
f818a9
%postun devel
f818a9
%ghc_pkg_recache
f818a9
f818a9
f818a9
%files -f %{name}.files
f818a9
%license LICENSE
f818a9
f818a9
f818a9
%files devel -f %{name}-devel.files
f818a9
%doc changelog
f818a9
f818a9
f818a9
%changelog
f818a9
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5.2-2
f818a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f818a9
f818a9
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.3.5.2-1
f818a9
- update to 0.3.5.2
f818a9
f818a9
* Tue Nov 21 2017 Jens Petersen <petersen@redhat.com> - 0.3.4.10-4
f818a9
- integer-logarithms is now packaged
f818a9
- update to cabal-rpm-0.12 packaging
f818a9
f818a9
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.10-3
f818a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f818a9
f818a9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.10-2
f818a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f818a9
f818a9
* Tue Feb 21 2017 Jens Petersen <petersen@redhat.com> - 0.3.4.10-1
f818a9
- update to 0.3.4.10
f818a9
f818a9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.7-2
f818a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f818a9
f818a9
* Sun Jun 26 2016 Jens Petersen <petersen@redhat.com> - 0.3.4.7-1
f818a9
- update to 0.3.4.7
f818a9
f818a9
* Tue Jun  7 2016 Jens Petersen <petersen@redhat.com> - 0.3.3.8-1
f818a9
- update to 0.3.3.8
f818a9
f818a9
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3.1-3
f818a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f818a9
f818a9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3.1-2
f818a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f818a9
f818a9
* Wed Oct 1 2014 Ricky Elrod <relrod@redhat.com> - 0.3.3.1-1
f818a9
- Latest upstream version.
f818a9
f818a9
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2.1-3
f818a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f818a9
f818a9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2.1-2
f818a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f818a9
f818a9
* Thu May 22 2014 Ricky Elrod <relrod@redhat.com> - 0.3.2.1-1
f818a9
- Bump to 0.3.2.1
f818a9
f818a9
* Sat Mar 15 2014 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.2.0.2-1
f818a9
- spec file generated by cabal-rpm-0.8.10