Initial import (#1485492).

This commit is contained in:
Elliott Sales de Andrade 2017-08-28 19:53:53 -04:00
parent 2b63874535
commit 23bd0b4afd
4 changed files with 98 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/email-validate-2.3.1.tar.gz

View File

@ -1,3 +0,0 @@
# ghc-email-validate
The ghc-email-validate package

96
ghc-email-validate.spec Normal file
View File

@ -0,0 +1,96 @@
# generated by cabal-rpm-0.11.2
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name email-validate
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 2.3.1
Release: 1.git.0.c19eb3c%{?dist}
Summary: Email address validation
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-attoparsec-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-template-haskell-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-doctest-devel
BuildRequires: ghc-hspec-devel
%endif
# End cabal-rpm deps
%description
Validating an email address string against RFC 5322.
%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
%check
%cabal_test
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%changelog
* Sat Aug 26 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.3.1-1
- Update to latest version.
- Update to latest spec template.
* Sat Jul 22 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.3-1
- Update to latest version.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.2.0-4
- Re-add dist tag to release numbers.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.2.0-3
- Bump for Fedora 26.
* Thu Dec 15 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.0-2
- Update release to be newer than previous builds
* Thu Dec 15 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 2.2.0-1
- spec file generated by cabal-rpm-0.10.0

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (email-validate-2.3.1.tar.gz) = 82b24781d60d75de27460fdf2cdbc85a0788d5498195e4d68a415d049c35abbf99518de791089f778529a60b1585fb5df9bb7b6d3fc7d67624bb965d7d5e48ea