Initial import (#1486584).

This commit is contained in:
Elliott Sales de Andrade 2017-08-31 15:52:16 -04:00
parent a8d8f7b172
commit 60fe56e714
4 changed files with 78 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/microlens-th-0.4.1.1.tar.gz

View File

@ -1,3 +0,0 @@
# ghc-microlens-th
The ghc-microlens-th package

76
ghc-microlens-th.spec Normal file
View File

@ -0,0 +1,76 @@
# generated by cabal-rpm-0.11
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name microlens-th
Name: ghc-%{pkg_name}
Version: 0.4.1.1
Release: 1.git.417.9f546a1%{?dist}
Summary: Automatic generation of record lenses for microlens
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://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-containers-devel
BuildRequires: ghc-microlens-devel
BuildRequires: ghc-template-haskell-devel
# End cabal-rpm deps
%description
This package lets you automatically generate lenses for data types; code was
extracted from the lens package, and therefore generated lenses are fully
compatible with ones generated by lens (and can be used both from lens and
microlens).
This package is a part of the <http://hackage.haskell.org/package/microlens
microlens> family; see the readme <https://github.com/aelve/microlens#readme on
Github>.
%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
%license LICENSE
%files devel -f %{name}-devel.files
%doc CHANGELOG.md
%changelog
* Sat Jul 22 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.4.1.1-1
- spec file generated by cabal-rpm-0.11

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (microlens-th-0.4.1.1.tar.gz) = 0a781fdaeb954a325bd65872b7a337195cd4e12f6a58495afd241b0970cd83ed317c9bca0f99e04cf8305d67faf55a068b5cab06285cf71530fa95d26ae47e6b