pkgtreediff/pkgtreediff.spec

83 lines
2.4 KiB
RPMSpec
Raw Normal View History

2021-06-11 15:16:32 +00:00
# generated by cabal-rpm-2.0.9
2020-06-19 08:58:05 +00:00
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
2020-03-31 11:39:47 +00:00
Name: pkgtreediff
Version: 0.4
Release: 5%{?dist}
2020-03-31 11:39:47 +00:00
Summary: Package tree diff tool
License: GPLv3+
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-Glob-static
BuildRequires: ghc-async-static
BuildRequires: ghc-base-static
BuildRequires: ghc-directory-static
BuildRequires: ghc-filepath-static
BuildRequires: ghc-http-client-static
BuildRequires: ghc-http-client-tls-static
BuildRequires: ghc-http-directory-static
BuildRequires: ghc-simple-cmd-static
BuildRequires: ghc-simple-cmd-args-static
BuildRequires: ghc-text-static
# End cabal-rpm deps
%description
Tool for comparing RPM packages and versions in OS dist trees or instances.
%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
2021-06-11 15:16:32 +00:00
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
%{buildroot}%{_bindir}/%{name} --bash-completion-script %{name} | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/%{name}
2020-03-31 11:39:47 +00:00
# End cabal-rpm install
%files
# Begin cabal-rpm files:
%license LICENSE
%doc CHANGELOG.md README.md TODO
%{_bindir}/%{name}
2021-06-11 15:16:32 +00:00
%{_datadir}/bash-completion/completions/%{name}
2020-03-31 11:39:47 +00:00
# End cabal-rpm files
%changelog
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-5
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-17 11:27:02 +00:00
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.4-2
- refresh to cabal-rpm-2.0.6
2020-03-31 11:39:47 +00:00
* Fri Mar 13 2020 Jens Petersen <petersen@redhat.com> - 0.4-1
- update to 0.4
* Thu Jan 23 2020 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3-1
- spec file generated by cabal-rpm-2.0.0