You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.9 KiB
79 lines
1.9 KiB
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
%global pkg_name distributive
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 0.4.4
|
|
Release: 3%{?dist}
|
|
Summary: Distributive functors -- Dual to Traversable
|
|
|
|
License: BSD
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
BuildRequires: ghc-rpm-macros
|
|
# Begin cabal-rpm deps:
|
|
BuildRequires: ghc-tagged-devel
|
|
BuildRequires: ghc-transformers-compat-devel
|
|
BuildRequires: ghc-transformers-devel
|
|
# End cabal-rpm deps
|
|
|
|
%description
|
|
Distributive functors -- Dual to Traversable.
|
|
|
|
|
|
%package devel
|
|
Summary: Haskell %{pkg_name} library development files
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
cabal-tweak-dep-ver transformers '< 0.5' '< 0.6'
|
|
|
|
|
|
%build
|
|
%ghc_lib_build
|
|
|
|
|
|
%install
|
|
%ghc_lib_install
|
|
|
|
|
|
%post devel
|
|
%ghc_pkg_recache
|
|
|
|
|
|
%postun devel
|
|
%ghc_pkg_recache
|
|
|
|
|
|
%files -f %{name}.files
|
|
%license LICENSE
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
%doc README.markdown
|
|
|
|
|
|
%changelog
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Fri Jan 09 2015 Ricky Elrod <codeblock@elrod.me> - 0.4.4-1
|
|
- update to 0.4.4
|
|
|
|
* Wed Mar 12 2014 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.4
|
|
- spec file generated by cabal-rpm-0.8.10
|