Blame SPECS/alex.spec

6c5ea0
# generated by cabal-rpm-0.12.1
6c5ea0
# https://fedoraproject.org/wiki/Packaging:Haskell
6c5ea0
6c5ea0
%bcond_without tests
6c5ea0
6c5ea0
Name:           alex
6c5ea0
Version:        3.2.3
6c5ea0
Release:        2%{?dist}
6c5ea0
Summary:        Tool for generating lexical analysers in Haskell
6c5ea0
6c5ea0
License:        BSD
6c5ea0
Url:            https://hackage.haskell.org/package/%{name}
6c5ea0
Source0:        https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
6c5ea0
6c5ea0
BuildRequires:  ghc-Cabal-devel
6c5ea0
BuildRequires:  ghc-rpm-macros
6c5ea0
# Begin cabal-rpm deps:
6c5ea0
BuildRequires:  ghc-QuickCheck-devel
6c5ea0
BuildRequires:  ghc-array-devel
6c5ea0
BuildRequires:  ghc-containers-devel
6c5ea0
BuildRequires:  ghc-directory-devel
6c5ea0
%if %{with tests}
6c5ea0
BuildRequires:  ghc-process-devel
6c5ea0
%endif
6c5ea0
# End cabal-rpm deps
6c5ea0
BuildRequires:  autoconf
6c5ea0
BuildRequires:  docbook-style-xsl
6c5ea0
BuildRequires:  libxslt
6c5ea0
# added for F26
6c5ea0
Obsoletes:      %{name}-common < %{version}-%{release}
6c5ea0
Obsoletes:      %{name}-static < %{version}-%{release}
6c5ea0
6c5ea0
%description
6c5ea0
Alex is a tool for generating lexical analysers in Haskell. It takes a
6c5ea0
description of tokens based on regular expressions and generates a Haskell
6c5ea0
module containing code for scanning text efficiently. It is similar to the tool
6c5ea0
lex or flex for C/C++.
6c5ea0
6c5ea0
6c5ea0
%prep
6c5ea0
%setup -q
6c5ea0
6c5ea0
6c5ea0
%build
6c5ea0
%ghc_bin_build
6c5ea0
6c5ea0
cd doc
6c5ea0
autoreconf
6c5ea0
./configure --prefix=%{_prefix} --libdir=%{_libdir}
6c5ea0
make html
6c5ea0
cd ..
6c5ea0
6c5ea0
6c5ea0
%install
6c5ea0
%ghc_bin_install
6c5ea0
6c5ea0
install -D -m 0644 doc/alex.1 %{buildroot}%{_mandir}/man1/alex.1
6c5ea0
6c5ea0
6c5ea0
%check
6c5ea0
%cabal_test
6c5ea0
6c5ea0
6c5ea0
%files
6c5ea0
%license LICENSE
6c5ea0
%doc CHANGELOG.md README.md TODO doc/alex examples
6c5ea0
%{_bindir}/%{name}
6c5ea0
%{_datadir}/%{name}-%{version}
6c5ea0
%{_mandir}/man1/alex.1*
6c5ea0
6c5ea0
6c5ea0
%changelog
6c5ea0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-2
6c5ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6c5ea0
6c5ea0
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 3.2.3-1
6c5ea0
- update to 3.2.3
6c5ea0
6c5ea0
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-3
6c5ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6c5ea0
6c5ea0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
6c5ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6c5ea0
6c5ea0
* Mon Feb 20 2017 Jens Petersen <petersen@redhat.com> - 3.2.1-1
6c5ea0
- update to 3.2.1
6c5ea0
6c5ea0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-3
6c5ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6c5ea0
6c5ea0
* Fri Jan 20 2017 Jens Petersen <petersen@redhat.com> - 3.1.7-2
6c5ea0
- remove and obsolete static and common subpackages
6c5ea0
- re-enable tests
6c5ea0
6c5ea0
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 3.1.7-1
6c5ea0
- update to 3.1.7
6c5ea0
- install manpage
6c5ea0
6c5ea0
* Mon Jun  6 2016 Jens Petersen <petersen@redhat.com> - 3.1.4-5
6c5ea0
- rebuild
6c5ea0
6c5ea0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-4
6c5ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6c5ea0
6c5ea0
* Thu Sep 17 2015 Jens Petersen <petersen@redhat.com> - 3.1.4-3
6c5ea0
- use license macro
6c5ea0
- disable testsuite for 3.1.4
6c5ea0
6c5ea0
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-2
6c5ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6c5ea0
6c5ea0
* Thu Apr 02 2015 Jens Petersen <petersen@redhat.com>
6c5ea0
- update to 3.1.4
6c5ea0
6c5ea0
* Sun Aug  3 2014 Jens Petersen <petersen@redhat.com> - 3.1.3-1
6c5ea0
- update to 3.1.3
6c5ea0
- add static and common subpackages
6c5ea0
- dynamic and static are handled as alternatives
6c5ea0
6c5ea0
* Tue Jun 10 2014 Jens Petersen <petersen@redhat.com> - 3.0.5-37
6c5ea0
- update to cblrpm-0.8.11
6c5ea0
- turn on tests
6c5ea0
6c5ea0
* Mon Apr 21 2014 Jens Petersen <petersen@redhat.com> - 3.0.5-36
6c5ea0
- bang pattern patch no longer needed for ppc with ghc-7.6
6c5ea0
6c5ea0
* Mon Apr 21 2014 Jens Petersen <petersen@redhat.com> - 3.0.5-35
6c5ea0
- bump over haskell-platform
6c5ea0
6c5ea0
* Fri Apr 11 2014 Jens Petersen <petersen@redhat.com> - 3.0.5-34
6c5ea0
- split out of haskell-platform
6c5ea0
- update to 3.0.5
6c5ea0
6c5ea0
* Wed Jun  6 2012 Jens Petersen <petersen@redhat.com> - 3.0.1-3
6c5ea0
- BR alex on ppc archs!
6c5ea0
- also apply bang pattern patch on ppc64
6c5ea0
6c5ea0
* Wed Jun  6 2012 Jens Petersen <petersen@redhat.com> - 3.0.1-2
6c5ea0
- add fix-bang-pattern.diff patch from Debian to fix build on ppc
6c5ea0
6c5ea0
* Tue Mar 20 2012 Jens Petersen <petersen@redhat.com> - 3.0.1-1
6c5ea0
- update to 3.0.1
6c5ea0
- depends on QuickCheck
6c5ea0
6c5ea0
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-6.2
6c5ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6c5ea0
6c5ea0
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.3.5-5.2
6c5ea0
- rebuild with new gmp without compat lib
6c5ea0
6c5ea0
* Mon Oct 10 2011 Peter Schiffer <pschiffe@redhat.com> - 2.3.5-5.1
6c5ea0
- rebuild with new gmp
6c5ea0
6c5ea0
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 2.3.5-5
6c5ea0
- ghc_arches replaces ghc_excluded_archs
6c5ea0
6c5ea0
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 2.3.5-4
6c5ea0
- BR ghc-Cabal-devel
6c5ea0
- use ghc_excluded_archs
6c5ea0
6c5ea0
* Wed May 18 2011 Jens Petersen <petersen@redhat.com> - 2.3.5-3
6c5ea0
- add ppc64
6c5ea0
6c5ea0
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 2.3.5-2
6c5ea0
- Enable build on sparcv9
6c5ea0
6c5ea0
* Tue Feb 15 2011 Jens Petersen <petersen@redhat.com> - 2.3.5-1
6c5ea0
- update to 2.3.5 for haskell-platform-2011.1
6c5ea0
6c5ea0
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.4-3
6c5ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6c5ea0
6c5ea0
* Sat Jan 15 2011 Jens Petersen <petersen@redhat.com> - 2.3.4-2
6c5ea0
- update to cabal2spec-0.22.4
6c5ea0
- BR ghc-devel
6c5ea0
6c5ea0
* Sun Dec  5 2010 Jens Petersen <petersen@redhat.com> - 2.3.4-1
6c5ea0
- update to 2.3.4
6c5ea0
6c5ea0
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 2.3.3-2
6c5ea0
- rebuild
6c5ea0
6c5ea0
* Fri Jul 30 2010 Jens Petersen <petersen@redhat.com>
6c5ea0
- update to simpler url
6c5ea0
6c5ea0
* Fri Jul 16 2010 Jens Petersen <petersen@redhat.com> - 2.3.3-1
6c5ea0
- 2.3.3 release for haskell-platform-2010.2.0.0
6c5ea0
6c5ea0
* Sun Jun 27 2010 Jens Petersen <petersen@redhat.com> - 2.3.2-3
6c5ea0
- sync cabal2spec-0.22.1
6c5ea0
6c5ea0
* Sat Apr 24 2010 Jens Petersen <petersen@redhat.com> - 2.3.2-2
6c5ea0
- rebuild against ghc-6.12.2
6c5ea0
6c5ea0
* Wed Mar 24 2010 Jens Petersen <petersen@redhat.com> - 2.3.2-1
6c5ea0
- update to 2.3.2 for haskell-platform-2010.1.0.0
6c5ea0
6c5ea0
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 2.3.1-8
6c5ea0
- dynamic bcond is now handled by cabal_configure
6c5ea0
- drop redundant buildroot and its install cleaning
6c5ea0
6c5ea0
* Tue Dec 22 2009 Jens Petersen <petersen@redhat.com>
6c5ea0
- add bcond for dynamic linking
6c5ea0
6c5ea0
* Mon Dec 21 2009 Jens Petersen <petersen@redhat.com> - 2.3.1-7
6c5ea0
- build dynamically with ghc-6.12.1
6c5ea0
6c5ea0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-6
6c5ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6c5ea0
6c5ea0
* Sun May 17 2009 Jens Petersen <petersen@redhat.com> - 2.3.1-5
6c5ea0
- buildrequires ghc-rpm-macros
6c5ea0
6c5ea0
* Fri Apr 24 2009 Jens Petersen <petersen@redhat.com> - 2.3.1-4
6c5ea0
- rebuild against ghc-6.10.2
6c5ea0
6c5ea0
* Tue Mar 10 2009 Jens Petersen <petersen@redhat.com> - 2.3.1-3
6c5ea0
- update arch list and bring closer to cabal2spec-0.12
6c5ea0
6c5ea0
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-2
6c5ea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6c5ea0
6c5ea0
* Thu Dec 11 2008 Jens Petersen <petersen@redhat.com> - 2.3.1-1
6c5ea0
- update to 2.3.1
6c5ea0
- no longer need alex-2.3-base3.patch
6c5ea0
6c5ea0
* Tue Nov 25 2008 Jens Petersen <petersen@redhat.com> - 2.3-2
6c5ea0
- build with new macros
6c5ea0
- update urls to point to hackage
6c5ea0
- add alex-2.3-base3.patch to build with base-3 for ghc-6.10.1
6c5ea0
6c5ea0
* Mon Oct 13 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.3-1
6c5ea0
- Update to 2.3
6c5ea0
6c5ea0
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2-3
6c5ea0
- fix license tag
6c5ea0
6c5ea0
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2-2
6c5ea0
- Autorebuild for GCC 4.3
6c5ea0
6c5ea0
* Fri Jan  4 2008 Jens Petersen <petersen@redhat.com> - 2.2-1
6c5ea0
- update to 2.2 release
6c5ea0
6c5ea0
* Fri Nov 23 2007 Bryan O'Sullivan <bos@serpentine.com> - 2.1.0-6
6c5ea0
- Exclude alpha
6c5ea0
6c5ea0
* Tue Sep 25 2007 Bryan O'Sullivan <bos@serpentine.com> - 2.1.0-5
6c5ea0
- don't try to build on ppc64
6c5ea0
6c5ea0
* Tue Sep 25 2007 Bryan O'Sullivan <bos@serpentine.com> - 2.1.0-4
6c5ea0
- build requires autoconf
6c5ea0
6c5ea0
* Sun Jul 22 2007 Bryan O'Sullivan <bos@serpentine.com> - 2.1.0-3
6c5ea0
- apply a few cleanups from Jens Petersen
6c5ea0
6c5ea0
* Thu Apr 26 2007 Bryan O'Sullivan <bos@serpentine.com> - 2.1.0-2
6c5ea0
- fix a few style issues
6c5ea0
6c5ea0
* Fri Jan 19 2007 Bryan O'Sullivan <bos@serpentine.com> - 2.1.0-1
6c5ea0
- update to 2.1.0
6c5ea0
- fix rpmlint errors
6c5ea0
6c5ea0
* Fri May  6 2005 Jens Petersen <petersen@redhat.com> - 2.0.1-1
6c5ea0
- initial packaging for Fedora Haskell based on upstream spec file