Initial import (#1486584).
This commit is contained in:
parent
a8d8f7b172
commit
60fe56e714
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/microlens-th-0.4.1.1.tar.gz
|
76
ghc-microlens-th.spec
Normal file
76
ghc-microlens-th.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user