Blame SPECS/ghc-data-default-class.spec

6ad60a
# generated by cabal-rpm-0.12.1
6ad60a
# https://fedoraproject.org/wiki/Packaging:Haskell
6ad60a
6ad60a
%global pkg_name data-default-class
6ad60a
%global pkgver %{pkg_name}-%{version}
6ad60a
6ad60a
Name:           ghc-%{pkg_name}
6ad60a
Version:        0.1.2.0
6ad60a
Release:        5%{?dist}
6ad60a
Summary:        Class for types with a default value
6ad60a
6ad60a
License:        BSD
6ad60a
Url:            https://hackage.haskell.org/package/%{pkg_name}
6ad60a
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
6ad60a
6ad60a
BuildRequires:  ghc-Cabal-devel
6ad60a
BuildRequires:  ghc-rpm-macros
6ad60a
6ad60a
%description
6ad60a
A class for types with a default value.
6ad60a
6ad60a
6ad60a
%package devel
6ad60a
Summary:        Haskell %{pkg_name} library development files
6ad60a
Provides:       %{name}-static = %{version}-%{release}
6ad60a
Provides:       %{name}-doc = %{version}-%{release}
6ad60a
%if %{defined ghc_version}
6ad60a
Requires:       ghc-compiler = %{ghc_version}
6ad60a
Requires(post): ghc-compiler = %{ghc_version}
6ad60a
Requires(postun): ghc-compiler = %{ghc_version}
6ad60a
%endif
6ad60a
Requires:       %{name}%{?_isa} = %{version}-%{release}
6ad60a
6ad60a
%description devel
6ad60a
This package provides the Haskell %{pkg_name} library development
6ad60a
files.
6ad60a
6ad60a
6ad60a
%prep
6ad60a
%setup -q -n %{pkgver}
6ad60a
6ad60a
6ad60a
%build
6ad60a
%ghc_lib_build
6ad60a
6ad60a
6ad60a
%install
6ad60a
%ghc_lib_install
6ad60a
6ad60a
6ad60a
%post devel
6ad60a
%ghc_pkg_recache
6ad60a
6ad60a
6ad60a
%postun devel
6ad60a
%ghc_pkg_recache
6ad60a
6ad60a
6ad60a
%files -f %{name}.files
6ad60a
%license LICENSE
6ad60a
6ad60a
6ad60a
%files devel -f %{name}-devel.files
6ad60a
6ad60a
6ad60a
%changelog
6ad60a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2.0-5
6ad60a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6ad60a
6ad60a
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.1.2.0-4
6ad60a
- rebuild
6ad60a
6ad60a
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2.0-3
6ad60a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6ad60a
6ad60a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2.0-2
6ad60a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6ad60a
6ad60a
* Tue Feb 21 2017 Jens Petersen <petersen@redhat.com> - 0.1.2.0-1
6ad60a
- update to 0.1.2.0
6ad60a
6ad60a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-7
6ad60a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6ad60a
6ad60a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-6
6ad60a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6ad60a
6ad60a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-5
6ad60a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6ad60a
6ad60a
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 0.0.1-4
6ad60a
- update urls
6ad60a
6ad60a
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
6ad60a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6ad60a
6ad60a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2
6ad60a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6ad60a
6ad60a
* Fri Oct 25 2013 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.0.1
6ad60a
- spec file generated by cabal-rpm-0.8.5