# generated by cabal-rpm-2.2.2 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ Name: fhcontainer Version: 0.2.1 Release: 1%{?dist} Summary: Fedora Haskell containers tool License: GPL-3.0-only Url: https://github.com/juhp/fhcontainer/ # Begin cabal-rpm sources: Source0: https://github.com/juhp/fhcontainer/archive/refs/tags/v%{version}.tar.gz#/fhcontainer-0.2.1.tar.gz # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-aeson-devel BuildRequires: ghc-base-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-extra-devel BuildRequires: ghc-optparse-applicative-devel BuildRequires: ghc-safe-devel BuildRequires: ghc-simple-cmd-devel BuildRequires: ghc-simple-cmd-args-devel BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel BuildRequires: ghc-typed-process-devel BuildRequires: help2man # End cabal-rpm deps %description A small tool for quickly running temporary containers. %prep # Begin cabal-rpm setup: %setup -q # End cabal-rpm setup %build # Begin cabal-rpm build: %ghc_bin_build # End cabal-rpm build %install # Begin cabal-rpm install %ghc_bin_install set noclobber mkdir -p %{buildroot}%{bash_completions_dir} %{buildroot}%{_bindir}/%{name} --bash-completion-script %{name} | sed s/filenames/default/ > %{buildroot}%{bash_completions_dir}/%{name} mkdir -p %{buildroot}%{_mandir}/man1/ help2man --no-info %{buildroot}%{_bindir}/%{name} > %{buildroot}%{_mandir}/man1/%{name}.1 # End cabal-rpm install %files # Begin cabal-rpm files: %license COPYING %doc ChangeLog.md README.md TODO %{_bindir}/%{name} %{bash_completions_dir}/%{name} %{_mandir}/man1/%{name}.1* # End cabal-rpm files %changelog * Tue Sep 24 2024 Jens Petersen - 0.2.1-1 - output image date when running a container - map c10s to centos:stream10-development * Fri May 19 2023 Jens Petersen - 0.2-1 - spec file generated by cabal-rpm-2.1.0