This commit is contained in:
Jens Petersen 2015-03-11 15:20:19 +09:00
parent 9ea200d992
commit aec291da72
3 changed files with 73 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/distributive-0.4.4.tar.gz

71
ghc-distributive.spec Normal file
View File

@ -0,0 +1,71 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name distributive
Name: ghc-%{pkg_name}
Version: 0.4.4
Release: 1%{?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}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%doc LICENSE
%files devel -f %{name}-devel.files
%doc README.markdown
%changelog
* 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

View File

@ -0,0 +1 @@
d8bb67dfd4b24089b73eca2a3d76ca83 distributive-0.4.4.tar.gz