-
Notifications
You must be signed in to change notification settings - Fork 0
/
pagure-cli.spec
79 lines (63 loc) · 1.87 KB
/
pagure-cli.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# generated by cabal-rpm-2.0.5 --standalone
# https://fedoraproject.org/wiki/Packaging:Haskell
%global ghc_without_dynamic 1
%global ghc_without_shared 1
%undefine with_ghc_prof
%undefine with_haddock
%global without_prof 1
%global without_haddock 1
%global debug_package %{nil}
Name: pagure-cli
Version: 0.2
Release: 1%{?dist}
Summary: Pagure client
License: GPLv2+
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-base-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-http-conduit-devel
BuildRequires: ghc-lens-devel
BuildRequires: ghc-lens-aeson-devel
BuildRequires: ghc-optparse-applicative-devel
BuildRequires: ghc-simple-cmd-args-devel
BuildRequires: ghc-text-devel
BuildRequires: cabal-install > 1.18
# End cabal-rpm deps
BuildRequires: cabal-install > 1.18
%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:
%global cabal cabal
%cabal update
%cabal sandbox init
%cabal install --only-dependencies
%ghc_bin_build
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_bin_install
# End cabal-rpm install
%files
# Begin cabal-rpm files:
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/pagure
# End cabal-rpm files
%changelog
* Mon Apr 06 2020 Jens Petersen <[email protected]> - 0.2-1
- https://hackage.haskell.org/package/pagure-cli-0.2/changelog
* Wed Dec 11 2019 Fedora Haskell SIG <[email protected]> - 0.1-1
- spec file generated by cabal-rpm-1.0.2