# generated by cabal-rpm-2.1.0 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ Name: pagure-cli Version: 0.2.1 Release: 4%{?dist} Summary: Pagure client License: GPL-2.0-or-later 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-aeson-devel BuildRequires: ghc-aeson-pretty-devel BuildRequires: ghc-base-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-optparse-applicative-devel BuildRequires: ghc-pagure-devel BuildRequires: ghc-simple-cmd-args-devel BuildRequires: ghc-text-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-yaml-devel # End cabal-rpm deps %description A command-line Pagure client for querying projects and users. %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}/pagure --bash-completion-script pagure | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/pagure # End cabal-rpm install %files # Begin cabal-rpm files: %license LICENSE %doc CHANGELOG.md README.md %{_bindir}/pagure %{_datadir}/bash-completion/completions/pagure # End cabal-rpm files %changelog * Thu Feb 16 2023 Jens Petersen - 0.2.1-4 - refresh to cabal-rpm-2.1.0 with SPDX migration * Fri Jul 22 2022 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Jens Petersen - 0.2.1-2 - rebuild * Mon Feb 21 2022 Jens Petersen - 0.2.1-1 - https://hackage.haskell.org/package/pagure-cli-0.2.1/changelog * Thu Jan 20 2022 Fedora Release Engineering - 0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Miro HronĨok - 0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 * Fri Aug 06 2021 Jens Petersen - 0.2-7 - rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Aug 10 2020 Jens Petersen - 0.2-4 - setup bash completion * Tue Jul 28 2020 Fedora Release Engineering - 0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 17 2020 Jens Petersen - 0.2-2 - refresh to cabal-rpm-2.0.6 * Mon Apr 6 2020 Jens Petersen - 0.2-1 - spec file generated by cabal-rpm-2.0.5