From 70b9e691c2bd68547e7c0e6852d3db22cadea513 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 17 Mar 2021 04:44:23 +0800 Subject: [PATCH] import #1896502 --- .gitignore | 1 + sources | 1 + tart.spec | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 137 insertions(+) create mode 100644 .gitignore create mode 100644 sources create mode 100644 tart.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8db5dda --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/tart-0.3.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..f14d967 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (tart-0.3.tar.gz) = 2d91a007ce7686fbb8cce00dbfb40222f6fe4b4aeda1405e87dec7ad1d723cdbaadcf4121a064941912b24c4023ff5a64c5d4768aaafefaa8f5dfe0f3a488e2f diff --git a/tart.spec b/tart.spec new file mode 100644 index 0000000..f36f942 --- /dev/null +++ b/tart.spec @@ -0,0 +1,135 @@ +# generated by cabal-rpm-2.0.7 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name tart +%global pkgver %{pkg_name}-%{version} + +Name: %{pkg_name} +Version: 0.3 +Release: 1%{?dist} +Summary: Terminal Art TUI + +License: BSD +Url: https://hackage.haskell.org/package/%{name} +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-binary-prof +BuildRequires: ghc-brick-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-microlens-platform-prof +BuildRequires: ghc-microlens-th-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-text-zipper-prof +BuildRequires: ghc-vector-prof +BuildRequires: ghc-vty-prof +# End cabal-rpm deps + +%description +A program to make ASCII art in a terminal. + + +%package -n ghc-%{name} +Summary: Haskell %{name} library + +%description -n ghc-%{name} +This package provides the Haskell %{name} shared library. + + +%package -n ghc-%{name}-devel +Summary: Haskell %{name} library development files +Provides: ghc-%{name}-static = %{version}-%{release} +Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: ghc-%{name}%{?_isa} = %{version}-%{release} + +%description -n ghc-%{name}-devel +This package provides the Haskell %{name} library development files. + + +%if %{with haddock} +%package -n ghc-%{name}-doc +Summary: Haskell %{name} library documentation +BuildArch: noarch + +%description -n ghc-%{name}-doc +This package provides the Haskell %{name} library documentation. +%endif + + +%if %{with ghc_prof} +%package -n ghc-%{name}-prof +Summary: Haskell %{name} profiling library +Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (ghc-%{name}-devel and ghc-prof) + +%description -n ghc-%{name}-prof +This package provides the Haskell %{name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q +chmod a-x CHANGELOG.md README.md +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + + +%files +# Begin cabal-rpm files: +%license LICENSE +%doc CHANGELOG.md README.md +%{_bindir}/%{name} +# End cabal-rpm files + + +%files -n ghc-%{name} -f ghc-%{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files +%doc CHANGELOG.md README.md + + +%if %{with haddock} +%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files +%endif + + +%changelog +* Sun Jan 17 10:20:19 +08 2021 Jens Petersen - 0.3-1 +- update to 0.3 + +* Tue Nov 10 2020 Jens Petersen - 0.2-1 +- spec file generated by cabal-rpm-2.0.7