Blame SPECS/ghc-old-time.spec

5651ac
# generated by cabal-rpm-0.12.1
5651ac
# https://fedoraproject.org/wiki/Packaging:Haskell
5651ac
5651ac
%global pkg_name old-time
5651ac
%global pkgver %{pkg_name}-%{version}
5651ac
5651ac
Name:           ghc-%{pkg_name}
5651ac
Version:        1.1.0.3
5651ac
Release:        7%{?dist}
5651ac
Summary:        Time library
5651ac
5651ac
License:        BSD
5651ac
Url:            https://hackage.haskell.org/package/%{pkg_name}
5651ac
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
5651ac
5651ac
BuildRequires:  ghc-Cabal-devel
5651ac
BuildRequires:  ghc-rpm-macros
5651ac
# Begin cabal-rpm deps:
5651ac
BuildRequires:  ghc-old-locale-devel
5651ac
# End cabal-rpm deps
5651ac
5651ac
%description
5651ac
This package provides the old time library.
5651ac
5651ac
For new projects, the newer <http://hackage.haskell.org/package/time>
5651ac
library is recommended.
5651ac
5651ac
5651ac
%package devel
5651ac
Summary:        Haskell %{pkg_name} library development files
5651ac
Provides:       %{name}-static = %{version}-%{release}
5651ac
Provides:       %{name}-doc = %{version}-%{release}
5651ac
%if %{defined ghc_version}
5651ac
Requires:       ghc-compiler = %{ghc_version}
5651ac
Requires(post): ghc-compiler = %{ghc_version}
5651ac
Requires(postun): ghc-compiler = %{ghc_version}
5651ac
%endif
5651ac
Requires:       %{name}%{?_isa} = %{version}-%{release}
5651ac
5651ac
%description devel
5651ac
This package provides the Haskell %{pkg_name} library development files.
5651ac
5651ac
5651ac
%prep
5651ac
%setup -q -n %{pkgver}
5651ac
cabal-tweak-dep-ver base '< 4.9' '< 4.11'
5651ac
5651ac
5651ac
%build
5651ac
%ghc_lib_build
5651ac
5651ac
5651ac
%install
5651ac
%ghc_lib_install
5651ac
5651ac
5651ac
%post devel
5651ac
%ghc_pkg_recache
5651ac
5651ac
5651ac
%postun devel
5651ac
%ghc_pkg_recache
5651ac
5651ac
5651ac
%files -f %{name}.files
5651ac
%license LICENSE
5651ac
5651ac
5651ac
%files devel -f %{name}-devel.files
5651ac
%doc changelog.md
5651ac
5651ac
5651ac
%changelog
5651ac
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.3-7
5651ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5651ac
5651ac
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.1.0.3-6
5651ac
- rebuild
5651ac
5651ac
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.3-5
5651ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5651ac
5651ac
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.3-4
5651ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5651ac
5651ac
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 1.1.0.3-3
5651ac
- refresh to cabal-rpm-0.11.1
5651ac
5651ac
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.3-2
5651ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5651ac
5651ac
* Thu Sep 17 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.1.0.3-1
5651ac
- spec file generated by cabal-rpm-0.9.7