# generated by cabal-rpm-2.2.1 --stream hackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %bcond_without ikiwiki Name: git-annex Version: 10.20240701 Release: 1%{?dist} Summary: Manage files with git, without checking their contents into git License: AGPL-3.0-or-later Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://git.joeyh.name/index.cgi/git-annex.git/snapshot/git-annex-%{version}.tar.gz # End cabal-rpm sources Patch0: %{name}-default-flags.patch %if 0%{?fedora} >= 41 BuildRequires: bash-completion-devel %else BuildRequires: bash-completion %endif # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-DAV-devel >= 1.0 BuildRequires: ghc-IfElse-devel BuildRequires: ghc-QuickCheck-devel >= 2.8.2 BuildRequires: ghc-SafeSemaphore-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-async-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-aws-devel >= 0.9.2 BuildRequires: ghc-base-devel BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-bloomfilter-devel BuildRequires: ghc-byteable-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-clientsession-devel BuildRequires: ghc-concurrent-output-devel >= 1.6 BuildRequires: ghc-conduit-devel BuildRequires: ghc-containers-devel >= 0.5.7.1 BuildRequires: ghc-criterion-devel BuildRequires: ghc-crypto-api-devel BuildRequires: ghc-cryptonite-devel BuildRequires: ghc-data-default-devel BuildRequires: ghc-dbus-devel >= 0.10.7 BuildRequires: ghc-deepseq-devel BuildRequires: ghc-directory-devel >= 1.2 BuildRequires: ghc-disk-free-space-devel BuildRequires: ghc-dlist-devel BuildRequires: ghc-edit-distance-devel BuildRequires: ghc-exceptions-devel >= 0.6 BuildRequires: ghc-fdo-notify-devel BuildRequires: ghc-feed-devel >= 0.3.9 BuildRequires: ghc-filepath-devel BuildRequires: ghc-filepath-bytestring-devel BuildRequires: ghc-free-devel BuildRequires: ghc-git-lfs-devel BuildRequires: ghc-hinotify-devel BuildRequires: ghc-http-client-devel BuildRequires: ghc-http-client-restricted-devel BuildRequires: ghc-http-client-tls-devel BuildRequires: ghc-http-conduit-devel >= 2.0 BuildRequires: ghc-http-types-devel >= 0.7 BuildRequires: ghc-magic-devel BuildRequires: ghc-memory-devel BuildRequires: ghc-microlens-devel BuildRequires: ghc-monad-control-devel BuildRequires: ghc-monad-logger-devel BuildRequires: ghc-mountpoints-devel BuildRequires: ghc-mtl-devel >= 2 BuildRequires: ghc-network-devel >= 2.6 BuildRequires: ghc-network-bsd-devel BuildRequires: ghc-network-info-devel BuildRequires: ghc-network-multicast-devel BuildRequires: ghc-network-uri-devel >= 2.6 BuildRequires: ghc-old-locale-devel BuildRequires: ghc-optparse-applicative-devel >= 0.11.0 BuildRequires: ghc-path-pieces-devel >= 0.2.1 BuildRequires: ghc-persistent-devel BuildRequires: ghc-persistent-sqlite-devel >= 2.1.3 BuildRequires: ghc-persistent-template-devel BuildRequires: ghc-process-devel BuildRequires: ghc-random-devel BuildRequires: ghc-regex-tdfa-devel BuildRequires: ghc-resourcet-devel BuildRequires: ghc-sandi-devel BuildRequires: ghc-securemem-devel BuildRequires: ghc-shakespeare-devel >= 2.0.11 BuildRequires: ghc-socks-devel BuildRequires: ghc-split-devel BuildRequires: ghc-stm-devel BuildRequires: ghc-stm-chans-devel BuildRequires: ghc-tagsoup-devel BuildRequires: ghc-tasty-devel >= 0.7 BuildRequires: ghc-tasty-hunit-devel BuildRequires: ghc-tasty-quickcheck-devel BuildRequires: ghc-tasty-rerun-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel BuildRequires: ghc-torrent-devel >= 10000.0.0 BuildRequires: ghc-transformers-devel BuildRequires: ghc-unbounded-delays-devel BuildRequires: ghc-unix-devel BuildRequires: ghc-unix-compat-devel BuildRequires: ghc-unliftio-core-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-utf8-string-devel BuildRequires: ghc-uuid-devel >= 1.2.6 BuildRequires: ghc-vector-devel BuildRequires: ghc-wai-devel BuildRequires: ghc-wai-extra-devel BuildRequires: ghc-warp-devel >= 3.2.8 BuildRequires: ghc-warp-tls-devel >= 3.2.2 BuildRequires: ghc-yesod-devel >= 1.4.3 BuildRequires: ghc-yesod-core-devel >= 1.4.25 BuildRequires: ghc-yesod-form-devel >= 1.4.8 BuildRequires: ghc-yesod-static-devel >= 1.5.1 # End cabal-rpm deps BuildRequires: git BuildRequires: rsync %if %{with ikiwiki} BuildRequires: ikiwiki BuildRequires: perl(Image::Magick) %endif # XXX: feature flag dependencies: #Benchmark: # BuildRequires: ghc-criterion-devel (unpackaged) Requires: git-core %description Git-annex allows managing files with git, without checking the file contents into git. While that may seem paradoxical, it is useful when dealing with files larger than git can currently easily handle, whether due to limitations in memory, time, or disk space. It can store large files in many places, from local hard drives, to a large number of cloud storage services, including S3, WebDAV, and rsync, and many other usable via plugins. Files can be stored encrypted with gpg, so that the cloud storage provider cannot see your data. git-annex keeps track of where each file is stored, so it knows how many copies are available, and has many facilities to ensure your data is preserved. git-annex can also be used to keep a folder in sync between computers, noticing when files are changed, and automatically committing them to git and transferring them to other computers. The git-annex webapp makes it easy to set up and use git-annex this way. %if %{with ikiwiki} %package docs Summary: %{summary} BuildArch: noarch %description docs This package contains the documentation for %{name} in HTML format. %endif %prep # Begin cabal-rpm setup: %setup -q %autopatch -p1 # End cabal-rpm setup cabal-tweak-drop-dep yesod-default %build # Begin cabal-rpm build: %ghc_bin_build # End cabal-rpm build make docs %install # Begin cabal-rpm install %ghc_bin_install # End cabal-rpm install for i in git-annex-shell git-remote-tor-annex; do ln -s git-annex %{buildroot}%{_bindir}/$i done make DESTDIR=%{buildroot} install-docs mkdir -p %{buildroot}%{bash_completions_dir} install -m 644 bash-completion.bash %{buildroot}%{bash_completions_dir}/git-annex %check mkdir -p test pushd test PATH=%{buildroot}%{_bindir}:$PATH \ git annex test popd %files %license doc/license/AGPL doc/license/GPL # Begin cabal-rpm files: %license COPYRIGHT %doc CHANGELOG NEWS README %{_bindir}/%{name} %{bash_completions_dir}/%{name} %{_mandir}/man1/%{name}.1* # End cabal-rpm files %{_bindir}/%{name}-shell %{_bindir}/git-remote-tor-annex %{_mandir}/man1/git-annex-*.1* %{_mandir}/man1/git-remote-annex.1* %{_mandir}/man1/git-remote-tor-annex.1* %if %{with ikiwiki} %files docs %license COPYRIGHT doc/license/AGPL doc/license/GPL %{_pkgdocdir}/html %endif %changelog * Sun Jul 21 2024 Jens Petersen - 10.20240701-1 - https://hackage.haskell.org/package/git-annex-10.20240701/changelog * Thu Jul 18 2024 Fedora Release Engineering - 10.20240227-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 04 2024 Jens Petersen - 10.20240227-1 - update to 10.20240227 - switched to upstream git tagged tarball * Fri Mar 22 2024 Jens Petersen - 10.20230802-1 - update to 10.20230802 * Wed Jan 24 2024 Fedora Release Engineering - 10.20230626-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 10.20230626-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 27 2023 Jens Petersen - 10.20230626-2 - patch for ghc-9.4 unix System.Posix.User * Sun Jul 23 2023 Jens Petersen - 10.20230626-1 - https://hackage.haskell.org/package/git-annex-10.20230626/changelog * Wed Jul 19 2023 Fedora Release Engineering - 10.20230407-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Apr 24 2023 Elliott Sales de Andrade - 10.20230407-1 - https://hackage.haskell.org/package/git-annex-10.20230407/changelog * Mon Mar 27 2023 Elliott Sales de Andrade - 10.20230321-1 - https://hackage.haskell.org/package/git-annex-10.20230321/changelog * Sun Dec 18 2022 Elliott Sales de Andrade - 10.20221212-1 - https://hackage.haskell.org/package/git-annex-10.20221212/changelog * Sun Nov 20 2022 Elliott Sales de Andrade - 10.20221103-1 - https://hackage.haskell.org/package/git-annex-10.20221103/changelog * Mon Oct 17 2022 Elliott Sales de Andrade - 10.20221003-1 - https://hackage.haskell.org/package/git-annex-10.20221003/changelog * Wed Jul 27 2022 Dusty Mabe - 10.20220525-3 - Require git-core package instead of git * Thu Jul 21 2022 Fedora Release Engineering - 10.20220525-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 07 2022 Jens Petersen - 10.20220525-1 - https://hackage.haskell.org/package/git-annex-10.20220525/changelog * Thu Jan 20 2022 Fedora Release Engineering - 8.20211123-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Miro HronĨok - 8.20211123-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 * Mon Dec 27 2021 Elliott Sales de Andrade - 8.20211123-1 - update to 8.20211123 * Sat Oct 30 2021 Elliott Sales de Andrade - 8.20211028-1 - update to 8.20211028 * Mon Sep 06 2021 Elliott Sales de Andrade - 8.20210903-1 - update to 8.20210903 * Thu Aug 5 2021 Jens Petersen - 8.20210803-1 - update to 8.20210803 * Thu Aug 5 2021 Jens Petersen - 8.20210630-1 - update to 8.20210630 * Thu Jul 22 2021 Fedora Release Engineering - 8.20210428-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 16 2021 Elliott Sales de Andrade - 8.20210428-1 - update to 8.20210428 * Mon Apr 12 2021 Elliott Sales de Andrade - 8.20210330-1 - update to 8.20210330 * Thu Feb 25 2021 Elliott Sales de Andrade - 8.20210223-1 - update to 8.20210223 * Mon Feb 1 2021 Elliott Sales de Andrade - 8.20210127-1 - update to 8.20210127 * Tue Jan 26 2021 Fedora Release Engineering - 8.20201129-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 14 2021 Elliott Sales de Andrade - 8.20201129-1 - update to 8.20201129 * Mon Dec 28 2020 Elliott Sales de Andrade - 8.20201127-1 - update to 8.20201127 - Disable Webapp on armv7hl * Fri Sep 11 2020 Elliott Sales de Andrade - 8.20200908-1 - update to 8.20200908 * Tue Sep 08 2020 Elliott Sales de Andrade - 8.20200810-1 - update to 8.20200810 * Sat Aug 01 2020 Fedora Release Engineering - 8.20200617-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 8.20200617-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 19 2020 Jens Petersen - 8.20200617-1 - update to 8.20200617 * Wed Jun 10 2020 Jens Petersen - 8.20200522-1 - update to 8.20200522 * Sun May 03 2020 Elliott Sales de Andrade - 8.20200501-1 - update to 8.20200501 * Tue Mar 31 2020 Elliott Sales de Andrade - 8.20200330-1 - update to 8.20200330 * Sat Mar 14 2020 Elliott Sales de Andrade - 8.20200309-1 - update to 8.20200309 * Tue Mar 03 2020 Elliott Sales de Andrade - 8.20200226-1 - update to 8.20200226 * Sat Feb 15 2020 Jens Petersen - 7.20200204-1 - https://hackage.haskell.org/package/git-annex-7.20200204/changelog - filepath-bytestring was packaged * Sun Feb 02 2020 Jens Petersen - 7.20191230-1 - update to 7.20191230 - refresh to cabal-rpm-2.0.2 * Sat Feb 1 2020 Jens Petersen - 7.20191114-3 - fix FTBFS on armv7hl using non-Production build (#1797176) * Tue Jan 28 2020 Fedora Release Engineering - 7.20191114-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Nov 15 2019 Elliott Sales de Andrade - 7.20191114-1 - update to 7.20191114 * Wed Nov 13 2019 Elliott Sales de Andrade - 7.20191106-1 - update to 7.20191106 * Sat Oct 26 2019 Elliott Sales de Andrade - 7.20191024-1 - update to 7.20191024 * Fri Oct 18 2019 Elliott Sales de Andrade - 7.20191017-1 - update to 7.20191017 * Wed Oct 16 2019 Elliott Sales de Andrade - 7.20191009-1 - update to 7.20191009 * Wed Sep 18 2019 Elliott Sales de Andrade - 7.20190912-1 - update to 7.20190912 * Fri Aug 30 2019 Elliott Sales de Andrade - 7.20190819-1 - update to 7.20190819 * Fri Aug 09 2019 Jens Petersen - 7.20190730-1 - update to 7.20190730 * Thu Aug 01 2019 Jens Petersen - 7.20190708-3 - rebuild * Thu Jul 25 2019 Fedora Release Engineering - 7.20190708-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Jul 15 2019 Elliott Sales de Andrade - 7.20190708-1 - update to 7.20190708 * Wed Jun 26 2019 Elliott Sales de Andrade - 7.20190626-1 - update to 7.20190626 * Sun Jun 16 2019 Elliott Sales de Andrade - 7.20190615-1 - update to 7.20190615 * Wed May 08 2019 Elliott Sales de Andrade - 7.20190507-1 - update to 7.20190507 * Sun May 05 2019 Elliott Sales de Andrade - 7.20190503-1 - update to 7.20190503 * Thu Mar 28 2019 Elliott Sales de Andrade - 7.20190322-1 - update to 7.20190322 * Wed Feb 27 2019 Jens Petersen - 7.20190219-2 - rebuild * Tue Feb 19 2019 Elliott Sales de Andrade - 7.20190219-1 - update to 7.20190219 * Wed Feb 13 2019 Elliott Sales de Andrade - 7.20190129-1 - update to 7.20190129 * Thu Jan 31 2019 Fedora Release Engineering - 6.20181011-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Dec 09 2018 Elliott Sales de Andrade - 6.20181011-1 - update to 6.20181011 * Tue Oct 23 2018 Jens Petersen - 6.20180913-2 - rebuild for static executable * Thu Sep 20 2018 Elliott Sales de Andrade - 6.20180913-1 - update to 6.20180913 * Sat Aug 18 2018 Elliott Sales de Andrade - 6.20180807-1 - update to 6.20180807 * Sun Jul 22 2018 Jens Petersen - 6.20180719-1 - update to 6.20180719 * Fri Jul 13 2018 Fedora Release Engineering - 6.20180626-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Elliott Sales de Andrade - 6.20180626-1 - update to 6.20180626 - Fix CVE-2018-10857 and CVE-2018-10859 (#1595634) * Fri Apr 20 2018 Elliott Sales de Andrade - 6.20180409-1 - update to 6.20180409 * Fri Apr 06 2018 Elliott Sales de Andrade - 6.20180316-1 - update to 6.20180316 * Wed Feb 07 2018 Fedora Release Engineering - 6.20180112-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Feb 02 2018 Elliott Sales de Andrade - 6.20180112-1 - Update to latest version. * Wed Jan 24 2018 Jens Petersen - 6.20171214-1 - update to 6.20171214 * Thu Nov 30 2017 Elliott Sales de Andrade - 6.20171124-1 - Update to latest version. * Tue Nov 28 2017 Elliott Sales de Andrade - 6.20170925-6.fc27 - Enable S3 support. - Enable WebDAV support. * Wed Nov 22 2017 Elliott Sales de Andrade - 6.20170925-8.fc28 - Enable TestSuite. * Fri Nov 17 2017 Elliott Sales de Andrade - 6.20170925-7.fc28 - Enable Webapp and Pairing support. * Wed Nov 15 2017 Elliott Sales de Andrade - 6.20170925-6.fc28 - Enable S3 support. * Wed Nov 15 2017 Elliott Sales de Andrade - 6.20170925-5.fc27 - Add minimum versions to dependencies. - Enable use of concurrent-output library. - Enable use of libmagic for file identification. - Enable TorrentParser for parsing torrents. * Wed Nov 15 2017 Elliott Sales de Andrade - 6.20170925-5.fc28 - Add minimum versions to dependencies. - Enable use of concurrent-output library. - Enable use of libmagic for file identification. - Enable TorrentParser for parsing torrents. - Enable WebDAV support. * Tue Nov 07 2017 Elliott Sales de Andrade - 6.20170925-4 - rebuilt * Sat Nov 04 2017 Elliott Sales de Andrade - 6.20170925-3 - rebuilt * Mon Oct 23 2017 Elliott Sales de Andrade - 6.20170925-2 - rebuilt * Fri Sep 29 2017 Elliott Sales de Andrade 6.20170925-1 - Update to 6.20170925. - Add rsync BuildRequires. - Fix documentation packaging. - Add and install bash-completion. * Wed Aug 02 2017 Fedora Release Engineering - 5.20140717-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 5.20140717-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 5.20140717-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jun 20 2016 Jens Petersen - 5.20140717-12 - need network-uri - patch for ambiguous createPipe in Utility.Process - patch for ambiguous defaultTimeLocale - disable quvi and tahoe for build with ghc8 * Tue Mar 8 2016 Jens Petersen - 5.20140717-11 - rebuild * Wed Feb 03 2016 Fedora Release Engineering - 5.20140717-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Aug 08 2015 Ben Boeckel - 5.20140717-8 - rebuild for ghc-edit-distance and ghc-bloomfilter * Wed Jun 17 2015 Fedora Release Engineering - 5.20140717-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Apr 09 2015 Richard W.M. Jones - 5.20140717-6 - Bump release and rebuild because of ghc-dbus dependency. * Thu Mar 5 2015 Jens Petersen - 5.20140717-5 - rebuild * Tue Jan 27 2015 Jens Petersen - 5.20140717-4 - cblrpm refresh * Fri Sep 5 2014 Jens Petersen - 5.20140717-3 - rebuild * Sat Aug 16 2014 Fedora Release Engineering - 5.20140717-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Wed Jul 23 2014 Ben Boeckel - 5.20140717-1 - Update to 5.20140717 - disable DesktopNotify until fdo-notify packaged * Sat Jun 07 2014 Fedora Release Engineering - 5.20140221-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Mar 26 2014 Ben Boeckel - 5.20140221-2 - Rebuild for dbus rebuild * Tue Feb 25 2014 Jens Petersen - 5.20140221-1 - update to 5.20140221 - BR cryptohash * Fri Feb 07 2014 Jens Petersen - 5.20140116-1 - update to 5.20140116 * Wed Jan 22 2014 Jens Petersen - 5.20140108-2 - rebuild * Tue Jan 14 2014 Jens Petersen - 5.20140108-1 - update to 5.20140108 * Tue Jan 14 2014 Jens Petersen - 4.20130827-2 - enable dbus * Wed Sep 04 2013 Jens Petersen - 4.20130827-1 - update to 4.20130827 - update deps and default flags - build with regex-tdfa * Sat Aug 03 2013 Fedora Release Engineering - 3.20130207-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jun 12 2013 Jens Petersen - 3.20130207-1 - update to 3.20130207 - requires SafeSemaphore * Thu Jun 6 2013 Jens Petersen - 3.20121009-5 - IfElse is now in Fedora * Fri Mar 22 2013 Jens Petersen - 3.20121009-4 - rebuild * Wed Feb 13 2013 Fedora Release Engineering - 3.20121009-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Dec 11 2012 Jens Petersen - 3.20121009-2 - create manpages when no ikiwiki * Tue Nov 06 2012 Jens Petersen - 3.20121009-1 - update to 3.20121009 * Thu Jul 19 2012 Fedora Release Engineering - 3.20120615-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 26 2012 Jens Petersen - 3.20120615-2 - fix doc file symlinks - BR ImageMagick-perl - make docs subpackage noarch * Sat Jun 23 2012 Ben Boeckel - 3.20120615-1 - Update to 3.20120615 * Tue May 22 2012 Jens Petersen - 3.20120522-1 - create git-annex-shell symlink - build and include manpages and docs in a subpackage * Sat Apr 21 2012 Ben Boeckel - 3.20120418-1 - Update to 3.20120418 * Fri Mar 02 2012 Ben Boeckel - 3.20120229-1 - Update to 3.20120229 * Fri Mar 2 2012 Fedora Haskell SIG - spec file template generated by cabal2spec-0.25.4