2017-02-23 04:30:33 +00:00
|
|
|
# generated by cabal-rpm-0.11.1
|
2012-01-05 04:04:23 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
2010-02-20 01:56:14 +00:00
|
|
|
%global pkg_name hlint
|
2017-02-23 04:30:33 +00:00
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
%global clock clock-0.7.2
|
|
|
|
%global extra extra-1.5.1
|
|
|
|
%global refact refact-0.3.0.2
|
|
|
|
%global subpkgs %{clock} %{extra} %{refact}
|
2010-02-20 01:56:14 +00:00
|
|
|
|
|
|
|
Name: %{pkg_name}
|
2017-02-23 04:30:33 +00:00
|
|
|
Version: 1.9.41
|
|
|
|
# can only be reset when all subpkgs bumped
|
2017-08-02 23:29:35 +00:00
|
|
|
Release: 3%{?dist}
|
2013-06-11 08:15:25 +00:00
|
|
|
Summary: Haskell source code suggestions
|
2010-02-20 01:56:14 +00:00
|
|
|
|
2014-08-29 04:08:19 +00:00
|
|
|
License: BSD
|
2015-04-03 04:09:51 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{name}
|
2017-02-23 04:30:33 +00:00
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
Source1: https://hackage.haskell.org/package/%{extra}/%{extra}.tar.gz
|
|
|
|
Source2: https://hackage.haskell.org/package/%{refact}/%{refact}.tar.gz
|
|
|
|
Source3: https://hackage.haskell.org/package/%{clock}/%{clock}.tar.gz
|
2012-11-06 08:37:38 +00:00
|
|
|
|
2011-06-22 04:00:59 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2017-02-23 04:30:33 +00:00
|
|
|
BuildRequires: ghc-rpm-macros-extra
|
2012-11-06 08:37:38 +00:00
|
|
|
# Begin cabal-rpm deps:
|
2017-02-23 04:30:33 +00:00
|
|
|
BuildRequires: chrpath
|
|
|
|
BuildRequires: ghc-ansi-terminal-devel
|
2014-08-29 04:08:19 +00:00
|
|
|
BuildRequires: ghc-cmdargs-devel
|
2012-11-06 08:37:38 +00:00
|
|
|
BuildRequires: ghc-containers-devel
|
2012-07-16 02:16:58 +00:00
|
|
|
BuildRequires: ghc-cpphs-devel
|
2012-11-06 08:37:38 +00:00
|
|
|
BuildRequires: ghc-directory-devel
|
2017-02-23 04:30:33 +00:00
|
|
|
#BuildRequires: ghc-extra-devel
|
2012-11-06 08:37:38 +00:00
|
|
|
BuildRequires: ghc-filepath-devel
|
2012-07-16 02:16:58 +00:00
|
|
|
BuildRequires: ghc-haskell-src-exts-devel
|
|
|
|
BuildRequires: ghc-hscolour-devel
|
2012-11-06 08:37:38 +00:00
|
|
|
BuildRequires: ghc-process-devel
|
2017-02-23 04:30:33 +00:00
|
|
|
#BuildRequires: ghc-refact-devel
|
2012-07-16 02:16:58 +00:00
|
|
|
BuildRequires: ghc-transformers-devel
|
2012-11-06 08:37:38 +00:00
|
|
|
BuildRequires: ghc-uniplate-devel
|
|
|
|
# End cabal-rpm deps
|
2010-02-20 01:56:14 +00:00
|
|
|
|
|
|
|
%description
|
2013-06-11 08:15:25 +00:00
|
|
|
HLint gives suggestions on how to improve your source code.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n ghc-%{name}
|
|
|
|
Summary: Haskell %{name} library
|
|
|
|
|
|
|
|
%description -n ghc-%{name}
|
|
|
|
This package provides the Haskell %{name} shared library.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n ghc-%{name}-devel
|
|
|
|
Summary: Haskell %{name} library development files
|
2014-08-29 04:08:19 +00:00
|
|
|
Provides: ghc-%{name}-static = %{version}-%{release}
|
2013-06-11 08:15:25 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
2014-08-29 04:08:19 +00:00
|
|
|
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
2013-06-11 08:15:25 +00:00
|
|
|
|
|
|
|
%description -n ghc-%{name}-devel
|
|
|
|
This package provides the Haskell %{name} library development files.
|
2010-02-20 01:56:14 +00:00
|
|
|
|
|
|
|
|
2017-02-23 04:30:33 +00:00
|
|
|
%global main_version %{version}
|
|
|
|
|
|
|
|
%if %{defined ghclibdir}
|
|
|
|
%ghc_lib_subpackage %{clock}
|
|
|
|
%ghc_lib_subpackage %{extra}
|
|
|
|
%ghc_lib_subpackage %{refact}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
|
|
|
|
|
2010-02-20 01:56:14 +00:00
|
|
|
%prep
|
2017-02-23 04:30:33 +00:00
|
|
|
%setup -q -a1 -a2 -a3
|
2010-02-20 01:56:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2017-02-23 04:30:33 +00:00
|
|
|
%ghc_libs_build %{subpkgs}
|
2010-06-26 13:44:34 +00:00
|
|
|
%ghc_lib_build
|
2010-02-20 01:56:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2017-02-23 04:30:33 +00:00
|
|
|
%ghc_libs_install %{subpkgs}
|
2010-06-26 13:44:34 +00:00
|
|
|
%ghc_lib_install
|
2017-11-15 05:47:58 +00:00
|
|
|
%ghc_fix_rpath %{pkgver}
|
2017-02-23 04:30:33 +00:00
|
|
|
|
2013-12-22 13:01:55 +00:00
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
mv %{buildroot}%{_datadir}/%{name}-%{version}/hlint.1 %{buildroot}%{_mandir}/man1
|
2010-07-31 12:18:32 +00:00
|
|
|
|
2010-02-20 01:56:14 +00:00
|
|
|
|
2013-06-11 08:15:25 +00:00
|
|
|
%post -n ghc-%{name}-devel
|
|
|
|
%ghc_pkg_recache
|
2012-01-05 04:04:23 +00:00
|
|
|
|
|
|
|
|
2013-06-11 08:15:25 +00:00
|
|
|
%postun -n ghc-%{name}-devel
|
|
|
|
%ghc_pkg_recache
|
2010-07-27 03:38:58 +00:00
|
|
|
|
|
|
|
|
2010-02-20 01:56:14 +00:00
|
|
|
%files
|
2016-09-28 09:32:27 +00:00
|
|
|
%license LICENSE
|
2017-02-23 04:30:33 +00:00
|
|
|
%doc CHANGES.txt README.md
|
2015-04-03 04:09:51 +00:00
|
|
|
%{_bindir}/%{name}
|
2010-02-20 01:56:14 +00:00
|
|
|
%{_datadir}/%{name}-%{version}
|
2010-07-31 12:18:32 +00:00
|
|
|
%{_mandir}/man1/%{name}*
|
2010-02-20 01:56:14 +00:00
|
|
|
|
|
|
|
|
2013-06-11 08:15:25 +00:00
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
2016-09-28 09:32:27 +00:00
|
|
|
%license LICENSE
|
2013-06-11 08:15:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
2012-01-05 04:04:23 +00:00
|
|
|
|
|
|
|
|
2010-02-20 01:56:14 +00:00
|
|
|
%changelog
|
2017-08-02 23:29:35 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.41-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 12:45:28 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.41-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-23 04:30:33 +00:00
|
|
|
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 1.9.41-1
|
|
|
|
- update to 1.9.41
|
|
|
|
|
2017-02-10 12:41:04 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.10-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-06-21 00:59:20 +00:00
|
|
|
* Tue Jun 21 2016 Jens Petersen <petersen@redhat.com> - 1.9.10-4
|
|
|
|
- build fixes for newer ghc8 and newer hscolour
|
|
|
|
|
2016-02-05 09:52:38 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.10-3
|
2016-02-03 23:51:00 +00:00
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 10:28:59 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-03 04:09:51 +00:00
|
|
|
* Fri Apr 3 2015 Jens Petersen <petersen@redhat.com> - 1.9.10-1
|
|
|
|
- update to 1.9.10
|
|
|
|
|
2014-08-29 04:08:19 +00:00
|
|
|
* Fri Aug 29 2014 Jens Petersen <petersen@redhat.com> - 1.9.4-1
|
|
|
|
- update to 1.9.4
|
|
|
|
- refresh to cblrpm-0.8.11
|
|
|
|
- update tag license to BSD
|
|
|
|
|
2014-08-16 20:32:38 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.50-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 20:15:13 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.50-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-01-16 03:22:56 +00:00
|
|
|
* Thu Jan 16 2014 Jens Petersen <petersen@redhat.com> - 1.8.50-1
|
|
|
|
- update to 1.8.50
|
|
|
|
|
2013-08-03 17:47:39 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.46-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-11 08:15:25 +00:00
|
|
|
* Tue Jun 11 2013 Jens Petersen <petersen@redhat.com> - 1.8.46-2
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
|
|
|
* Tue Jun 11 2013 Jens Petersen <petersen@redhat.com> - 1.8.46-1
|
|
|
|
- update to 1.8.46
|
|
|
|
|
2013-03-12 16:07:50 +00:00
|
|
|
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 1.8.43-1
|
|
|
|
- update to 1.8.43
|
|
|
|
|
2013-02-14 01:09:21 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.33-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-06 08:37:38 +00:00
|
|
|
* Tue Nov 06 2012 Jens Petersen <petersen@redhat.com> - 1.8.33-1
|
|
|
|
- update to 1.8.33 with cabal-rpm
|
|
|
|
|
2012-09-10 03:20:35 +00:00
|
|
|
* Mon Sep 10 2012 Jens Petersen <petersen@redhat.com> - 1.8.31-1
|
|
|
|
- 1.8.31
|
|
|
|
|
2012-07-19 12:58:54 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.30-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-16 02:22:19 +00:00
|
|
|
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 1.8.30-1
|
|
|
|
- update to 1.8.30
|
2012-07-16 02:16:58 +00:00
|
|
|
- change prof BRs to devel
|
|
|
|
|
2012-06-21 10:38:02 +00:00
|
|
|
* Thu Jun 21 2012 Jens Petersen <petersen@redhat.com> - 1.8.29-2
|
|
|
|
- rebuild
|
|
|
|
|
2012-06-09 14:27:35 +00:00
|
|
|
* Sat Jun 9 2012 Jens Petersen <petersen@redhat.com> - 1.8.29-1
|
|
|
|
- update to 1.8.29
|
|
|
|
|
2012-03-22 14:27:54 +00:00
|
|
|
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 1.8.24-1
|
|
|
|
- update to 1.8.24
|
|
|
|
|
2012-02-07 16:55:38 +00:00
|
|
|
* Tue Feb 7 2012 Jens Petersen <petersen@redhat.com> - 1.8.23-1
|
|
|
|
- update to 1.8.23
|
|
|
|
|
2012-01-05 04:04:23 +00:00
|
|
|
* Thu Jan 5 2012 Jens Petersen <petersen@redhat.com> - 1.8.20-1
|
|
|
|
- update to 1.8.20 and cabal2spec-0.25.2
|
|
|
|
|
2011-10-21 06:55:13 +00:00
|
|
|
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.8.17-1.1
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-15 09:22:44 +00:00
|
|
|
* Sat Oct 15 2011 Jens Petersen <petersen@redhat.com> - 1.8.17-1
|
|
|
|
- update to 1.8.17
|
|
|
|
|
2011-10-11 22:25:25 +00:00
|
|
|
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 1.8.13-1.1
|
|
|
|
- rebuild with new gmp
|
|
|
|
|
2011-07-22 05:40:41 +00:00
|
|
|
* Fri Jul 22 2011 Jens Petersen <petersen@redhat.com> - 1.8.13-1
|
|
|
|
- update to 1.8.13
|
|
|
|
|
2011-06-22 04:00:59 +00:00
|
|
|
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 1.8.11-1
|
|
|
|
- update to 1.8.11
|
|
|
|
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
|
|
|
|
|
2011-03-11 13:02:57 +00:00
|
|
|
* Fri Mar 11 2011 Jens Petersen <petersen@redhat.com> - 1.8.7-1
|
|
|
|
- update to 1.8.7
|
|
|
|
|
2011-03-10 08:15:38 +00:00
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.8.3-6
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
2011-02-09 09:15:20 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-22 15:19:29 +00:00
|
|
|
* Sun Jan 23 2011 Jens Petersen <petersen@redhat.com> - 1.8.3-4
|
|
|
|
- rebuild
|
|
|
|
|
2011-01-18 03:36:06 +00:00
|
|
|
* Tue Jan 18 2011 Jens Petersen <petersen@redhat.com> - 1.8.3-3
|
|
|
|
- update to cabal2spec-0.22.4
|
|
|
|
|
2010-12-05 08:56:04 +00:00
|
|
|
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 1.8.3-2
|
|
|
|
- rebuild
|
|
|
|
|
2010-11-29 01:27:46 +00:00
|
|
|
* Mon Nov 29 2010 Jens Petersen <petersen@redhat.com> - 1.8.3-1
|
|
|
|
- update to 1.8.3
|
|
|
|
|
2010-07-31 12:18:32 +00:00
|
|
|
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 1.7.3-2
|
|
|
|
- move manpage to mandir
|
|
|
|
|
2010-07-27 03:38:58 +00:00
|
|
|
* Tue Jul 27 2010 Jens Petersen <petersen@redhat.com> - 1.7.3-1
|
|
|
|
- update to 1.7.3
|
|
|
|
- update to cabal2spec-0.22.2 and obsolete doc subpackage
|
|
|
|
- use hscolour
|
|
|
|
|
2010-06-26 13:44:34 +00:00
|
|
|
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 1.7.2-1
|
|
|
|
- update to 1.7.2
|
|
|
|
- sync with cabal2spec-0.22
|
|
|
|
|
2010-02-20 01:56:14 +00:00
|
|
|
* Mon Feb 15 2010 Conrad Meyer <konrad@tylerc.org> - 1.6.20-1
|
|
|
|
- Bump to 1.6.20
|
|
|
|
- Remove LicenseClarification
|
|
|
|
|
|
|
|
* Sun Jan 10 2010 Conrad Meyer <konrad@tylerc.org> - 1.6.14-1
|
|
|
|
- Bump to 1.6.14
|
|
|
|
|
|
|
|
* Sat Nov 14 2009 Conrad Meyer <konrad@tylerc.org> - 1.6.12-1
|
|
|
|
- Bump to 1.6.12
|
|
|
|
- Fix dep to ghc-cpphs-devel
|
|
|
|
|
|
|
|
* Sun Nov 8 2009 Conrad Meyer <konrad@tylerc.org> - 1.6.11-2
|
|
|
|
- Add license clarification from author (changed license back to GPLv2).
|
|
|
|
|
|
|
|
* Thu Oct 29 2009 Conrad Meyer <konrad@tylerc.org> - 1.6.11-1
|
|
|
|
- Bump version.
|
|
|
|
|
|
|
|
* Fri Sep 11 2009 Conrad Meyer <konrad@tylerc.org> - 1.6.8-1
|
|
|
|
- Bump version.
|
|
|
|
|
|
|
|
* Fri Jul 17 2009 Conrad Meyer <konrad@tylerc.org> - 1.4-1
|
|
|
|
- Fixed BR on ghc-hscolour (to ghc-hscolour-devel).
|
|
|
|
- Version bumped.
|
|
|
|
- Add missing BR on ghc-rpm-macros.
|
|
|
|
|
|
|
|
* Mon Jan 12 2009 Conrad Meyer <konrad@tylerc.org> - 1.2-1
|
|
|
|
- initial packaging for Fedora created by cabal2spec
|