From de5aa36469def218808c5969f1337e111506d7b1 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 6 Sep 2017 14:58:03 -0400 Subject: [PATCH] Initial import (#1488606). --- .gitignore | 1 + README.md | 3 -- ghc-asn1-types.spec | 81 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 83 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-asn1-types.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..68f9897 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/asn1-types-0.3.2.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index e15cd02..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-asn1-types - -The ghc-asn1-types package \ No newline at end of file diff --git a/ghc-asn1-types.spec b/ghc-asn1-types.spec new file mode 100644 index 0000000..e52fad0 --- /dev/null +++ b/ghc-asn1-types.spec @@ -0,0 +1,81 @@ +# generated by cabal-rpm-0.10.0 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name asn1-types + +Name: ghc-%{pkg_name} +Version: 0.3.2 +Release: 3.git.0.a57dc9e%{?dist} +Summary: ASN.1 types + +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-bytestring-devel +BuildRequires: ghc-hourglass-devel +BuildRequires: ghc-memory-devel +# End cabal-rpm deps + +%description +ASN.1 standard types. + + +%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 + + +%changelog +* Fri Jul 21 2017 Elliott Sales de Andrade 0.3.2-3 +- Bump for Fedora 26. + +* Thu Dec 15 2016 Elliott Sales de Andrade - 0.3.2-2 +- spec file generated by cabal-rpm-0.10.0 +- Update release to be newer than previous builds + +* Sun Apr 24 2016 Elliott Sales de Andrade - 0.3.2-1 +- update to 0.3.2 + +* Sun Apr 24 2016 Elliott Sales de Andrade - 0.3.0-1 +- Bump to rebuild against newer dependencies + +* Sun Aug 23 2015 Ben Boeckel - 0.3.0-1 +- initial package diff --git a/sources b/sources new file mode 100644 index 0000000..1fa0cab --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (asn1-types-0.3.2.tar.gz) = d5eb4c9f4fc44ff06b4d0d4c6be4ad2b43e01478de6ca48d2a78bad69d828f1c48095ccb4542546357f8934141b4c96f156d954072b91f1695ef1536ddc50e08