# generated by cabal-rpm-2.0.12 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # need to be installed %bcond_with tests Name: dnf-repo Version: 0.5.5 Release: 1%{?dist} Summary: DNF wrapper tool to control repos License: BSD-3-Clause Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-Glob-devel BuildRequires: ghc-base-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-extra-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-http-directory-devel BuildRequires: ghc-simple-cmd-devel BuildRequires: ghc-simple-cmd-args-devel BuildRequires: ghc-simple-prompt-devel # End cabal-rpm deps %description A command-line wrapper of the dnf package manager to control the repos enabled for a dnf invocation. %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 mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/ %{buildroot}%{_bindir}/%{name} --bash-completion-script %{name} | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/%{name} # End cabal-rpm install %check %if %{with tests} %cabal_test %endif %files # Begin cabal-rpm files: %license LICENSE %doc ChangeLog.md README.md %{_bindir}/%{name} %{_datadir}/%{name}-%{version} %{_datadir}/bash-completion/completions/%{name} # End cabal-rpm files %changelog * Sun Jul 02 2023 Jens Petersen - 0.5.5-1 - https://hackage.haskell.org/package/dnf-repo-0.5.5/changelog * Sat May 06 2023 Jens Petersen - 0.5.4-1 - https://hackage.haskell.org/package/dnf-repo-0.5.4/changelog * Sat Dec 31 2022 Jens Petersen - 0.5.3-1 - https://hackage.haskell.org/package/dnf-repo-0.5.3/changelog * Mon Nov 28 2022 Jens Petersen - 0.5.2-1 - https://hackage.haskell.org/package/dnf-repo-0.5.2/changelog * Tue Nov 08 2022 Jens Petersen - 0.5.1-1 - https://hackage.haskell.org/package/dnf-repo-0.5.1/changelog * Mon Oct 24 2022 Jens Petersen - 0.5-1 - https://hackage.haskell.org/package/dnf-repo-0.5/changelog * Thu Oct 20 2022 Jens Petersen - 0.4-1 - https://hackage.haskell.org/package/dnf-repo-0.4/changelog * Fri Aug 12 2022 Jens Petersen - 0.3-1 - https://hackage.haskell.org/package/dnf-repo-0.3/changelog * Fri Aug 12 2022 Jens Petersen - 0.2-1 - https://hackage.haskell.org/package/dnf-repo-0.2/changelog * Mon Jun 20 2022 Jens Petersen - 0.1-1 - https://hackage.haskell.org/package/dnf-repo-0.1/changelog