From 3b806113ae9067659e2d444d4cc2c9eed934abbf Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 28 Aug 2017 19:25:36 -0400 Subject: [PATCH] Initial import (#1485511). --- .gitignore | 1 + README.md | 3 -- ghc-th-abstraction.spec | 83 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 85 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-th-abstraction.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2f0131 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/th-abstraction-0.2.5.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0544cc8..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-th-abstraction - -The ghc-th-abstraction package \ No newline at end of file diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec new file mode 100644 index 0000000..52fbd76 --- /dev/null +++ b/ghc-th-abstraction.spec @@ -0,0 +1,83 @@ +# generated by cabal-rpm-0.11.2 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name th-abstraction +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.2.5.0 +Release: 1.git.0.ea2a955%{?dist} +Summary: Nicer interface for reified information about data types + +License: ISC +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-containers-devel +BuildRequires: ghc-template-haskell-devel +# End cabal-rpm deps + +%description +This package normalizes variations in the interface for inspecting datatype +information via Template Haskell so that packages and support a single, easier +to use informational datatype while supporting many versions of Template +Haskell. + + +%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 +%doc ChangeLog.md README.md + + +%changelog +* Sat Aug 26 2017 Elliott Sales de Andrade 0.2.5.0-1 +- Update to latest version. +- Update to latest spec template. + +* Sat Aug 26 2017 Elliott Sales de Andrade - 0.2.5.0-1 +- update to 0.2.5.0 + +* Sat Jul 22 2017 Fedora Haskell SIG - 0.2.3.0-1 +- spec file generated by cabal-rpm-0.11 diff --git a/sources b/sources new file mode 100644 index 0000000..2e35cb7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (th-abstraction-0.2.5.0.tar.gz) = b7a3cb36af20eeaa2e9df3dd8a96824ca42805d6525d57fe4381e86599f1212147a00adfa245f0e7b0cac49d146a59a8f199f14596bf920a614938ade70965c3