lsfrom/lsfrom.spec

84 lines
2.0 KiB
RPMSpec

# generated by cabal-rpm-2.0.9
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
# needs installed lsfrom
%bcond_with tests
Name: lsfrom
Version: 0.1
Release: 5%{?dist}
Summary: List directory files starting from a specific name
License: BSD
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-base-static
BuildRequires: ghc-filepath-static
BuildRequires: ghc-simple-cmd-static
BuildRequires: ghc-simple-cmd-args-static
%if %{with tests}
BuildRequires: ghc-directory-devel
%endif
# End cabal-rpm deps
%description
`lsfrom` lists all files in a directory that start with a particular sequence of
characters and those after it with respect to locale collation. This can be
useful for example for continuing a script on the files in a directory after
a failure.
%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
%check
%if %{with tests}
%cabal_test
%endif
%files
# Begin cabal-rpm files:
%license LICENSE
%doc ChangeLog.md README.md
%{_bindir}/%{name}
# End cabal-rpm files
%changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.1-3
- rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Feb 13 2021 Jens Petersen <petersen@redhat.com> - 0.1-1
- spec file generated by cabal-rpm-2.0.8