2021-07-07 16:30:14 +00:00
|
|
|
# generated by cabal-rpm-2.0.9
|
2021-03-16 18:09:50 +00:00
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
|
|
|
|
# needs installed lsfrom
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
Name: lsfrom
|
|
|
|
Version: 0.1
|
2022-01-08 10:12:10 +00:00
|
|
|
Release: 4%{?dist}
|
2021-03-16 18:09:50 +00:00
|
|
|
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
|
2021-07-07 16:30:14 +00:00
|
|
|
%if %{with tests}
|
2021-03-16 18:09:50 +00:00
|
|
|
%cabal_test
|
2021-07-07 16:30:14 +00:00
|
|
|
%endif
|
2021-03-16 18:09:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
%license LICENSE
|
|
|
|
%doc ChangeLog.md README.md
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
# End cabal-rpm files
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-01-08 10:12:10 +00:00
|
|
|
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 0.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
|
|
|
|
2021-08-06 05:26:37 +00:00
|
|
|
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.1-3
|
|
|
|
- rebuild
|
|
|
|
|
2021-07-22 13:13:05 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-03-16 18:09:50 +00:00
|
|
|
* Sat Feb 13 2021 Jens Petersen <petersen@redhat.com> - 0.1-1
|
|
|
|
- spec file generated by cabal-rpm-2.0.8
|