Accepting request 461517 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/461517 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alex?expand=0&rev=14
This commit is contained in:
commit
57d79c3de1
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:89a1a13da6ccbeb006488d9574382e891cf7c0567752b330cc8616d748bf28d1
|
||||
size 103624
|
3
alex-3.2.1.tar.gz
Normal file
3
alex-3.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a4e7f7ec729f4fae5a5c778bc48421a90acf65c7278f6970cf123fb3b6230e6c
|
||||
size 111167
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 12 14:17:48 UTC 2017 - psimons@suse.com
|
||||
|
||||
- Update to version 3.2.1 with cabal2obs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 10 17:07:27 UTC 2016 - psimons@suse.com
|
||||
|
||||
|
21
alex.spec
21
alex.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package alex
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,16 +18,15 @@
|
||||
|
||||
%bcond_without tests
|
||||
Name: alex
|
||||
Version: 3.1.7
|
||||
Version: 3.2.1
|
||||
Release: 0
|
||||
Summary: Alex is a tool for generating lexical analysers in Haskell
|
||||
License: BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
Group: Development/Languages/Other
|
||||
Url: https://hackage.haskell.org/package/%{name}
|
||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: autoconf
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-array-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
@ -37,7 +36,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-process-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
Alex is a tool for generating lexical analysers in Haskell. It takes a
|
||||
@ -48,30 +46,25 @@ lex or flex for C/C++.
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%ghc_bin_build
|
||||
|
||||
cd doc
|
||||
test -f configure || autoreconf
|
||||
# FIXME: you should use the %%configure macro
|
||||
./configure
|
||||
|
||||
%install
|
||||
%ghc_bin_install
|
||||
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||
cp doc/alex.1 %{buildroot}/%{_mandir}/man1
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%{cabal} test
|
||||
%endif
|
||||
|
||||
%cabal_test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
%doc CHANGELOG.md README TODO doc examples
|
||||
%doc CHANGELOG.md README.md TODO doc examples
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}-%{version}
|
||||
%{_mandir}/man1/*
|
||||
|
Loading…
Reference in New Issue
Block a user