New package ghc-authenticate-oauth

This commit is contained in:
David Shea 2017-11-20 10:29:14 -05:00
parent effa97736c
commit c4f7c94a7b
4 changed files with 82 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/authenticate-oauth-1.6.tar.gz

View File

@ -1,3 +0,0 @@
# ghc-authenticate-oauth
The ghc-authenticate-oauth package

View File

@ -0,0 +1,80 @@
# generated by cabal-rpm-0.11.1
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name authenticate-oauth
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 1.6
Release: 1%{?dist}
Summary: Library to authenticate with OAuth for Haskell web applications
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-RSA-devel
BuildRequires: ghc-SHA-devel
BuildRequires: ghc-base64-bytestring-devel
BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-crypto-pubkey-types-devel
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-http-client-devel
BuildRequires: ghc-http-types-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-compat-devel
BuildRequires: ghc-transformers-devel
# End cabal-rpm deps
%description
Authentication methods for Haskell web applications.
%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 %{pkgver}
%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 README.md
%changelog
* Thu Aug 3 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.6-1
- spec file generated by cabal-rpm-0.11.1

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (authenticate-oauth-1.6.tar.gz) = 1cd4db3874b05a8856dcd07ee1e63fdafb92e8997b9caf81436d882f36c1bda3fce4b32cdbfa28ffa5f5374566ffa981537f527d8814131e7d61f2d1b8999931