Compare commits
No commits in common. "rawhide" and "f38" have entirely different histories.
3 changed files with 14 additions and 10 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -12,6 +12,3 @@ alex-2.3.3.tar.gz
|
|||
/alex-3.2.5.tar.gz
|
||||
/alex-3.2.6.tar.gz
|
||||
/alex-3.2.7.1.tar.gz
|
||||
/alex-3.3.0.0.tar.gz
|
||||
/alex-3.4.0.1.tar.gz
|
||||
/alex-3.5.2.0.tar.gz
|
||||
|
|
|
|||
19
alex.spec
19
alex.spec
|
|
@ -1,15 +1,15 @@
|
|||
# generated by cabal-rpm-2.3.0
|
||||
# generated by cabal-rpm-2.1.0
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%bcond tests 1
|
||||
%bcond_without tests
|
||||
|
||||
Name: alex
|
||||
Version: 3.5.2.0
|
||||
Version: 3.2.7.1
|
||||
Release: %autorelease
|
||||
Summary: Tool for generating lexical analysers in Haskell
|
||||
|
||||
License: BSD-3-Clause
|
||||
URL: https://hackage.haskell.org/package/alex
|
||||
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
|
||||
|
|
@ -47,17 +47,22 @@ lex or flex for C/C++.
|
|||
# Begin cabal-rpm build:
|
||||
%ghc_bin_build
|
||||
# End cabal-rpm build
|
||||
cd doc
|
||||
autoreconf
|
||||
./configure --prefix=%{_prefix} --libdir=%{_libdir}
|
||||
make html
|
||||
cd ..
|
||||
|
||||
|
||||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_bin_install
|
||||
# End cabal-rpm install
|
||||
install -D -m 0644 doc/alex.1 %{buildroot}%{_mandir}/man1/alex.1
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
PATH=%{buildroot}%{_bindir}:$PATH
|
||||
%cabal_test
|
||||
%endif
|
||||
|
||||
|
|
@ -65,10 +70,12 @@ PATH=%{buildroot}%{_bindir}:$PATH
|
|||
%files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md README.md examples
|
||||
%doc CHANGELOG.md README.md TODO examples
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}-%{version}
|
||||
# End cabal-rpm files
|
||||
%doc doc/alex
|
||||
%{_mandir}/man1/alex.1*
|
||||
|
||||
|
||||
%changelog
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (alex-3.5.2.0.tar.gz) = 9937360dd6d9a34fe65c6a9fc6f078208bf95d521b440d45ba4a6a1e722328d899997187f344cca213a060e7c582a23ba0824ecc5ee6b32bc26217ecf5849b14
|
||||
SHA512 (alex-3.2.7.1.tar.gz) = f8ff12de874b905449fdda0d704f9e4ac30fa3e60e965f82d7bb2d6e3974cf926f85134d32878c48faf0ec4a002ea7240cf6696e1cbcad25a0eebb9d1850cc07
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue