87 lines
2.3 KiB
RPMSpec
87 lines
2.3 KiB
RPMSpec
# generated by cabal-rpm-2.0.2
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
Name: git-repair
|
|
Version: 1.20200102
|
|
Release: 1%{?dist}
|
|
Summary: Repairs a damanged git repisitory
|
|
|
|
License: AGPLv3
|
|
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-IfElse-static
|
|
BuildRequires: ghc-QuickCheck-static
|
|
BuildRequires: ghc-async-static
|
|
BuildRequires: ghc-attoparsec-static
|
|
BuildRequires: ghc-base-static
|
|
BuildRequires: ghc-bytestring-static
|
|
BuildRequires: ghc-containers-static
|
|
BuildRequires: ghc-data-default-static
|
|
BuildRequires: ghc-deepseq-static
|
|
BuildRequires: ghc-directory-static
|
|
BuildRequires: ghc-exceptions-static
|
|
BuildRequires: ghc-filepath-static
|
|
BuildRequires: ghc-filepath-bytestring-static
|
|
BuildRequires: ghc-hslogger-static
|
|
BuildRequires: ghc-mtl-static
|
|
BuildRequires: ghc-network-static
|
|
BuildRequires: ghc-network-uri-static
|
|
BuildRequires: ghc-optparse-applicative-static
|
|
BuildRequires: ghc-process-static
|
|
BuildRequires: ghc-split-static
|
|
BuildRequires: ghc-text-static
|
|
BuildRequires: ghc-time-static
|
|
BuildRequires: ghc-transformers-static
|
|
BuildRequires: ghc-unix-static
|
|
BuildRequires: ghc-unix-compat-static
|
|
BuildRequires: ghc-utf8-string-static
|
|
# End cabal-rpm deps
|
|
BuildRequires: git-core
|
|
Requires: git-core
|
|
|
|
%description
|
|
Git-repair can repair various forms of damage to git repositories.
|
|
|
|
It is a complement to git fsck, which finds problems, but does not fix them.
|
|
|
|
As well as avoiding the need to rm -rf a damaged repository and re-clone, using
|
|
git-repair can help rescue commits you've made to the damaged repository and
|
|
not yet pushed out.
|
|
|
|
|
|
%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
|
|
# End cabal-rpm install
|
|
|
|
|
|
%files
|
|
# Begin cabal-rpm files:
|
|
%license COPYRIGHT
|
|
%doc CHANGELOG TODO
|
|
%{_bindir}/%{name}
|
|
# End cabal-rpm files
|
|
|
|
|
|
%changelog
|
|
* Wed Feb 19 2020 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.20200102-1
|
|
- spec file generated by cabal-rpm-2.0.2
|