diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f926fc7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/git-repair-1.20200102.tar.gz diff --git a/git-repair.spec b/git-repair.spec new file mode 100644 index 0000000..f4e81d5 --- /dev/null +++ b/git-repair.spec @@ -0,0 +1,86 @@ +# 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 - 1.20200102-1 +- spec file generated by cabal-rpm-2.0.2 diff --git a/sources b/sources new file mode 100644 index 0000000..679e214 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (git-repair-1.20200102.tar.gz) = 50502d1afe4d0ad40ef18018ae8fa04be94f9b29f47e09e470e3b320c05a734a7a5b9ab84bf4b971b9cbf78902b99dac72a38dcbf09d3e4c3362109205137c53